diff options
author | tzlil <tzlils@protonmail.com> | 2023-05-16 20:44:21 +0300 |
---|---|---|
committer | tzlil <tzlils@protonmail.com> | 2023-05-16 20:44:21 +0300 |
commit | 57cbc3ac65272242bfee162b916d9675935e9c2e (patch) | |
tree | 0f6a3d99bfc1dbcda9eabcb71fb897fea73f09a0 /hosts | |
parent | 583dd2ebccd5a5144a6289ccc1adef3a0789637e (diff) |
networkmanager is annoying me and nothing else works, need to fix dns
Diffstat (limited to 'hosts')
-rw-r--r-- | hosts/laptop/cfg.nix | 35 |
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; }; }; } |