diff options
| author | Stefan Weigl-Bosker <stefan@s00.xyz> | 2025-06-24 13:10:57 -0400 |
|---|---|---|
| committer | Stefan Weigl-Bosker <stefan@s00.xyz> | 2025-06-24 13:10:57 -0400 |
| commit | f6cb5fe08b97af63fbdd2d32ff8896c142536850 (patch) | |
| tree | 683bdd10af9cac7927546b15db3745085a281f6e /flake.nix | |
| parent | 2a9a6f104b95789ed218942bcf30f8b22ffda0f9 (diff) | |
| download | home-f6cb5fe08b97af63fbdd2d32ff8896c142536850.tar.gz | |
fw: init
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 24 |
1 files changed, 24 insertions, 0 deletions
@@ -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; |