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