add testpc

This commit is contained in:
Kopatz
2026-02-08 13:58:30 +01:00
parent f530f81712
commit 03562e8d88
14 changed files with 236 additions and 19 deletions

View File

@@ -11,17 +11,13 @@
./vm-common.nix
(modulesPath + "/installer/scan/not-detected.nix")
(modulesPath + "/profiles/qemu-guest.nix")
(modulesPath + "/virtualisation/qemu-vm.nix")
#(modulesPath + "/profiles/minimal.nix")
];
age.identityPaths = [ /home/kopatz/.ssh/id_rsa ];
mainUser.layout = "de";
mainUser.variant = "us";
custom = {
user = {
name = "vm";
layout = "de";
variant = "us";
};
nix = {
settings.enable = true;
settings.optimise = false;
@@ -31,7 +27,7 @@
#hyprland.enable = true;
#lightdm.enable = true;
#sddm.enable = true;
plasma.enable = true;
#plasma.enable = true;
#cosmic.enable = true;
};
};
@@ -44,6 +40,15 @@
# displayManager.defaultSession = "xfce";
#};
services.xserver.enable = true;
services.xserver.displayManager.gdm.enable = true;
programs.sway.enable = true;
virtualisation.qemu.options = [
"-device virtio-vga"
];
programs.firefox.enable = true;
virtualisation.vmVariant = {