networking: networkmanager -> iwd

This commit is contained in:
Guanran Wang 2023-10-12 22:22:13 +08:00
parent 9927edfc3b
commit ba30402186
Signed by: nyancat
SSH key fingerprint: SHA256:8oWGKciPALWut/6WA27oFKofX+6Wtc0gQnsefXLQx/8
5 changed files with 13 additions and 5 deletions

View file

@ -1,5 +1,5 @@
{ ... }: { ... }:
{ {
networking.useDHCP = false; #networking.useDHCP = false;
} }

View file

@ -2,7 +2,7 @@
{ {
imports = [ imports = [
./networkmanager.nix #./networkmanager.nix
./iwd.nix ./iwd.nix
]; ];
} }

View file

@ -19,7 +19,7 @@
pamixer pamixer
brightnessctl brightnessctl
playerctl playerctl
networkmanagerapplet #networkmanagerapplet
pavucontrol pavucontrol
# wayland # wayland

View file

@ -28,6 +28,11 @@
path = "/etc/clash-meta/config.yaml"; path = "/etc/clash-meta/config.yaml";
}; };
"hashed-passwd".neededForUsers = true; "hashed-passwd".neededForUsers = true;
"wireless/home" = {};
}; };
}; };
systemd.tmpfiles.rules = [
"C /var/lib/iwd/wangxiaobo.psk - - - - ${config.sops.secrets."wireless/home".path}"
];
} }

File diff suppressed because one or more lines are too long