devbox: pass Home Manager output name explicitly

This commit is contained in:
jmug
2026-09-25 13:07:16 -07:00
parent c8ac0bb8d0
commit 30d2f29e7b
2 changed files with 5 additions and 7 deletions
+3 -7
View File
@@ -1,13 +1,9 @@
{
homeConfigurationName,
pkgs,
pkgs-unstable,
...
} :
let
homeConfiguration =
if pkgs.stdenv.hostPlatform.system == "aarch64-linux" then "armdevbox" else "devbox";
in
{
} : {
imports = [
../../home-modules/default.nix
../../home-modules/nvim.nix
@@ -33,7 +29,7 @@ in
programs.zsh = {
shellAliases = {
homesw = "home-manager --flake /home/jmug/nixos#${homeConfiguration} --extra-experimental-features nix-command --extra-experimental-features flakes switch";
homesw = "home-manager --flake /home/jmug/nixos#${homeConfigurationName} --extra-experimental-features nix-command --extra-experimental-features flakes switch";
};
};