From 151f48cb4b59302513cde0ccb9504a5f56a656fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Thu, 6 Apr 2023 23:38:25 +0300 Subject: [PATCH] disable sops temporarily to be re-enabled in a different branch --- configuration.nix | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/configuration.nix b/configuration.nix index 18bf21f..44cb9f1 100644 --- a/configuration.nix +++ b/configuration.nix @@ -2,7 +2,7 @@ config, pkgs, lib, - sops-nix, + #sops-nix, ... }: let gitea_uidgid = 995; @@ -69,12 +69,12 @@ in { imports = [ ./hardware-configuration.nix ./zfs.nix - sops-nix.nixosModules.sops + #sops-nix.nixosModules.sops ]; - sops.defaultSopsFile = ./hosts/hel1-a/secrets.yaml; - sops.age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ]; - sops.secrets.borgbackup-password = {}; + #sops.defaultSopsFile = ./hosts/hel1-a/secrets.yaml; + #sops.age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ]; + #sops.secrets.borgbackup-password = {}; nixpkgs.overlays = [ (self: super: { @@ -258,8 +258,8 @@ in { repo = "zh2769@zh2769.rsync.net:hel1-a.servers.jakst"; encryption = { mode = "repokey-blake2"; - passCommand = "cat ${config.sops.secrets.borgbackup-password.path}"; - #passCommand = "cat /var/src/secrets/borgbackup/password"; + #passCommand = "cat ${config.sops.secrets.borgbackup-password.path}"; + passCommand = "cat /var/src/secrets/borgbackup/password"; }; paths = value.paths; extraArgs = "--remote-path=borg1";