move impermanence input up the tree
This commit is contained in:
@@ -1,16 +1,7 @@
|
||||
{ config, lib, self, ... }: {
|
||||
{ config, lib, ... }: {
|
||||
|
||||
options = {};
|
||||
|
||||
config = lib.mkMerge [
|
||||
|
||||
{
|
||||
imports = [
|
||||
self.inputs.impermanence.nixosModules.impermanence
|
||||
];
|
||||
}
|
||||
|
||||
(lib.mkIf config.disko.impermanent {
|
||||
config = lib.mkIf config.disko.impermanent {
|
||||
|
||||
fileSystems."/persist".neededForBoot = true;
|
||||
environment.persistence = {
|
||||
@@ -32,6 +23,5 @@
|
||||
};
|
||||
|
||||
programs.fuse.userAllowOther = true;
|
||||
})
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,10 +0,0 @@
|
||||
{
|
||||
description = "nix impermanence config";
|
||||
|
||||
inputs.impermanence.url = "github:nix-community/impermanence";
|
||||
|
||||
outputs = { self, ... }: {
|
||||
|
||||
module = { config, lib, ... }: import ./. { inherit config lib self; };
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user