summary refs log tree commit diff
path: root/hosts/navi
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/navi')
-rw-r--r--hosts/navi/default.nix40
1 files changed, 29 insertions, 11 deletions
diff --git a/hosts/navi/default.nix b/hosts/navi/default.nix
index a5ad367..3ad9dbd 100644
--- a/hosts/navi/default.nix
+++ b/hosts/navi/default.nix
@@ -16,6 +16,7 @@
     ../../mixins/multimedia.nix
     ../../mixins/syncthing.nix
     ../../mixins/firefox
+    # ../../mixins/firefox/absolute-minimum.nix
   ];
 
   config = {
@@ -50,27 +51,43 @@
     systemd.network.networks."10-wlp1s0" = {
       matchConfig.Name = "wlp1s0";
       networkConfig.DHCP = "yes";
-      dns = ["127.0.0.1" "::1"];
       dhcpV4Config = {
         UseDNS = false;
       };
       dhcpV6Config = {
         UseDNS = false;
       };
+      # apparently this is what i need to disable dhcpv6 dns servers, but this breaks my network
+      #ipv6AcceptRAConfig = {
+      #  UseDNS = false;
+      #  DHCPv6Client = false;
+      #};
     };
 
     # # 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;
+    #networking.wireless.iwd = {
+    #  enable = true;
+    #  settings = {
+    #    Settings.AutoConnect = true;
+    #  };
+    #};
+    services.connman = {
+      enable = true;
+      #wifi.backend = "iwd";
+    };
+
+    # fucks up wpa_supplicant
+    security.lockKernelModules = lib.mkForce false;
+    networking.wireless = {
+      dbusControlled = true;
+      userControlled.enable = true;
+      enable = true;
+    };
+    #networking.wireless.dbusControlled = true;
+    # home-manager.users.tzlil.home.packages = [];
+    #networking.wireless.userControlled.enable = true;
+    #networking.wireless.enable = true;
 
     # services.tor = {
     #   enable = true;
@@ -93,6 +110,7 @@
         pkgs.schildichat-desktop-wayland
         pkgs.keepassxc
         pkgs.gtkcord4
+        pkgs.cmst
 
         (pkgs.stdenv.mkDerivation rec {
           name = "pragmata";