Finish sops-nix configuration, update README and more

This commit is contained in:
Jo 2025-05-22 02:08:17 +02:00
parent 6dc0e02a92
commit d7a1a9ffbd
12 changed files with 111 additions and 17 deletions

View file

@ -3,7 +3,6 @@
pkgs,
self,
config,
osConfig,
...
}: let
inherit (lib) mkEnableOption mkIf;
@ -16,12 +15,6 @@ in {
};
config = mkIf cfg.enable {
sops.secrets.wakatime-cfg = {
format = "binary";
sopsFile = "${self.outPath}/x86_64-nixos/${osConfig.networking.hostname}/secrets/wakatime.cfg";
path = "/home/${config.home.homeDirectory}/.wakatime.cfg";
};
home.packages = with pkgs; [
alejandra
];

View file

@ -1,5 +1,5 @@
{config, ...}: {
sops = {
age.keyFile = "/home/${config.home.username}/.sops-nix/key.txt";
age.keyFile = "/home/${config.home.username}/sops-nix/key.txt";
};
}