mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-04-26 00:19:11 +00:00
flake-parts/setups/home-manager: update deploy-rs default profile
This commit is contained in:
parent
3cd3d81d77
commit
1fedade427
@ -35,16 +35,16 @@ let
|
|||||||
type = with lib.types; functionTo (attrsOf anything);
|
type = with lib.types; functionTo (attrsOf anything);
|
||||||
default = homeenv: {
|
default = homeenv: {
|
||||||
home = {
|
home = {
|
||||||
sshUser = username;
|
sshUser = homeenv.name;
|
||||||
user = username;
|
user = homeenv.name;
|
||||||
path = inputs.deploy.lib.${homeenv.system}.activate.home-manager homeenv.config;
|
path = inputs.deploy.lib.${homeenv.system}.activate.home-manager homeenv.config;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
defaultText = lib.literalExpression ''
|
defaultText = lib.literalExpression ''
|
||||||
homeenv: {
|
homeenv: {
|
||||||
home = {
|
home = {
|
||||||
sshUser = "$USERNAME";
|
sshUser = "''${homeenv.name}";
|
||||||
user = "$USERNAME";
|
user = "''${homeenv.name}";
|
||||||
path = <deploy-rs>.lib.''${homeenv.system}.activate.home-manager homeenv.config;
|
path = <deploy-rs>.lib.''${homeenv.system}.activate.home-manager homeenv.config;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user