Skip to content

Commit

Permalink
🔨 Add darwin-switch command
Browse files Browse the repository at this point in the history
  • Loading branch information
turtton committed Jan 16, 2025
1 parent fa8a1ea commit 46a1c56
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,9 @@
(writeScriptBin "switch-nixos" ''
sudo nixos-rebuild switch --flake ".#$@" --show-trace
'')
(writeScriptBin "switch-darwin" ''
darwin-rebuild switch --flake ".#$@" --show-trace
'')
(writeScriptBin "gen-template" ''
nix run github:nix-community/nixos-generators -- -f proxmox-lxc --flake ".#$@" --show-trace
'')
Expand Down

0 comments on commit 46a1c56

Please sign in to comment.