summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hel.nix12
1 files changed, 6 insertions, 6 deletions
diff --git a/hel.nix b/hel.nix
index 4904b510..80cb7618 100644
--- a/hel.nix
+++ b/hel.nix
@@ -39,12 +39,6 @@
39 39
40 systemd.services.ModemManager.enable = true; 40 systemd.services.ModemManager.enable = true;
41 41
42 services.gpsd = {
43 enable = true;
44 device = "/dev/serial/by-path/pci-0000:00:14.0-usb-0:2:1.2-port0";
45 readonly = false;
46 };
47
48 powerManagement.enable = true; 42 powerManagement.enable = true;
49 43
50 i18n = { 44 i18n = {
@@ -101,6 +95,12 @@
101 nixpkgs.config.allowUnfree = true; 95 nixpkgs.config.allowUnfree = true;
102 96
103 services = { 97 services = {
98 gpsd = {
99 enable = true;
100 device = "/dev/serial/by-path/pci-0000:00:14.0-usb-0:2:1.2-port0";
101 readonly = false;
102 };
103
104 logind.extraConfig = '' 104 logind.extraConfig = ''
105 HandleLidSwitch=sleep 105 HandleLidSwitch=sleep
106 HandleSuspendKey=sleep 106 HandleSuspendKey=sleep