modules: refactor cachix secrets, watch-store

move cachix related files into directory
This commit is contained in:
zowoq 2023-07-01 20:28:31 +10:00
parent 7f0c3d5ffd
commit 9f921e27c5
4 changed files with 3 additions and 3 deletions

View file

@ -137,7 +137,7 @@
remote-builder-build04 = ./modules/nixos/remote-builder/build04.nix;
remote-builder-darwin02 = ./modules/nixos/remote-builder/darwin02.nix;
remote-builder-user = ./modules/nixos/remote-builder/user.nix;
watch-store = ./modules/nixos/watch-store.nix;
watch-store = ./modules/nixos/cachix/watch-store.nix;
zfs = ./modules/nixos/zfs.nix;
};

View file

@ -179,7 +179,7 @@ in
sops.secrets.nix-community-cachix = {
path = "/home/r-ryantm/.config/cachix/cachix.dhall";
sopsFile = "${toString inputs.self}/modules/nixos/nix-community-cache/secrets.yaml";
sopsFile = "${toString inputs.self}/modules/nixos/cachix/secrets.yaml";
owner = "r-ryantm";
group = "r-ryantm";
};

View file

@ -1,7 +1,7 @@
{ config, ... }:
{
sops.secrets.watch-store-token.sopsFile = ./nix-community-cache/secrets.yaml;
sops.secrets.watch-store-token.sopsFile = ./secrets.yaml;
services.cachix-watch-store = {
enable = true;