Added: Qemu Host

This commit is contained in:
DerGrumpf 2025-04-05 15:13:04 +02:00
parent d9d0c50d20
commit e8c5e14dc3
3 changed files with 15 additions and 10 deletions

View File

@ -72,3 +72,4 @@
system.stateVersion = "24.11"; # Did you read the comment? system.stateVersion = "24.11"; # Did you read the comment?
} }

View File

@ -14,13 +14,17 @@
boot.extraModulePackages = [ ]; boot.extraModulePackages = [ ];
fileSystems."/" = fileSystems."/" =
{ device = "/dev/disk/by-uuid/8ace4659-e212-489e-8577-c71eb54ebf57"; { device = "/dev/disk/by-label/NIXROOT";
fsType = "ext4"; fsType = "ext4";
}; };
swapDevices = fileSystems."/boot" =
[ { device = "/dev/disk/by-uuid/7bd0e706-f339-485b-95b8-a1bfbfb6a756"; } { device = "/dev/disk/by-label/NIXBOOT";
]; fsType = "vfat";
options = [ "fmask=0022" "dmask=0022" ];
};
swapDevices = [ ];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking # Enables DHCP on each ethernet and wireless interface. In case of scripted networking
# (the default) this is the recommended approach. When using systemd-networkd it's # (the default) this is the recommended approach. When using systemd-networkd it's

View File

@ -1,4 +1,4 @@
{ pkgs, username, ... }: { { pkgs, username, lib, ... }: {
/*services.greetd = { /*services.greetd = {
enable = true; enable = true;
settings = { settings = {
@ -36,15 +36,15 @@
GTK = { GTK = {
application_prefer_dark_theme = true; application_prefer_dark_theme = true;
cursor_theme_name = "Adwaita"; cursor_theme_name = "Adwaita";
font_name = "FiraCodeNerdFontPropo 12"; font_name = lib.mkForce "FiraCodeNerdFontPropo 12";
icon_theme_name = "materialdesignicons"; icon_theme_name = lib.mkForce "materialdesignicons";
theme_name = "Adwaita"; theme_name = "Adwaita";
}; };
commands = { commands = {
reboot = ["systemctl", "reboot"]; reboot = ["systemctl" "reboot"];
poweroff = ["systemctl", "poweroff"]; poweroff = ["systemctl" "poweroff"];
x11_prefix = [ "startx", "/usr/bin/env" ]; x11_prefix = [ "startx" "/usr/bin/env" ];
}; };
appearance = { appearance = {