aboutsummaryrefslogtreecommitdiff
path: root/hosts/myrtle
diff options
context:
space:
mode:
authorAkshay <[email protected]>2023-01-26 12:33:27 +0000
committerAkshay <[email protected]>2023-01-26 12:33:27 +0000
commitcec4fcabdab7a1bd137130111e8ee6567686815c (patch)
tree76fadfa47e41f0ce4e211367cfe07f2367e22ec4 /hosts/myrtle
parente6ee8f7a83586d11f55a03f1b7cec9d14311ddf8 (diff)
tweaks
Diffstat (limited to 'hosts/myrtle')
-rw-r--r--hosts/myrtle/configuration.nix18
1 files changed, 4 insertions, 14 deletions
diff --git a/hosts/myrtle/configuration.nix b/hosts/myrtle/configuration.nix
index 468f64a..c86efd4 100644
--- a/hosts/myrtle/configuration.nix
+++ b/hosts/myrtle/configuration.nix
@@ -11,20 +11,16 @@
11 boot.loader.efi.canTouchEfiVariables = true; 11 boot.loader.efi.canTouchEfiVariables = true;
12 boot.kernelPackages = pkgs.linuxPackages_latest; 12 boot.kernelPackages = pkgs.linuxPackages_latest;
13 boot.blacklistedKernelModules = [ "nouveau" ]; 13 boot.blacklistedKernelModules = [ "nouveau" ];
14 boot.kernelParams = [ "module_blacklist=i915" ]; 14 boot.kernelParams = [
15 "module_blacklist=i915"
16 # "intel_pstate=disable"
17 ];
15 18
16 networking = { 19 networking = {
17 hostName = "myrtle"; 20 hostName = "myrtle";
18 wireless = { 21 wireless = {
19 iwd.enable = true; 22 iwd.enable = true;
20 interfaces = [ "wlan0" ]; 23 interfaces = [ "wlan0" ];
21 environmentFile = "/home/np/.wireless.env";
22 networks = {
23 Sanic.psk = "@PSK_SANI@";
24 Gopalan.psk = "@PSK_GOPA@";
25 Srividhya.psk = "@PSK_SRIV@";
26 sage.psk = "@PSK_SAGE@";
27 };
28 }; 24 };
29 }; 25 };
30 26
@@ -125,7 +121,6 @@
125 ''; 121 '';
126 122
127 auto-cpufreq.enable = true; 123 auto-cpufreq.enable = true;
128 thermald.enable = true;
129 batteryNotifier = { 124 batteryNotifier = {
130 enable = true; 125 enable = true;
131 notifyCapacity = 20; 126 notifyCapacity = 20;
@@ -134,11 +129,6 @@
134 touchegg.enable = true; 129 touchegg.enable = true;
135 }; 130 };
136 131
137 powerManagement = {
138 enable = true;
139 powertop.enable = true;
140 };
141
142 systemd.sleep.extraConfig = '' 132 systemd.sleep.extraConfig = ''
143 HibernateMode=shutdown 133 HibernateMode=shutdown
144 ''; 134 '';