nixos: hardware: netowrking persist connections

This commit is contained in:
Bruno BELANYI 2021-10-22 14:06:03 +02:00
parent dd92c987b3
commit 8b6621905c

View file

@ -22,6 +22,11 @@ in
config = lib.mkMerge [
(lib.mkIf cfg.wireless.enable {
networking.networkmanager.enable = true;
# Persist NetworkManager files
my.system.persist.directories = [
"/etc/NetworkManager/system-connections"
];
})
];
}