chore(tree-wide): remove snowfall-lib as dependency
This commit is contained in:
parent
5cf347812c
commit
0965dd312a
8 changed files with 65 additions and 41 deletions
|
@ -1,9 +1,18 @@
|
|||
{ config, lib, ... }:
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
inputs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
inherit (lib) mkOption;
|
||||
inherit (lib.types) listOf str;
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
inputs.impermanence.homeManagerModules.impermanence
|
||||
];
|
||||
|
||||
options = {
|
||||
persistDirs = mkOption {
|
||||
type = listOf str;
|
||||
|
@ -13,7 +22,7 @@ in
|
|||
|
||||
config = {
|
||||
# Helper options
|
||||
home.persistence."/persist/home/${config.snowfallorg.user.name}" = {
|
||||
home.persistence."/persist/home/${config.home.username}" = {
|
||||
directories = config.persistDirs;
|
||||
allowOther = true;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue