1
Fork 0
satellite/home/lapetus.nix

25 lines
595 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
];
2023-07-17 18:40:39 +02:00
# Set up my custom imperanence wrapper
satellite.persistence = {
enable = true;
2023-07-17 16:50:07 +02:00
2023-07-17 18:40:39 +02:00
# Actual data/media (eg: projects, images, videos, etc)
at.data.path = "/persist/data";
at.data.prefixDirectories = false;
2023-07-17 16:50:07 +02:00
2023-07-17 18:40:39 +02:00
# App state I want to keep
at.state.path = "/persist/state";
2023-07-17 16:50:07 +02:00
2023-07-17 18:40:39 +02:00
# App state which I should be able to delete at any point
at.cache.path = "/persist/local/cache";
2023-07-17 16:50:07 +02:00
};
}