mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-23 03:25:39 +00:00
dynamic rebuild-nixos based on current hostname
This commit is contained in:
parent
ae90b1041d
commit
0ac3aec208
@ -38,7 +38,7 @@
|
|||||||
set option "--option substitute false"
|
set option "--option substitute false"
|
||||||
end
|
end
|
||||||
git -C ${config.dotfilesPath} add --intent-to-add --all
|
git -C ${config.dotfilesPath} add --intent-to-add --all
|
||||||
commandline -r "doas nixos-rebuild switch $option --flake ${config.dotfilesPath}"
|
commandline -r "doas nixos-rebuild switch $option --flake ${config.dotfilesPath}#${config.networking.hostName}"
|
||||||
commandline --function execute
|
commandline --function execute
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user