summary refs log tree commit diff
path: root/hosts
diff options
context:
space:
mode:
Diffstat (limited to 'hosts')
-rw-r--r--hosts/laptop/cfg.nix35
1 files changed, 26 insertions, 9 deletions
diff --git a/hosts/laptop/cfg.nix b/hosts/laptop/cfg.nix
index b868a6e..8cf17d6 100644
--- a/hosts/laptop/cfg.nix
+++ b/hosts/laptop/cfg.nix
@@ -87,7 +87,22 @@
     };
 
     networking.interfaces.wlp1s0.useDHCP = lib.mkDefault true;
-    networking.networkmanager.enable = true;
+
+
+    # # iwd networking stuffs
+    # networking.networkmanager.enable = lib.mkForce false;
+    # networking.wireless.iwd.enable = true;
+    # services.connman = {
+    #   enable = true;
+    #   wifi.backend = "iwd";
+    # };
+    # networking.wireless.dbusControlled = true;
+    # home-manager.users.tzlil.home.packages = [pkgs.cmst];
+    # networking.wireless.userControlled.enable = true;
+    # networking.wireless.enable = true;
+    # services.connman.enable = true;
+
+
     environment.persistence."/nix/persist".directories = [
       "/etc/NetworkManager/system-connections"
       {
@@ -97,6 +112,8 @@
       }
     ];
 
+    home-manager.users.tzlil.home.packages = [pkgs.schildichat-desktop pkgs.qutebrowser];
+
     nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
     powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
     hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
@@ -115,15 +132,15 @@
     services = {
       power-profiles-daemon.enable = true;
       thermald.enable = true;
-    };
-
-    services.tlp = {
-      settings = {
-        CPU_BOOST_ON_AC = 1;
-        CPU_BOOST_ON_BAT = 0;
-        CPU_SCALING_GOVERNOR_ON_AC = "performance";
-        CPU_SCALING_GOVERNOR_ON_BAT = "powersave";
+      tlp = {
+        settings = {
+          CPU_BOOST_ON_AC = 1;
+          CPU_BOOST_ON_BAT = 0;
+          CPU_SCALING_GOVERNOR_ON_AC = "performance";
+          CPU_SCALING_GOVERNOR_ON_BAT = "powersave";
+        };
       };
+      acpid.enable = true;
     };
   };
 }