feat(cli): remove cli module and move zsh config to systems

This commit is contained in:
Mohammad Rafiq 2025-06-14 18:03:11 +08:00
parent 527a166a86
commit 2387ad9099
No known key found for this signature in database
3 changed files with 11 additions and 24 deletions

27
modules/home/default.nix Normal file
View file

@ -0,0 +1,27 @@
{ config, lib, ... }:
let
inherit (lib) mkOption;
inherit (lib.types) listOf str;
in
{
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"
];
home.stateVersion = "24.11";
};
}