move iso into a profile instead of host, don't use colmena for iso
This commit is contained in:
parent
d6304ab783
commit
a22b81457f
2 changed files with 31 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
|
@ -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 = {
|
Loading…
Add table
Reference in a new issue