mirror of
https://github.com/nmasur/dotfiles
synced 2025-07-05 15:00:14 +00:00
fix: flake app for rebuilds
This commit is contained in:
@ -6,9 +6,9 @@
|
||||
echo ${pkgs.system}
|
||||
SYSTEM=${if pkgs.stdenv.isDarwin then "darwin" else "linux"}
|
||||
if [ "$SYSTEM" == "darwin" ]; then
|
||||
darwin-rebuild switch --flake github:nmasur/dotfiles#lookingglass
|
||||
sudo darwin-rebuild switch --flake ${builtins.toString ../.}
|
||||
else
|
||||
nixos-rebuild switch --flake github:nmasur/dotfiles
|
||||
doas nixos-rebuild switch --flake ${builtins.toString ../.}
|
||||
fi
|
||||
'');
|
||||
|
||||
|
Reference in New Issue
Block a user