disko + impermanence pc
This commit is contained in:
parent
c98173ce23
commit
1682c71bdf
9 changed files with 224 additions and 29 deletions
29
nixos/modules/impermanence/home.nix
Normal file
29
nixos/modules/impermanence/home.nix
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{ username, ... }:
|
||||
{
|
||||
imports = [
|
||||
inputs.impermanence.nixosModules.home-manager.impermanence
|
||||
];
|
||||
home.persistence."/persist/home/${username}" = {
|
||||
directories = [
|
||||
"Downloads"
|
||||
"Music"
|
||||
"Pictures"
|
||||
"Documents"
|
||||
"Videos"
|
||||
"VirtualBox VMs"
|
||||
".gnupg"
|
||||
".ssh"
|
||||
".nixops"
|
||||
".local/share/keyrings"
|
||||
".local/share/direnv"
|
||||
{
|
||||
directory = ".local/share/Steam";
|
||||
method = "symlink";
|
||||
}
|
||||
];
|
||||
files = [
|
||||
".screenrc"
|
||||
];
|
||||
allowOther = true;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue