1
Fork 0
satellite/home/lapetus.nix

27 lines
628 B
Nix
Raw Normal View History

2023-07-17 16:50:07 +02:00
{ pkgs, inputs, ... }: {
imports = [ ./global ];
# Arbitrary extra packages
home.packages = [
# Clis
inputs.agenix.packages.${pkgs.system}.agenix # Secret encryption
];
satellite = {
# Set up my custom imperanence wrapper
persistence = {
enable = true;
# Actual data/media (eg: projects, images, videos, etc)
at.data.path = "/persist/data";
at.data.prefixDirectories = false;
# App state I want to keep
at.state.path = "/persist/state";
# App state which I should be able to delete at any point
at.cache.path = "/persist/local/cache";
};
};
}