sops updates

This commit is contained in:
2025-12-28 17:18:45 +00:00
parent dad4788bef
commit 1e73d7a66e
3 changed files with 11 additions and 4 deletions

6
flake.lock generated
View File

@@ -1102,11 +1102,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1765231718, "lastModified": 1766894905,
"narHash": "sha256-qdBzo6puTgG4G2RHG0PkADg22ZnQo1JmSVFRxrD4QM4=", "narHash": "sha256-pn8AxxfajqyR/Dmr1wnZYdUXHgM3u6z9x0Z1Ijmz2UQ=",
"owner": "Mic92", "owner": "Mic92",
"repo": "sops-nix", "repo": "sops-nix",
"rev": "7fd1416aba1865eddcdec5bb11339b7222c2363e", "rev": "61b39c7b657081c2adc91b75dd3ad8a91d6f07a7",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@@ -1,11 +1,18 @@
{ {
inputs, inputs,
config, config,
system,
pkgs, pkgs,
fetchFromGitHub, fetchFromGitHub,
... ...
}: }:
{ {
imports = [
inputs.sops-nix.homeManagerModules.sops
];
sops = {
age.keyFile = "/home/doloro/.config/sops/age/key.txt"; # must have no password!
};
modules = { modules = {
Hyprland.enable = true; Hyprland.enable = true;
quickshell.enable = true; quickshell.enable = true;
@@ -84,7 +91,6 @@
gcr gcr
qbittorrent qbittorrent
]; ];
sops.age.keyFile = "/home/doloro/.config/sops/age/key.txt";
# Home Manager is pretty good at managing dotfiles. The primary way to manage # Home Manager is pretty good at managing dotfiles. The primary way to manage
# plain files is through 'home.file'. # plain files is through 'home.file'.

View File

@@ -90,6 +90,7 @@ in
# Enable the X11 windowing system. # Enable the X11 windowing system.
services.xserver.enable = true; services.xserver.enable = true;
sops.age.keyFile = "/home/doloro/.config/sops/age/key.txt";
sops = { sops = {
defaultSopsFile = builtins.toPath "${nix-meow.flakeRoot}/secrets/users.yaml"; defaultSopsFile = builtins.toPath "${nix-meow.flakeRoot}/secrets/users.yaml";
secrets = { secrets = {