feat(cli): remove cli module and move zsh config to systems
This commit is contained in:
parent
527a166a86
commit
2387ad9099
3 changed files with 11 additions and 24 deletions
|
@ -1,27 +0,0 @@
|
|||
{ 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";
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue