add nix-on-droid home config [WIP]

This commit is contained in:
2025-01-16 10:47:14 -06:00
parent 945e3765e8
commit d7c7a46571
64 changed files with 2616 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
{ config, lib, inputs, ... }: {
imports = [
inputs.impermanence.nixosModules.home-manager.impermanence
];
options.homeconfig.impermanence.enable = lib.options.mkOption {
type = lib.types.bool;
default = true;
};
config = lib.mkIf config.homeconfig.impermanence.enable {
home.persistence."/persist/home/nathan" = {
directories = [
"Documents"
"Music"
"Pictures/Photos"
"Projects"
"Videos"
".ssh"
".local/share/zoxide"
".config/sops"
];
files = [
".zsh_history"
];
allowOther = true;
};
};
}