Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
30d2f29e7b | ||
|
|
c8ac0bb8d0 |
@@ -228,6 +228,7 @@
|
|||||||
devbox = home-manager.lib.homeManagerConfiguration {
|
devbox = home-manager.lib.homeManagerConfiguration {
|
||||||
pkgs = nixpkgs.legacyPackages."x86_64-linux";
|
pkgs = nixpkgs.legacyPackages."x86_64-linux";
|
||||||
extraSpecialArgs = {
|
extraSpecialArgs = {
|
||||||
|
homeConfigurationName = "devbox";
|
||||||
pkgs-unstable = pkgs-unstable_x86_64-linux;
|
pkgs-unstable = pkgs-unstable_x86_64-linux;
|
||||||
};
|
};
|
||||||
modules = [
|
modules = [
|
||||||
@@ -237,6 +238,7 @@
|
|||||||
armdevbox = home-manager.lib.homeManagerConfiguration {
|
armdevbox = home-manager.lib.homeManagerConfiguration {
|
||||||
pkgs = nixpkgs.legacyPackages."aarch64-linux";
|
pkgs = nixpkgs.legacyPackages."aarch64-linux";
|
||||||
extraSpecialArgs = {
|
extraSpecialArgs = {
|
||||||
|
homeConfigurationName = "armdevbox";
|
||||||
pkgs-unstable = pkgs-unstable_aarch64-linux;
|
pkgs-unstable = pkgs-unstable_aarch64-linux;
|
||||||
};
|
};
|
||||||
modules = [
|
modules = [
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
{
|
{
|
||||||
|
homeConfigurationName,
|
||||||
pkgs,
|
pkgs,
|
||||||
pkgs-unstable,
|
pkgs-unstable,
|
||||||
...
|
...
|
||||||
@@ -28,7 +29,7 @@
|
|||||||
|
|
||||||
programs.zsh = {
|
programs.zsh = {
|
||||||
shellAliases = {
|
shellAliases = {
|
||||||
homesw = "home-manager --flake /home/jmug/nixos#devbox --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