small refactor
parent
9cb1c91bc8
commit
e259f57286
14
capibara.nix
14
capibara.nix
|
@ -58,7 +58,8 @@ in {
|
|||
|
||||
swapDevices = [{ device = "/swap/swapfile"; }];
|
||||
|
||||
environment.persistence."/persist/system" = {
|
||||
environment.persistence = {
|
||||
"/persist/system" = {
|
||||
directories = [
|
||||
"/var/log"
|
||||
"/var/lib/bluetooth"
|
||||
|
@ -75,19 +76,18 @@ in {
|
|||
"/etc/wireguard/wg0"
|
||||
];
|
||||
};
|
||||
|
||||
environment.persistence."/persist/user" = {
|
||||
"/persist/user" = {
|
||||
directories = [
|
||||
"/etc/NetworkManager/system-connections"
|
||||
"/etc/nixos"
|
||||
"/var/lib/libvirt"
|
||||
];
|
||||
files = [
|
||||
"/etc/wireguard/wg0"
|
||||
];
|
||||
files = [ "/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";
|
||||
|
||||
|
|
Loading…
Reference in New Issue