aboutsummaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
authorAkshay <[email protected]>2023-04-19 11:44:24 +0100
committerAkshay <[email protected]>2023-04-19 11:44:24 +0100
commit8b1b7f44a516299446692494746d4a6cfacb0a01 (patch)
tree5418234ab875e8aaf54c3477e48e3c5fee800d18 /hosts
parent8151e88775c3f2b7e1de1b90b825ed68658629b0 (diff)
.
Diffstat (limited to 'hosts')
-rw-r--r--hosts/myrtle/configuration.nix11
-rw-r--r--hosts/myrtle/hardware-configuration.nix9
2 files changed, 16 insertions, 4 deletions
diff --git a/hosts/myrtle/configuration.nix b/hosts/myrtle/configuration.nix
index 90d94f8..4212556 100644
--- a/hosts/myrtle/configuration.nix
+++ b/hosts/myrtle/configuration.nix
@@ -115,6 +115,9 @@
115 }; 115 };
116 }; 116 };
117 sensor.iio.enable = true; # enable screen autorotate 117 sensor.iio.enable = true; # enable screen autorotate
118 asus.battery = {
119 chargeUpto = 80;
120 };
118 }; 121 };
119 122
120 powerManagement = { 123 powerManagement = {
@@ -144,7 +147,6 @@
144 147
145 openssh = { 148 openssh = {
146 enable = true; 149 enable = true;
147 forwardX11 = true;
148 allowSFTP = true; 150 allowSFTP = true;
149 }; 151 };
150 152
@@ -167,10 +169,14 @@
167 }; 169 };
168 170
169 touchegg.enable = true; 171 touchegg.enable = true;
172
170 signald = { 173 signald = {
171 enable = true; 174 enable = true;
172 group = "signald"; 175 group = "signald";
173 }; 176 };
177
178 auto-cpufreq.enable = true;
179
174 }; 180 };
175 181
176 systemd.sleep.extraConfig = '' 182 systemd.sleep.extraConfig = ''
@@ -178,6 +184,9 @@
178 ''; 184 '';
179 185
180 virtualisation.docker.enable = true; 186 virtualisation.docker.enable = true;
187 virtualisation.virtualbox.host.enable = true;
188 users.extraGroups.vboxusers.members = [ "np" ];
189
181 190
182 users.users.np = { 191 users.users.np = {
183 isNormalUser = true; 192 isNormalUser = true;
diff --git a/hosts/myrtle/hardware-configuration.nix b/hosts/myrtle/hardware-configuration.nix
index 86638d2..099052a 100644
--- a/hosts/myrtle/hardware-configuration.nix
+++ b/hosts/myrtle/hardware-configuration.nix
@@ -5,7 +5,8 @@
5 5
6{ 6{
7 imports = 7 imports =
8 [ (modulesPath + "/installer/scan/not-detected.nix") 8 [
9 (modulesPath + "/installer/scan/not-detected.nix")
9 ]; 10 ];
10 11
11 boot.initrd.availableKernelModules = [ "xhci_pci" "thunderbolt" "vmd" "nvme" "usb_storage" "usbhid" "sd_mod" "sdhci_pci" ]; 12 boot.initrd.availableKernelModules = [ "xhci_pci" "thunderbolt" "vmd" "nvme" "usb_storage" "usbhid" "sd_mod" "sdhci_pci" ];
@@ -14,12 +15,14 @@
14 boot.extraModulePackages = [ ]; 15 boot.extraModulePackages = [ ];
15 16
16 fileSystems."/" = 17 fileSystems."/" =
17 { device = "/dev/disk/by-uuid/59c9ddc2-b914-414b-9e7e-74b405cbf3f6"; 18 {
19 device = "/dev/disk/by-uuid/59c9ddc2-b914-414b-9e7e-74b405cbf3f6";
18 fsType = "ext4"; 20 fsType = "ext4";
19 }; 21 };
20 22
21 fileSystems."/boot" = 23 fileSystems."/boot" =
22 { device = "/dev/disk/by-uuid/7004-C5AE"; 24 {
25 device = "/dev/disk/by-uuid/7004-C5AE";
23 fsType = "vfat"; 26 fsType = "vfat";
24 }; 27 };
25 28