mirror of
https://github.com/nmasur/dotfiles
synced 2024-12-24 02:34:52 +00:00
fix: flake app for rebuilds
This commit is contained in:
parent
49c2c013a2
commit
e349ac35b8
@ -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
|
||||
'');
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user