This commit is contained in:
Niccolo Borgioli 2025-02-04 16:12:34 +01:00
parent c7aeaaef8d
commit 4aca03d528
3 changed files with 14 additions and 0 deletions

1
.envrc Normal file
View File

@ -0,0 +1 @@
export SOPS_AGE_KEY_FILE=${HOME}/.config/sops/age/keys.txt

View File

@ -15,3 +15,14 @@ git clone https://github.com/cupcakearmy/nix-macos ~/.config/nix-darwin
# Installation
nix run nix-darwin -- switch --flake ~/.config/nix-darwin#mbp
```
## Sops
Secrets are managed by sops-nix
```bash
# To edit the secrets files
nix shell nixpkgs#sops
sops ./secrets/foo.yaml
```

View File

@ -20,6 +20,7 @@ with pkgs;
woff2
bat
rsync
sops
#bitwarden-cli
# Dev
@ -49,6 +50,7 @@ with pkgs;
tectonic
tex-fmt
rustup
shfmt
# Fonts
nerd-fonts.jetbrains-mono