From f6cb5fe08b97af63fbdd2d32ff8896c142536850 Mon Sep 17 00:00:00 2001 From: Stefan Weigl-Bosker Date: Tue, 24 Jun 2025 13:10:57 -0400 Subject: fw: init --- flake.nix | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index aefe6e2..f69f68b 100644 --- a/flake.nix +++ b/flake.nix @@ -16,6 +16,10 @@ url = "github:nix-community/neovim-nightly-overlay"; inputs.nixpkgs.follows = "nixpkgs"; }; + nixos-hardware = { + url = "github:NixOS/nixos-hardware/master"; + inputs.nixpkgs.follows = "nixpkgs"; + }; }; outputs = @@ -25,6 +29,7 @@ home-manager, nixgl, neovim-nightly, + nixos-hardware, ... }: let @@ -60,6 +65,25 @@ } ]; }; + fw = nixpkgs.lib.nixosSystem { + inherit system; + specialArgs = { inherit inputs; }; + modules = [ + nixos-hardware.nixosModules.framework-13-7040-amd + ./fw/configuration.nix + home-manager.nixosModules.home-manager + { + home-manager = { + users.stefan = import ./fw/home.nix; + useGlobalPkgs = true; + useUserPackages = true; + extraSpecialArgs = { + inherit system inputs pkgs; + }; + }; + } + ]; + }; }; homeConfigurations = { inherit inputs system pkgs; -- cgit v1.2.3