diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2017-10-30 13:29:29 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2017-10-30 13:29:29 +0100 |
commit | 3ccdf4c0323a5263b173d0041cc10fa5241a7a6b (patch) | |
tree | 24b6bf6dd9f6305630de861a50c31b17ea956485 | |
parent | 1f00fccff1dad5ccf5b4d9e89368581b99a0ca62 (diff) | |
download | nixos-3ccdf4c0323a5263b173d0041cc10fa5241a7a6b.tar nixos-3ccdf4c0323a5263b173d0041cc10fa5241a7a6b.tar.gz nixos-3ccdf4c0323a5263b173d0041cc10fa5241a7a6b.tar.bz2 nixos-3ccdf4c0323a5263b173d0041cc10fa5241a7a6b.tar.xz nixos-3ccdf4c0323a5263b173d0041cc10fa5241a7a6b.zip |
…
-rw-r--r-- | hel.nix | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -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 |