mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-10 01:42:55 +00:00
fix: flake app for rebuilds
This commit is contained in:
parent
49c2c013a2
commit
e349ac35b8
@ -6,9 +6,9 @@
|
|||||||
echo ${pkgs.system}
|
echo ${pkgs.system}
|
||||||
SYSTEM=${if pkgs.stdenv.isDarwin then "darwin" else "linux"}
|
SYSTEM=${if pkgs.stdenv.isDarwin then "darwin" else "linux"}
|
||||||
if [ "$SYSTEM" == "darwin" ]; then
|
if [ "$SYSTEM" == "darwin" ]; then
|
||||||
darwin-rebuild switch --flake github:nmasur/dotfiles#lookingglass
|
sudo darwin-rebuild switch --flake ${builtins.toString ../.}
|
||||||
else
|
else
|
||||||
nixos-rebuild switch --flake github:nmasur/dotfiles
|
doas nixos-rebuild switch --flake ${builtins.toString ../.}
|
||||||
fi
|
fi
|
||||||
'');
|
'');
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user