From 522a453a5052838075d066999f2ad29d522a2247 Mon Sep 17 00:00:00 2001 From: Silas Schöffel Date: Sat, 5 Oct 2024 19:49:08 +0200 Subject: various changes, needs rebase --- flake/default.nix | 13 +++++++++++++ flake/nixosConfigurations/default.nix | 3 ++- 2 files changed, 15 insertions(+), 1 deletion(-) (limited to 'flake') 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; -- cgit 1.4.1