1
Fork 0

Set up more persistence paths

This commit is contained in:
Matei Adriel 2023-11-04 20:51:56 +01:00
parent 3d8ee6ad0f
commit 02e59e7419
No known key found for this signature in database
2 changed files with 45 additions and 18 deletions

View file

@ -1,8 +1,5 @@
{ {
programs.ssh.enable = true; programs.ssh.enable = true;
# TODO: persistence satellite.persistence.at.state.apps.ssh.directories = [ ".ssh" ];
# home.persistence = {
# "/persist/home/adrielus".directories = [ ".ssh" ];
# };
} }

View file

@ -14,23 +14,29 @@
#"${config.xdg.configHome}/OpenTabletDriver" #"${config.xdg.configHome}/OpenTabletDriver"
]; ];
# }}} # }}}
# {{{ Rust # {{{ Programming tooling
satellite.persistence.at.cache.apps.rust.directories = [ # {{{ Elm
".cargo" satellite.persistence.at.cache.apps.elm.directories = [ ".elm" ];
".rustup"
];
# }}} # }}}
# {{{ Purescript # {{{ Fly.io
satellite.persistence.at.cache.apps.purescript.directories = [ satellite.persistence.at.state.apps.fly-io.directories = [ ".fly" ];
"${config.xdg.dataHome}/purescript" # }}}
"${config.xdg.cacheHome}/spago" # {{{ 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 # {{{ Nodejs
satellite.persistence.at.cache.apps.nodejs = { satellite.persistence.at.cache.apps.nodejs = {
files = [ files = [
# Yarn auto-generated file ".yarnrc" # auto-generated by yarn
".yarnrc" ".node_repl_history"
".ts_node_repl_history"
]; ];
directories = [ directories = [
@ -48,11 +54,34 @@
]; ];
}; };
# }}} # }}}
# {{{ SSH # {{{ Purescript
satellite.persistence.at.state.apps.Ssh.directories = [ satellite.persistence.at.cache.apps.purescript.directories = [
# ".ssh" "${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 # {{{ QBittorrent
satellite.persistence.at.state.apps.QBittorrent.directories = [ satellite.persistence.at.state.apps.QBittorrent.directories = [
"${config.xdg.configHome}/qBittorrent" # Config options "${config.xdg.configHome}/qBittorrent" # Config options
@ -95,4 +124,5 @@
# {{{ Wine # {{{ Wine
satellite.persistence.at.state.apps.Wine.directories = [ ".wine" ]; satellite.persistence.at.state.apps.Wine.directories = [ ".wine" ];
# }}} # }}}
# }}}
} }