From d756f302d5d7dccdb15539fcc670218ac6f480b3 Mon Sep 17 00:00:00 2001 From: Jet Date: Mon, 16 Feb 2026 21:31:28 -0800 Subject: [PATCH] refactor: move secrets.nix to root and removal secrets dir --- .gitignore | 7 +------ README.md | 2 +- configuration.nix | 2 +- 3 files changed, 3 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index 8a43910..5279bb3 100644 --- a/.gitignore +++ b/.gitignore @@ -3,12 +3,7 @@ result result-* # Secrets (Untracked) -secrets/secrets.nix -secrets/tailscale-auth -secrets/forgejo-db-pass -secrets/stalwart-admin-pass -secrets/searx-secret-key -secrets/rcon-pass +secrets.nix # Only track the example file !secrets.nix.example diff --git a/README.md b/README.md index 8f77bfc..391c84c 100644 --- a/README.md +++ b/README.md @@ -15,5 +15,5 @@ deploy: `nix run github:nix-community/nixos-anywhere -- --flake .#extremist-software --impure root@` secrets: -copy `secrets.nix.example` to `secrets/secrets.nix` and fill it in. +copy `secrets.nix.example` to `secrets.nix` and fill it in. repo uses impure build cause i dont want to manage encrypted secret files in git right now. diff --git a/configuration.nix b/configuration.nix index dc95478..7c70fe6 100644 --- a/configuration.nix +++ b/configuration.nix @@ -10,7 +10,7 @@ ./modules/minecraft.nix ./modules/monitoring.nix # Impure Secrets - ./secrets/secrets.nix + ./secrets.nix ]; # ... (rest of imports block replaced by ./secrets/secrets.nix being added to imports)