Added support for foreign deployments
This commit is contained in:
parent
9fe5f6e656
commit
8ff07c6d47
@ -179,9 +179,12 @@
|
|||||||
./home-manager/traverseda/home.nix
|
./home-manager/traverseda/home.nix
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
"traverseda@aarch64" = home-manager.lib.homeManagerConfiguration {
|
"spiri@generic" = home-manager.lib.homeManagerConfiguration {
|
||||||
pkgs = nixpkgs.legacyPackages.aarch64-linux; # Home-manager requires 'pkgs' instance
|
pkgs = nixpkgs.legacyPackages.aarch64-linux; # Home-manager requires 'pkgs' instance
|
||||||
extraSpecialArgs = {inherit inputs outputs;};
|
extraSpecialArgs = {inherit inputs outputs;
|
||||||
|
homeUser = "spiri";
|
||||||
|
homeDir = "/home/spiri";
|
||||||
|
};
|
||||||
modules = [
|
modules = [
|
||||||
./home-manager/traverseda/home.nix
|
./home-manager/traverseda/home.nix
|
||||||
];
|
];
|
||||||
|
@ -6,6 +6,7 @@
|
|||||||
# lib,
|
# lib,
|
||||||
config,
|
config,
|
||||||
pkgs,
|
pkgs,
|
||||||
|
specialArgs,
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
# You can import other home-manager modules here
|
# You can import other home-manager modules here
|
||||||
@ -42,8 +43,8 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
home = {
|
home = {
|
||||||
username = "traverseda";
|
username = specialArgs.homeUser or "traverseda";
|
||||||
homeDirectory = "/home/traverseda";
|
homeDirectory = specialArgs.homeDir or "/home/traverseda";
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.git = {
|
programs.git = {
|
||||||
|
Loading…
Reference in New Issue
Block a user