Set up more persistence paths
This commit is contained in:
parent
3d8ee6ad0f
commit
02e59e7419
|
@ -1,8 +1,5 @@
|
|||
{
|
||||
programs.ssh.enable = true;
|
||||
|
||||
# TODO: persistence
|
||||
# home.persistence = {
|
||||
# "/persist/home/adrielus".directories = [ ".ssh" ];
|
||||
# };
|
||||
satellite.persistence.at.state.apps.ssh.directories = [ ".ssh" ];
|
||||
}
|
||||
|
|
|
@ -14,23 +14,29 @@
|
|||
#"${config.xdg.configHome}/OpenTabletDriver"
|
||||
];
|
||||
# }}}
|
||||
# {{{ Rust
|
||||
satellite.persistence.at.cache.apps.rust.directories = [
|
||||
".cargo"
|
||||
".rustup"
|
||||
];
|
||||
# {{{ Programming tooling
|
||||
# {{{ Elm
|
||||
satellite.persistence.at.cache.apps.elm.directories = [ ".elm" ];
|
||||
# }}}
|
||||
# {{{ Purescript
|
||||
satellite.persistence.at.cache.apps.purescript.directories = [
|
||||
"${config.xdg.dataHome}/purescript"
|
||||
"${config.xdg.cacheHome}/spago"
|
||||
# {{{ Fly.io
|
||||
satellite.persistence.at.state.apps.fly-io.directories = [ ".fly" ];
|
||||
# }}}
|
||||
# {{{ Haskell
|
||||
satellite.persistence.at.cache.apps.haskell.directories = [
|
||||
".ghc"
|
||||
".stack"
|
||||
".local/state/cabal"
|
||||
"${config.xdg.cacheHome}/stack"
|
||||
"${config.xdg.cacheHome}/ghcide"
|
||||
"${config.xdg.cacheHome}/cabal"
|
||||
];
|
||||
# }}}
|
||||
# {{{ Nodejs
|
||||
satellite.persistence.at.cache.apps.nodejs = {
|
||||
files = [
|
||||
# Yarn auto-generated file
|
||||
".yarnrc"
|
||||
".yarnrc" # auto-generated by yarn
|
||||
".node_repl_history"
|
||||
".ts_node_repl_history"
|
||||
];
|
||||
|
||||
directories = [
|
||||
|
@ -48,11 +54,34 @@
|
|||
];
|
||||
};
|
||||
# }}}
|
||||
# {{{ SSH
|
||||
satellite.persistence.at.state.apps.Ssh.directories = [
|
||||
# ".ssh"
|
||||
# {{{ Purescript
|
||||
satellite.persistence.at.cache.apps.purescript.directories = [
|
||||
"${config.xdg.dataHome}/purescript"
|
||||
"${config.xdg.cacheHome}/spago"
|
||||
];
|
||||
# }}}
|
||||
# {{{ Python
|
||||
satellite.persistence.at.cache.apps.python = {
|
||||
files = [
|
||||
".python_history"
|
||||
];
|
||||
|
||||
directories = [
|
||||
".ipython"
|
||||
".jupyter"
|
||||
"${config.xdg.dataHome}/jupyter"
|
||||
"${config.xdg.cacheHome}/pip"
|
||||
];
|
||||
};
|
||||
# }}}
|
||||
# {{{ Rust
|
||||
satellite.persistence.at.cache.apps.rust.directories = [
|
||||
".cargo"
|
||||
".rustup"
|
||||
];
|
||||
# }}}
|
||||
# }}}
|
||||
# {{{ Desktop apps
|
||||
# {{{ QBittorrent
|
||||
satellite.persistence.at.state.apps.QBittorrent.directories = [
|
||||
"${config.xdg.configHome}/qBittorrent" # Config options
|
||||
|
@ -95,4 +124,5 @@
|
|||
# {{{ Wine
|
||||
satellite.persistence.at.state.apps.Wine.directories = [ ".wine" ];
|
||||
# }}}
|
||||
# }}}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue