1
Fork 0
nixos-system-config/home/persist.nix
caem af0078d7af
Refactor configuration to be more modular.
TODO: Update the documentation in the README to reflect changes
2024-08-26 15:01:33 +02:00

27 lines
617 B
Nix

{ ... }:
{
environment.persistence."/nix/persist".users.hu = {
directories = [
# Inspired by
# https://github.com/roboyoshi/datacurator-filetree/
"archives"
"audio"
"documents"
"images"
"games"
"literature"
"software"
"video"
# Program files
{ directory = ".gnupg"; mode = "0700"; }
{ directory = ".ssh"; mode = "0700"; }
{ directory = ".nixops"; mode = "0700"; }
{ directory = ".local/share/keyrings"; mode = "0700"; }
{ directory = ".pki"; mode = "0700"; }
".local/share/direnv"
];
};
}