Files
sydnix/users/crumb/default.nix
Madeleine Sydney 52dc849c67 feat: Manage secrets w/ sops-nix
Closes #1
2024-12-29 01:42:01 -07:00

32 lines
651 B
Nix

{
systemConfiguration = { config, ... }: {
isNormalUser = true;
# TODO: Don't hard-code `persist`. Use
# config.sydnix.impermanence.persistGroupName.
extraGroups = [ "wheel" "persist" ];
initialHashedPassword =
"$y$j9T$aEFDDwdTZbAc6VQRXrkBJ0$K8wxTGTWDihyX1wxJ.ZMH//wmQFfrGGUkLkxIU0Lyq8";
};
homeConfiguration = { config, lib, pkgs, ... }: {
imports = [ ./programs.nix ];
sydnix = {
sops = {
enable = true;
secrets = {
example-user-key = {};
};
};
};
home = {
packages = [
];
# Don't touch!
stateVersion = "18.09";
};
};
}