mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-10 01:42:55 +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"
|
||||
end
|
||||
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
|
||||
'';
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user