mirror of
https://github.com/nmasur/dotfiles
synced 2024-12-24 02:34:52 +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