Rework persisthome
* Use new data dir for persisted homes (~/.local/share/jail.nix/home instead of ~/.local/share/jails) * Rename `persisthome` -> `persist-home` (with deprecation warning when using the old name)
This commit is contained in:
parent
8da2af4368
commit
d84314ffc7
2 changed files with 13 additions and 3 deletions
1
lib.nix
1
lib.nix
|
|
@ -8,6 +8,7 @@
|
|||
noescape = value: { raw = value; };
|
||||
dataDir = "~/.local/share/jail.nix";
|
||||
dataDirSubPath = subPath: "${dataDir}/${escape subPath}";
|
||||
deprecatedCombinator = message: combinator: lib.warn "jail ${name}: ${message}" combinator;
|
||||
};
|
||||
|
||||
combinators = import ./combinators.nix {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue