slab: enable GPS

This commit is contained in:
NullBite 2024-10-29 13:24:43 +01:00
parent cc479ee57e
commit d8a70620e4
Signed by: nullbite
GPG Key ID: 6C4D545385D4925A

View File

@ -59,6 +59,7 @@
profile.workstation.enable = true; profile.workstation.enable = true;
common.remoteAccess.enable = true; common.remoteAccess.enable = true;
hardware.opengl.enable = true; hardware.opengl.enable = true;
hardware.gps.enable = true;
packageSets = { packageSets = {
gaming.enable = true; gaming.enable = true;
fun.enable = true; fun.enable = true;
@ -124,6 +125,9 @@
settings.reboot-for-bitlocker = true; settings.reboot-for-bitlocker = true;
}; };
# GPS data from my phone
services.gpsd.devices = lib.mkIf config.nixfiles.hardware.gps.enable [ "tcp://pixel.magpie-moth.ts.net:6000" ];
# systemd power/suspend configuration # systemd power/suspend configuration
systemd.targets = lib.genAttrs ["suspend" "hybrid-sleep" "suspend-then-hibernate"] (_: { systemd.targets = lib.genAttrs ["suspend" "hybrid-sleep" "suspend-then-hibernate"] (_: {
enable = false; enable = false;