From 0ac3aec20890ada402fcfff2e598e652cd6b5f76 Mon Sep 17 00:00:00 2001 From: Noah Masur <7386960+nmasur@users.noreply.github.com> Date: Sat, 24 Sep 2022 16:53:16 +0000 Subject: [PATCH] dynamic rebuild-nixos based on current hostname --- modules/shell/nixpkgs.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/shell/nixpkgs.nix b/modules/shell/nixpkgs.nix index 6e71319..1ce9ce3 100644 --- a/modules/shell/nixpkgs.nix +++ b/modules/shell/nixpkgs.nix @@ -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 ''; };