feat: Manage secrets w/ sops-nix

Closes #1
This commit is contained in:
Madeleine Sydney
2024-12-28 22:28:56 -07:00
parent fa3bd72816
commit 52dc849c67
10 changed files with 186 additions and 9 deletions

View File

@@ -4,18 +4,28 @@
# TODO: Don't hard-code `persist`. Use
# config.sydnix.impermanence.persistGroupName.
extraGroups = [ "wheel" "persist" ];
# Change this immediately after installation!
initialPassword = "password123";
initialHashedPassword =
"$y$j9T$aEFDDwdTZbAc6VQRXrkBJ0$K8wxTGTWDihyX1wxJ.ZMH//wmQFfrGGUkLkxIU0Lyq8";
};
homeConfiguration = { config, lib, pkgs, ... }: {
imports = [ ./programs.nix ];
sydnix = {
sops = {
enable = true;
secrets = {
example-user-key = {};
};
};
};
home = {
stateVersion = "18.09";
packages = [
pkgs.hello
# pkgs.wezterm
];
# Don't touch!
stateVersion = "18.09";
};
};
}