Switch to iwd
This commit is contained in:
parent
71768b10a5
commit
3153480d23
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./networkmanager.nix
|
./wifi.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
|
|
|
@ -1,9 +0,0 @@
|
||||||
{ ... }:
|
|
||||||
{
|
|
||||||
networking.networkmanager = {
|
|
||||||
enable = true;
|
|
||||||
ethernet.macAddress = "random";
|
|
||||||
wifi.macAddress = "random";
|
|
||||||
};
|
|
||||||
users.users.artemis.extraGroups = [ "networkmanager" ];
|
|
||||||
}
|
|
8
sets/wifi.nix
Normal file
8
sets/wifi.nix
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
{ ... }:
|
||||||
|
{
|
||||||
|
networking.wireless.iwd.enable = true;
|
||||||
|
environment.etc."iwd/main.conf".text = ''
|
||||||
|
[General]
|
||||||
|
AddressRandomization=network
|
||||||
|
'';
|
||||||
|
}
|
|
@ -7,7 +7,7 @@
|
||||||
../../externals/wip-pinebook-pro/pinebook_pro.nix
|
../../externals/wip-pinebook-pro/pinebook_pro.nix
|
||||||
../../sets/neovim
|
../../sets/neovim
|
||||||
../../sets/sway.nix
|
../../sets/sway.nix
|
||||||
../../sets/networkmanager.nix
|
../../sets/wifi.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
networking.hostName = "mistmane";
|
networking.hostName = "mistmane";
|
||||||
|
|
Loading…
Reference in a new issue