sodomgomorrah: fix hardware configuration

This commit is contained in:
Artur Manuel 2025-04-23 16:46:50 +01:00
commit 20e1d79ba1
Signed by: amadaluzia
SSH key fingerprint: SHA256:uS8IX6IxM7STPOBS/e1vMC6FBToJmSCViQNO/f4SHpU
2 changed files with 10 additions and 2 deletions

View file

@ -19,7 +19,11 @@ in
environment.systemPackages = [ cfg.package ]; environment.systemPackages = [ cfg.package ];
systemd = { systemd = {
packages = [ cfg.package ]; packages = [ cfg.package ];
user.services.foot-server.enable = true; user.services.foot-server = {
after = [ "graphical-session-pre.target" ];
requires = [ "graphical-session.target" ];
partOf = [ "graphical-session.target" ];
};
}; };
}; };
} }

View file

@ -17,7 +17,9 @@
"xhci_pci" "xhci_pci"
"ahci" "ahci"
"nvme" "nvme"
"usb_storage"
"usbhid" "usbhid"
"sd_mod"
]; ];
boot.initrd.kernelModules = [ "dm-snapshot" ]; boot.initrd.kernelModules = [ "dm-snapshot" ];
boot.kernelModules = [ "kvm-amd" ]; boot.kernelModules = [ "kvm-amd" ];
@ -37,7 +39,9 @@
]; ];
}; };
swapDevices = [ ]; swapDevices = [
{ device = "/dev/disk/by-uuid/d7ede2c4-5145-4d8e-b7fb-f41ef309f53e"; }
];
# 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