chore(tree-wide): remove snowfall-lib as dependency

This commit is contained in:
Mohammad Rafiq 2025-07-01 17:02:27 +08:00
parent 5cf347812c
commit 0965dd312a
No known key found for this signature in database
8 changed files with 65 additions and 41 deletions

View file

@ -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;
};