From 609093032ad18f8476e5e8148fb6c26c1fbbb7bc Mon Sep 17 00:00:00 2001 From: Whovian9369 Date: Sun, 2 Jun 2024 05:56:30 -0400 Subject: [PATCH] Oops, last commit added an ISO Generator. *This one* adds the `nixps` config. (The `nixps` config is disabled so it doesn't matter as much, but... It still exists.) --- flake.nix | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/flake.nix b/flake.nix index 36e81bf..ca205ce 100644 --- a/flake.nix +++ b/flake.nix @@ -133,6 +133,46 @@ } ]; }; + /* + nixps = nixpkgs.lib.nixosSystem { + system = "x86_64-linux"; + modules = [ + ./system/xps/configuration.nix + # ./system/xps/users.nix + home-manager.nixosModules.home-manager + { + system.configurationRevision = self.shortRev or self.dirtyShortRev or "dirty"; + + home-manager = { + useGlobalPkgs = true; + useUserPackages = true; + + users = { + whovian = { + imports = [ + ./home/home.nix + agenix.homeManagerModules.default + nix-index-database.hmModules.nix-index + ]; + }; + }; + + # Optionally, use home-manager.extraSpecialArgs to pass arguments to home.nix + extraSpecialArgs = { + system = "x86_64-linux"; + inherit xil; + inherit nixpkgs; + pkgs = import nixpkgs { + system = "x86_64-linux"; + config.allowUnfree = true; + }; + inherit agenix; + }; + }; + } + ]; + }; + */ isoimage = nixpkgs.lib.nixosSystem { system = "x86_64-linux"; modules = [