refactor: move secrets.nix to root and removal secrets dir
This commit is contained in:
parent
47c42dc7a6
commit
d756f302d5
3 changed files with 3 additions and 8 deletions
7
.gitignore
vendored
7
.gitignore
vendored
|
|
@ -3,12 +3,7 @@ result
|
||||||
result-*
|
result-*
|
||||||
|
|
||||||
# Secrets (Untracked)
|
# Secrets (Untracked)
|
||||||
secrets/secrets.nix
|
secrets.nix
|
||||||
secrets/tailscale-auth
|
|
||||||
secrets/forgejo-db-pass
|
|
||||||
secrets/stalwart-admin-pass
|
|
||||||
secrets/searx-secret-key
|
|
||||||
secrets/rcon-pass
|
|
||||||
|
|
||||||
# Only track the example file
|
# Only track the example file
|
||||||
!secrets.nix.example
|
!secrets.nix.example
|
||||||
|
|
|
||||||
|
|
@ -15,5 +15,5 @@ deploy:
|
||||||
`nix run github:nix-community/nixos-anywhere -- --flake .#extremist-software --impure root@<ip>`
|
`nix run github:nix-community/nixos-anywhere -- --flake .#extremist-software --impure root@<ip>`
|
||||||
|
|
||||||
secrets:
|
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.
|
repo uses impure build cause i dont want to manage encrypted secret files in git right now.
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@
|
||||||
./modules/minecraft.nix
|
./modules/minecraft.nix
|
||||||
./modules/monitoring.nix
|
./modules/monitoring.nix
|
||||||
# Impure Secrets
|
# Impure Secrets
|
||||||
./secrets/secrets.nix
|
./secrets.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
# ... (rest of imports block replaced by ./secrets/secrets.nix being added to imports)
|
# ... (rest of imports block replaced by ./secrets/secrets.nix being added to imports)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue