From 519eef71548fdda93bf5196f6810c8bf08d61c00 Mon Sep 17 00:00:00 2001 From: mir Date: Mon, 18 Mar 2024 23:55:12 -0800 Subject: [PATCH] add kremzeek, an installer iso config... why? --- flake.nix | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/flake.nix b/flake.nix index 1e9c9c7..8854cf5 100644 --- a/flake.nix +++ b/flake.nix @@ -31,6 +31,29 @@ home-manager, ... }: { nixosConfigurations = { + kremzeek = + let + system = "x86_64-linux"; + specialArgs = { inherit inputs; }; + modules = [ + "${nixpkgs}/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix" { + networking.wireless.enable = false; + } + ./configuration.nix { + networking.hostName = "kremzeek"; + boot.loader.efi.canTouchEfiVariables = true; + sound.enable = true; + } + home-manager.nixosModules.home-manager + { + home-manager.useGlobalPkgs = true; + home-manager.useUserPackages = true; + home-manager.users.mir = import ./home.nix; + home-manager.extraSpecialArgs = specialArgs; + } + ]; # end of modules + in + nixpkgs.lib.nixosSystem {inherit system modules specialArgs; }; galvatron = let system = "aarch64-linux";