about summary refs log tree commit diff
path: root/modules
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>2024-05-01 03:36:55 +0300
committerAzat Bahawi <azat@bahawi.net>2024-05-01 03:36:55 +0300
commit9a20404924fda2587ce4f9769f75369799f34643 (patch)
treea953941a22d6c031e67b267e35a11db72bdd25e3 /modules
parent2024-04-29 (diff)
2024-05-01
Diffstat (limited to 'modules')
-rw-r--r--modules/default.nix8
-rw-r--r--modules/profiles/headful.nix3
-rw-r--r--modules/x11.nix2
3 files changed, 9 insertions, 4 deletions
diff --git a/modules/default.nix b/modules/default.nix
index ef9fb18..9ed1029 100644
--- a/modules/default.nix
+++ b/modules/default.nix
@@ -1 +1,7 @@
-{ lib, ... }: with lib; { imports = attrValues (modulesIn ./.); }
+lib: with lib; {
+  nixfiles =
+    { ... }:
+    {
+      imports = attrValues (modulesIn ./.);
+    };
+}
diff --git a/modules/profiles/headful.nix b/modules/profiles/headful.nix
index 20363bc..6e58dae 100644
--- a/modules/profiles/headful.nix
+++ b/modules/profiles/headful.nix
@@ -100,8 +100,9 @@ in
     };
 
     services = {
-      upower.enable = true;
+      libinput.enable = true;
       psd.enable = true;
+      upower.enable = true;
     };
 
     environment.systemPackages = with pkgs; [
diff --git a/modules/x11.nix b/modules/x11.nix
index 55ba0b5..4edab6b 100644
--- a/modules/x11.nix
+++ b/modules/x11.nix
@@ -64,8 +64,6 @@ in
       autoRepeatDelay = 200;
       autoRepeatInterval = 50;
 
-      libinput.enable = true;
-
       monitorSection = ''
         Option "DPMS" "false"
       '';

Consider giving Nix/NixOS a try! <3