devbox: pass Home Manager output name explicitly
This commit is contained in:
@@ -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";
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user