Major rework in progress
This commit is contained in:
28
home/impermanence/default.nix
Normal file
28
home/impermanence/default.nix
Normal file
@@ -0,0 +1,28 @@
|
||||
{ config, lib, self, ... }: {
|
||||
|
||||
imports = [
|
||||
self.inputs.impermanence.nixosModules.home-manager.impermanence
|
||||
];
|
||||
|
||||
config = lib.mkIf config.disko.impermanent {
|
||||
|
||||
home.persistence."/persist/home" = {
|
||||
|
||||
directories = [
|
||||
"Documents"
|
||||
"Music"
|
||||
"Pictures"
|
||||
"Videos"
|
||||
".ssh"
|
||||
".config"
|
||||
".local"
|
||||
|
||||
];
|
||||
files = [
|
||||
".cache/bg"
|
||||
".cache/bga"
|
||||
];
|
||||
allowOther = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
10
home/impermanence/flake.nix
Normal file
10
home/impermanence/flake.nix
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
description = "nix impermanence home config";
|
||||
|
||||
inputs.impermanence.url = "github:nix-community/impermanence";
|
||||
|
||||
outputs = { self, ... }: {
|
||||
hmModule = import ./. { inherit self; };
|
||||
};
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user