move iso into a profile instead of host, don't use colmena for iso

This commit is contained in:
CherryKitten 2024-04-20 10:31:22 +02:00
parent d6304ab783
commit a22b81457f
Signed by: sammy
GPG key ID: 98D8F75FB0658276
2 changed files with 31 additions and 1 deletions

View file

@ -93,7 +93,12 @@
colmenaHive = inputs.colmena.lib.makeHive colmena;
nixosConfigurations = { } // colmenaHive.nodes;
nixosConfigurations = {
iso = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [ home-manager.nixosModules.home-manager ./profiles/iso ];
};
} // colmenaHive.nodes;
packages.x86_64-linux.iso = self.nixosConfigurations.iso.config.system.build.isoImage;

View file

@ -4,9 +4,19 @@
"${modulesPath}/installer/cd-dvd/installation-cd-graphical-plasma5.nix"
];
networking.hostName = "nixos";
# Enables copy / paste when running in a KVM with spice.
services.spice-vdagentd.enable = true;
nix = {
settings = {
experimental-features = [ "nix-command" "flakes" ];
};
};
nixpkgs.config.allowUnfree = true;
hardware.enableAllFirmware = true;
users.users.nixos.shell = pkgs.fish;
programs.fish.enable = true;
@ -15,6 +25,21 @@
nixpkgs-fmt
neovim-unwrapped
xclip
bat
bind.dnsutils
fd
git
gnupg
htop
jq
mtr
nmap
openssl
rsync
tcpdump
tmux
wget
whois
];
home-manager.users.nixos = {