diff --git a/flake.nix b/flake.nix index a9ca18eb..9be79b6f 100644 --- a/flake.nix +++ b/flake.nix @@ -16,11 +16,11 @@ inherit (self) outputs; stateVersion = "unstable"; hmStateVersion = "23.05"; - libx = import ./lib { inherit inputs outputs stateVersion; }; + libx = import ./lib { inherit inputs outputs hmStateVersion stateVersion; }; in { nixosConfigurations = { - nixos-laptop = libx.nixosSystem { hostname = "nixos-laptop"; username = "albert"; desktop = "gnome"; }; - nixos-desktop = libx.nixosSystem { hostname = "nixos-desktop"; username = "albert"; desktop = "gnome"; }; + nixos-laptop = libx.mkHost { hostname = "nixos-laptop"; username = "albert"; desktop = "gnome"; }; + nixos-desktop = libx.mkHost { hostname = "nixos-desktop"; username = "albert"; desktop = "gnome"; }; }; homeConfigurations = { "albert@nixos-laptop" = libx.mkHome { hostname = "nixos-laptop"; username = "albert"; desktop = "gnome"; };