mirror of
https://github.com/nmasur/dotfiles
synced 2026-10-29 11:55:02 +00:00
fix: flake app for rebuilds
This commit is contained in:
1 parent
49c2c013a2
commit
e349ac35b8
1 file changed
+2
-2
+2
-2
@@ -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