summary refs log tree commit diff
path: root/host/Rory-portable/configuration.nix
diff options
context:
space:
mode:
Diffstat (limited to 'host/Rory-portable/configuration.nix')
-rw-r--r--host/Rory-portable/configuration.nix11
1 files changed, 11 insertions, 0 deletions
diff --git a/host/Rory-portable/configuration.nix b/host/Rory-portable/configuration.nix
index 6f49445..71ace4c 100644
--- a/host/Rory-portable/configuration.nix
+++ b/host/Rory-portable/configuration.nix
@@ -45,6 +45,8 @@
     SUBSYSTEMS=="usb", ATTRS{idVendor}=="18d1", ATTRS{idProduct}=="9400", MODE="0660", TAG+="uaccess"
   '';
 
+  #systemd.services.NetworkManager-wait-online.enable = false;
+
   networking = {
     hostName = "Rory-portable";
     networkmanager.enable = true;
@@ -63,11 +65,19 @@
     #defaultGateway = "192.168.0.1";
     # useDHCP = true;
   };
+  systemd.sleep.extraConfig = ''
+    AllowSuspend=yes
+    AllowHibernation=yes
+    AllowHybridSleep=yes
+    AllowSuspendThenHibernate=yes
+  '';
 
+  services.power-profiles-daemon.enable = true;
   time.timeZone = "Europe/Brussels";
   i18n.defaultLocale = "en_US.UTF-8";
 
   services = {
+    libinput.touchpad.naturalScrolling = true;
     xserver = {
       enable = true;
       updateDbusEnvironment = true;
@@ -176,6 +186,7 @@
 
     #vesktop
     virt-viewer
+    wireguard-tools
 
     # (dwarf-fortress-packages.dwarf-fortress-full.override { enableStoneSense = true; enableFPS = true; theme = dwarf-fortress-packages.themes.spacefox; })
   ];