Move the NixOS config into the user's directory
This commit is contained in:
parent
9946d500f7
commit
57201099fb
6 changed files with 22 additions and 25 deletions
|
@ -5,6 +5,7 @@
|
|||
users.${config.sysusers.main} = {
|
||||
directories = [
|
||||
"Keepers"
|
||||
"Projects"
|
||||
"Documents"
|
||||
"Pictures"
|
||||
"Videos"
|
||||
|
@ -22,14 +23,14 @@
|
|||
".config/vesktop"
|
||||
".config/zsh"
|
||||
|
||||
".local/share/mpd"
|
||||
".local/share/nvim/undo"
|
||||
".local/share/PrismLauncher"
|
||||
".local/share/Steam"
|
||||
".local/share/TelegramDesktop"
|
||||
".local/share/mpd"
|
||||
".local/share/nvim/undo"
|
||||
|
||||
".local/state/wireplumber"
|
||||
".local/state/lazygit"
|
||||
".local/state/wireplumber"
|
||||
|
||||
".cache/nix-index"
|
||||
|
||||
|
|
|
@ -3,13 +3,9 @@
|
|||
environment.persistence."/persist" = {
|
||||
hideMounts = true;
|
||||
directories = [
|
||||
"/etc/nixos"
|
||||
"/storage"
|
||||
"/var/lib/nixos"
|
||||
];
|
||||
files = [
|
||||
"/etc/machine-id"
|
||||
"/root/.gitconfig"
|
||||
];
|
||||
files = [ "/etc/machine-id" ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue