From b32f638ff7e693e6b4504380fbc0e219ddfa12e8 Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Mon, 4 Sep 2023 14:54:06 +0400 Subject: [PATCH] remove secrets --- flake.nix | 4 +--- secrets/.gitignore | 2 -- secrets/.sops.yaml | 0 secrets/encrypted/.gitkeep | 0 secrets/secrets.nix | 6 ------ 5 files changed, 1 insertion(+), 11 deletions(-) delete mode 100644 secrets/.gitignore delete mode 100644 secrets/.sops.yaml delete mode 100644 secrets/encrypted/.gitkeep delete mode 100644 secrets/secrets.nix diff --git a/flake.nix b/flake.nix index 3e4fed6c..ef51b0b8 100644 --- a/flake.nix +++ b/flake.nix @@ -18,9 +18,7 @@ url = "github:nix-community/NixOS-WSL"; inputs.nixpkgs.follows = "nixpkgs"; }; - # todo figure this out - # https://github.com/Mic92/sops-nix - sops-nix.url = "github:Mic92/sops-nix"; + # todo add secrets }; outputs = { diff --git a/secrets/.gitignore b/secrets/.gitignore deleted file mode 100644 index a12e04c7..00000000 --- a/secrets/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -unencrypted/* -**/unencrypted diff --git a/secrets/.sops.yaml b/secrets/.sops.yaml deleted file mode 100644 index e69de29b..00000000 diff --git a/secrets/encrypted/.gitkeep b/secrets/encrypted/.gitkeep deleted file mode 100644 index e69de29b..00000000 diff --git a/secrets/secrets.nix b/secrets/secrets.nix deleted file mode 100644 index 71912fc2..00000000 --- a/secrets/secrets.nix +++ /dev/null @@ -1,6 +0,0 @@ -{lib}: - -lib.mapAttrs' (name: v: (lib.nameValuePair name { - sopsFile = ./encrypted + "/${name}"; - format = "binary"; -})) (builtins.readDir ./encrypted)