diff options
Diffstat (limited to 'flake')
-rw-r--r-- | flake/default.nix | 13 | ||||
-rw-r--r-- | flake/nixosConfigurations/default.nix | 3 |
2 files changed, 15 insertions, 1 deletions
diff --git a/flake/default.nix b/flake/default.nix index 443999e..a0e3d57 100644 --- a/flake/default.nix +++ b/flake/default.nix @@ -50,5 +50,18 @@ }; flake = { nixosConfigurations = import ./nixosConfigurations inputs; + homeConfigurations."silas" = inputs.home-manager.lib.homeManagerConfiguration { + pkgs = import inputs.nixpkgs { + system = "x86_64-linux"; + overlays = [inputs.nixvim.overlays.default]; + }; + # Specify your home configuration modules here, for example, + # the path to your home.nix. + modules = [ ../hm/silas ]; + + # Optionally use extraSpecialArgs + # to pass through arguments to home.nix + extraSpecialArgs = inputs; + }; }; } diff --git a/flake/nixosConfigurations/default.nix b/flake/nixosConfigurations/default.nix index ca3c035..5e0e659 100644 --- a/flake/nixosConfigurations/default.nix +++ b/flake/nixosConfigurations/default.nix @@ -20,7 +20,7 @@ backupFileExtension = "backup"; useGlobalPkgs = true; useUserPackages = true; - users.sils = import ../../hm; + users.sils = import ../../hm/sils; extraSpecialArgs = attrs; }; } @@ -50,6 +50,7 @@ in { # ++ defaultModules; #}; thinklappi = mkNixosHost "x86_64-linux" ../../hosts/thinklappi.nix; + schrotti = mkNixosHost "x86_64-linux" ../../hosts/schrotti.nix; thinklappi-bootstrap = nixpkgs.lib.nixosSystem { system = "x86_64-linux"; specialArgs = attrs; |