From 8b1b7f44a516299446692494746d4a6cfacb0a01 Mon Sep 17 00:00:00 2001 From: Akshay Date: Wed, 19 Apr 2023 16:14:24 +0530 Subject: . --- hosts/myrtle/configuration.nix | 11 ++++++++++- hosts/myrtle/hardware-configuration.nix | 9 ++++++--- 2 files changed, 16 insertions(+), 4 deletions(-) (limited to 'hosts') 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 @@ }; }; sensor.iio.enable = true; # enable screen autorotate + asus.battery = { + chargeUpto = 80; + }; }; powerManagement = { @@ -144,7 +147,6 @@ openssh = { enable = true; - forwardX11 = true; allowSFTP = true; }; @@ -167,10 +169,14 @@ }; touchegg.enable = true; + signald = { enable = true; group = "signald"; }; + + auto-cpufreq.enable = true; + }; systemd.sleep.extraConfig = '' @@ -178,6 +184,9 @@ ''; virtualisation.docker.enable = true; + virtualisation.virtualbox.host.enable = true; + users.extraGroups.vboxusers.members = [ "np" ]; + users.users.np = { 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 @@ { imports = - [ (modulesPath + "/installer/scan/not-detected.nix") + [ + (modulesPath + "/installer/scan/not-detected.nix") ]; boot.initrd.availableKernelModules = [ "xhci_pci" "thunderbolt" "vmd" "nvme" "usb_storage" "usbhid" "sd_mod" "sdhci_pci" ]; @@ -14,12 +15,14 @@ boot.extraModulePackages = [ ]; fileSystems."/" = - { device = "/dev/disk/by-uuid/59c9ddc2-b914-414b-9e7e-74b405cbf3f6"; + { + device = "/dev/disk/by-uuid/59c9ddc2-b914-414b-9e7e-74b405cbf3f6"; fsType = "ext4"; }; fileSystems."/boot" = - { device = "/dev/disk/by-uuid/7004-C5AE"; + { + device = "/dev/disk/by-uuid/7004-C5AE"; fsType = "vfat"; }; -- cgit v1.2.3