This commit is contained in:
2024-11-20 21:19:04 -06:00
parent e705a206c0
commit 32c45a6cb7
9 changed files with 39 additions and 227 deletions

View File

@@ -1,8 +1,15 @@
{ inputs, ... }: {
{ 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" = {
@@ -21,4 +28,6 @@
];
allowOther = true;
};
};
}