mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-26 13:05:37 +00:00
more commandline changes
This commit is contained in:
parent
c646f126e2
commit
758321adc3
@ -13,9 +13,8 @@
|
|||||||
if test "$argv[1]" = "offline"
|
if test "$argv[1]" = "offline"
|
||||||
set option "--option substitute false"
|
set option "--option substitute false"
|
||||||
end
|
end
|
||||||
commandline --replace "git -C ${config.dotfilesPath} add --all"
|
git -C ${config.dotfilesPath} add --all
|
||||||
commandline --append "
|
commandline -r "darwin-rebuild switch $option --flake ${config.dotfilesPath}#macbook"
|
||||||
darwin-rebuild switch $option --flake ${config.dotfilesPath}#macbook"
|
|
||||||
commandline --function execute
|
commandline --function execute
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
@ -27,11 +27,9 @@
|
|||||||
if test "$argv[1]" = "offline"
|
if test "$argv[1]" = "offline"
|
||||||
set option "--option substitute false"
|
set option "--option substitute false"
|
||||||
end
|
end
|
||||||
pushd ${config.dotfilesPath}
|
git -C ${config.dotfilesPath} add --all
|
||||||
git add --all
|
|
||||||
popd
|
|
||||||
commandline -r "doas nixos-rebuild switch $option --flake ${config.dotfilesPath}"
|
commandline -r "doas nixos-rebuild switch $option --flake ${config.dotfilesPath}"
|
||||||
commandline -f execute
|
commandline --function execute
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user