diff options
Diffstat (limited to 'hosts')
-rw-r--r-- | hosts/myrtle/configuration.nix | 28 |
1 files changed, 13 insertions, 15 deletions
diff --git a/hosts/myrtle/configuration.nix b/hosts/myrtle/configuration.nix index f0bcb81..e3b51de 100644 --- a/hosts/myrtle/configuration.nix +++ b/hosts/myrtle/configuration.nix | |||
@@ -97,7 +97,6 @@ | |||
97 | pulseaudio = { | 97 | pulseaudio = { |
98 | enable = true; | 98 | enable = true; |
99 | package = pkgs.pulseaudioFull; | 99 | package = pkgs.pulseaudioFull; |
100 | # extraConfig = "load-module module-bluetooth-policy auto_switch=2"; | ||
101 | }; | 100 | }; |
102 | bluetooth = { | 101 | bluetooth = { |
103 | enable = true; | 102 | enable = true; |
@@ -110,11 +109,12 @@ | |||
110 | nvidiaBusId = "PCI:1:0:0"; | 109 | nvidiaBusId = "PCI:1:0:0"; |
111 | }; | 110 | }; |
112 | package = config.boot.kernelPackages.nvidiaPackages.latest; | 111 | package = config.boot.kernelPackages.nvidiaPackages.latest; |
113 | # powerManagement = { | 112 | powerManagement = { |
114 | # enable = true; | 113 | enable = true; |
115 | # finegrained = true; | 114 | finegrained = true; |
116 | # }; | 115 | }; |
117 | }; | 116 | }; |
117 | sensor.iio.enable = true; # enable screen autorotate | ||
118 | }; | 118 | }; |
119 | 119 | ||
120 | powerManagement = { | 120 | powerManagement = { |
@@ -122,6 +122,11 @@ | |||
122 | powertop.enable = true; | 122 | powertop.enable = true; |
123 | }; | 123 | }; |
124 | 124 | ||
125 | console = { | ||
126 | font = "${pkgs.terminus_font}/share/consolefonts/ter-u28n.psf.gz"; | ||
127 | keyMap = "us"; | ||
128 | }; | ||
129 | |||
125 | services = { | 130 | services = { |
126 | xserver = { | 131 | xserver = { |
127 | enable = true; | 132 | enable = true; |
@@ -135,15 +140,6 @@ | |||
135 | Option "AllowIndirectGLXProtocol" "off" | 140 | Option "AllowIndirectGLXProtocol" "off" |
136 | Option "TripleBuffer" "on" | 141 | Option "TripleBuffer" "on" |
137 | ''; | 142 | ''; |
138 | # serverLayoutSection = lib.mkAfter '' | ||
139 | # Screen 0 "Screen-nvidia[0]" | ||
140 | # ''; | ||
141 | # config = lib.mkAfter '' | ||
142 | # Section "Screen" | ||
143 | # Identifier "Screen-nvidia[0]" | ||
144 | # Device "Device-nvidia[0]" | ||
145 | # EndSection | ||
146 | # ''; | ||
147 | }; | 143 | }; |
148 | 144 | ||
149 | openssh = { | 145 | openssh = { |
@@ -156,7 +152,8 @@ | |||
156 | enable = true; | 152 | enable = true; |
157 | enableUserService = true; | 153 | enableUserService = true; |
158 | }; | 154 | }; |
159 | supergfxd.enable = true; | 155 | |
156 | supergfxd.enable = false; | ||
160 | 157 | ||
161 | logind.extraConfig = '' | 158 | logind.extraConfig = '' |
162 | HandlePowerKey=suspend | 159 | HandlePowerKey=suspend |
@@ -168,6 +165,7 @@ | |||
168 | notifyCapacity = 20; | 165 | notifyCapacity = 20; |
169 | suspendCapacity = 5; | 166 | suspendCapacity = 5; |
170 | }; | 167 | }; |
168 | |||
171 | touchegg.enable = true; | 169 | touchegg.enable = true; |
172 | }; | 170 | }; |
173 | 171 | ||