feat(ccl): init

This commit is contained in:
2025-07-25 12:24:01 +08:00
parent 125a75ec2e
commit c772c2983f
34 changed files with 65 additions and 728 deletions

View File

@@ -15,8 +15,8 @@ lib.my.makeSwitch {
config' = {
programs.zsh.enable = true;
sops.secrets.imxyy-nix-hashed-password = {
sopsFile = secrets.imxyy-nix-hashed-password;
sops.secrets.hashed-password = {
sopsFile = secrets.hashed-password;
format = "binary";
neededForUsers = true;
};
@@ -30,11 +30,11 @@ lib.my.makeSwitch {
username
"wheel"
];
hashedPasswordFile = lib.mkDefault config.sops.secrets.imxyy-nix-hashed-password.path;
hashedPasswordFile = lib.mkDefault config.sops.secrets.hashed-password.path;
};
groups.${username} = { };
};
users.users.root.hashedPasswordFile = lib.mkDefault config.sops.secrets.imxyy-nix-hashed-password.path;
users.users.root.hashedPasswordFile = lib.mkDefault config.sops.secrets.hashed-password.path;
security.sudo.enable = false;
security.doas = {