small refactor

feat/kile-v2
Ricard Illa 2022-01-19 16:35:36 +01:00
parent 9cb1c91bc8
commit e259f57286
No known key found for this signature in database
GPG Key ID: F69A672B72E54902
1 changed files with 28 additions and 28 deletions

View File

@ -58,7 +58,8 @@ in {
swapDevices = [{ device = "/swap/swapfile"; }]; swapDevices = [{ device = "/swap/swapfile"; }];
environment.persistence."/persist/system" = { environment.persistence = {
"/persist/system" = {
directories = [ directories = [
"/var/log" "/var/log"
"/var/lib/bluetooth" "/var/lib/bluetooth"
@ -75,19 +76,18 @@ in {
"/etc/wireguard/wg0" "/etc/wireguard/wg0"
]; ];
}; };
"/persist/user" = {
environment.persistence."/persist/user" = {
directories = [ directories = [
"/etc/NetworkManager/system-connections" "/etc/NetworkManager/system-connections"
"/etc/nixos" "/etc/nixos"
"/var/lib/libvirt" "/var/lib/libvirt"
]; ];
files = [ files = [ "/etc/wireguard/wg0" ];
"/etc/wireguard/wg0" };
];
}; };
environment.variables.NIXOS_CONFIG = "/home/rilla/configs/nix-config/capibara.nix"; environment.variables.NIXOS_CONFIG =
"/home/rilla/configs/nix-config/capibara.nix";
networking.networkmanager.wifi.macAddress = "CC:AF:78:75:29:32"; networking.networkmanager.wifi.macAddress = "CC:AF:78:75:29:32";