summary refs log tree commit diff
path: root/host/Rory-portable/configuration.nix
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2024-07-03 01:31:00 +0200
committerRory& <root@rory.gay>2024-07-04 14:45:02 +0200
commit5492701b329e844d1b9097c97bc8afdd9cd72c97 (patch)
treeec6ea9949cd00535b6e15864ced2b1a807c632ab /host/Rory-portable/configuration.nix
parentAdd temporary matrix server (diff)
downloadRory-Open-Architecture-5492701b329e844d1b9097c97bc8afdd9cd72c97.tar.xz
Add dotfiles, portable changes
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; })
   ];