feat(desktop): move firefox config to homes and use home-manager modules

This commit is contained in:
Mohammad Rafiq 2025-06-14 11:52:50 +08:00
parent 844e6b263e
commit 6897ad63c9
No known key found for this signature in database
8 changed files with 95 additions and 90 deletions

View file

@ -1,12 +1,27 @@
{ config, ... }:
{ config, lib, ... }:
let
inherit (lib) mkOption;
inherit (lib.types) listOf str;
in
{
home.persistence."/persist/home/${config.snowfallorg.user.name}" = {
directories = [
options = {
persistDirs = mkOption {
type = listOf str;
default = [ ];
};
};
config = {
home.persistence."/persist/home/${config.snowfallorg.user.name}" = {
directories = config.persistDirs;
allowOther = true;
};
persistDirs = [
".ssh"
".config/sops/age"
];
allowOther = true;
};
home.stateVersion = "24.11";
home.stateVersion = "24.11";
};
}