mirror of
https://gitlab.com/Zaney/zaneyos.git
synced 2024-12-12 16:30:42 +01:00
40 lines
668 B
Nix
40 lines
668 B
Nix
{ config, pkgs, lib, username, ... }:
|
|
|
|
let
|
|
inherit ( import ../../options.nix ) username;
|
|
in
|
|
{
|
|
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"
|
|
"zaneyos"
|
|
".local/share/sddm"
|
|
".mozilla"
|
|
".cache"
|
|
".ssh"
|
|
".config/discord"
|
|
".config/obs-studio"
|
|
".steam"
|
|
];
|
|
files = [
|
|
];
|
|
};
|
|
};
|
|
}
|