2023-02-09 22:35:41 +01:00
|
|
|
[macos]
|
2023-02-10 06:29:23 +01:00
|
|
|
switch: secret-stage && secret-unstage
|
2023-02-09 22:35:41 +01:00
|
|
|
darwin-rebuild switch --flake .
|
2023-02-07 11:42:25 +01:00
|
|
|
|
2023-02-09 22:35:41 +01:00
|
|
|
[linux]
|
2023-02-10 06:29:23 +01:00
|
|
|
switch: secret-stage && secret-unstage
|
2023-02-11 04:58:34 +01:00
|
|
|
sudo nixos-rebuild switch --flake .
|
2023-02-07 11:42:25 +01:00
|
|
|
|
2023-02-15 16:03:38 +01:00
|
|
|
[linux]
|
|
|
|
boot: secret-stage && secret-unstage
|
|
|
|
sudo nixos-rebuild boot --flake .
|
|
|
|
|
2023-02-10 06:29:23 +01:00
|
|
|
secret-stage:
|
2023-02-19 00:18:25 +01:00
|
|
|
git add -f home/secrets/default.nix
|
2023-02-10 06:29:23 +01:00
|
|
|
|
|
|
|
secret-unstage:
|
2023-02-19 00:18:25 +01:00
|
|
|
git restore --staged home/secrets/default.nix
|