mirror of
https://gitlab.com/Zaney/zaneyos.git
synced 2024-12-11 07:50:40 +01:00
33 lines
535 B
Nix
33 lines
535 B
Nix
{ config, pkgs, lib, username, ... }:
|
|
|
|
{
|
|
environment.persistence."/nix/persist" = {
|
|
hideMounts = true;
|
|
directories = [
|
|
"/var/log"
|
|
"/var/lib/bluetooth"
|
|
"/var/lib/nixos"
|
|
"/var/lib/systemd/coredump"
|
|
"/etc/NetworkManager/system-connections"
|
|
];
|
|
files = [
|
|
# "/etc/machine-id"
|
|
];
|
|
users.${username} = {
|
|
directories = [
|
|
"Downloads"
|
|
"Music"
|
|
"Documents"
|
|
"Pictures"
|
|
"Videos"
|
|
".local/share/sddm"
|
|
".mozilla"
|
|
".cache"
|
|
".ssh"
|
|
];
|
|
files = [
|
|
];
|
|
};
|
|
};
|
|
}
|