summaryrefslogtreecommitdiff
path: root/nix/programs/sops
diff options
context:
space:
mode:
Diffstat (limited to 'nix/programs/sops')
-rw-r--r--nix/programs/sops/default.nix30
1 files changed, 0 insertions, 30 deletions
diff --git a/nix/programs/sops/default.nix b/nix/programs/sops/default.nix
deleted file mode 100644
index 7fb5841..0000000
--- a/nix/programs/sops/default.nix
+++ /dev/null
@@ -1,30 +0,0 @@
-{ config, pkgs, inputs, ... }:
-
-let
-
- isEd25519 = k: k.type == "ed25519";
- getKeyPath = k: k.path;
- keys = builtins.filter isEd25519 config.services.openssh.hostKeys;
-
-in
-{
- imports = [
- inputs.sops-nix.nixosModules.sops
- ];
-
- environment.systemPackages = with pkgs; [
- sops
- ];
-
- sops = {
- defaultSopsFile = ../../../secrets.yaml;
-
- gnupg.home = config.homePath + "/.gnupg";
- gnupg.sshKeyPaths = [];
-
- secrets = {
- freyanetWg = {};
- tinternetWg = {};
- };
- };
-}