From ebcbdece4f515f8e9f1edc1eee6cdb9a51f23ba7 Mon Sep 17 00:00:00 2001 From: ahuston-0 Date: Sun, 20 Oct 2024 20:36:35 -0400 Subject: [PATCH] remove sops and obsidian from servers Signed-off-by: ahuston-0 --- users/alice/home.nix | 3 +-- users/alice/non-server.nix | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/users/alice/home.nix b/users/alice/home.nix index a674b2d..9744ec6 100644 --- a/users/alice/home.nix +++ b/users/alice/home.nix @@ -58,7 +58,6 @@ smartmontools wget glances - obsidian onefetch # Rust packages @@ -162,7 +161,7 @@ }; }; - sops = { + sops = lib.mkIf (!machineConfig.server) { age.sshKeyPaths = [ "/home/alice/.ssh/id_ed25519_sops" ]; defaultSopsFile = ./secrets.yaml; secrets."alice/wakatime-api-key".path = "/home/alice/.config/doom/wakatime"; diff --git a/users/alice/non-server.nix b/users/alice/non-server.nix index fe111f0..0370b52 100644 --- a/users/alice/non-server.nix +++ b/users/alice/non-server.nix @@ -62,6 +62,7 @@ bitwarden-menu wtype zathura + obsidian ]; }