Added Sops, Set Default Editor
Some checks failed
/ Check Nix Flake (push) Failing after 32s

This commit is contained in:
Matthias 2025-02-06 23:47:37 +01:00
parent b122b41265
commit e3cd2ad60c
Signed by: kb01
SSH key fingerprint: SHA256:WtrRbgBHv9Iu7oy/X7yJ/KuIDS5f5VaWOp6ONC5jUHo
3 changed files with 16 additions and 0 deletions

View file

@ -1,5 +1,6 @@
keys:
- &server_kb-game-01 age165jt2q3uxp79k4jfsegnq7ul9j54l2rqsn87rq0qjkcv3y5krcmqsznyw7
- &client_LANA9Z age12v97unnfjmhm3ataxpl3mp89kxsr9hdqs4kmgsx8ys75m4ljey5qkf4t55
creation_rules:
- path_regex: modules/nixos/services/minecraft/secrets.yaml$
key_groups:

View file

@ -45,6 +45,12 @@
sops-nix.nixosModules.sops
];
# Modules for Host LANA7Z
systems.hosts.LANA9Z.modules = with inputs; [
lix-module.nixosModules.default
sops-nix.nixosModules.sops
];
# Modules for Host LoyAdjo
systems.hosts.LoyAdjo.modules = with inputs; [
lix-module.nixosModules.default

View file

@ -112,7 +112,16 @@
wget
tree
git
sops
];
# Default Editor
programs.vim.enable = true;
programs.vim.defaultEditor = true;
# Sops Secrets Config
sops.defaultSopsFormat = "yaml";
sops.age.keyFile = "/home/kb/.config/sops/age/keys.txt";
system.stateVersion = "24.11"; # NEVER Change this
}