feat: add flake to create iso and create VMs
This commit is contained in:
23
nixos/proxmox/iso.nix
Normal file
23
nixos/proxmox/iso.nix
Normal file
@@ -0,0 +1,23 @@
|
||||
{ config, lib, pkgs, meta, ...}:
|
||||
{
|
||||
imports = [./users.nix];
|
||||
|
||||
nix = {
|
||||
settings.experimental-features = ["nix-command" "flakes"];
|
||||
};
|
||||
|
||||
isoImage = {
|
||||
isoName = "${config.system.nixos.distroId}-yadunut.iso";
|
||||
};
|
||||
services.openssh.enable = true;
|
||||
|
||||
services.qemuGuest.enable = true;
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
git
|
||||
neovim
|
||||
wget
|
||||
];
|
||||
|
||||
system.stateVersion = "24.05";
|
||||
}
|
||||
Reference in New Issue
Block a user