mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 04:58:01 +00:00
flake-parts/setups: update descriptions
This commit is contained in:
parent
4671d1654b
commit
cce282dbcf
@ -36,19 +36,19 @@ let
|
|||||||
remoteBuild = lib.mkEnableOption "pass the build process to the remote machine";
|
remoteBuild = lib.mkEnableOption "pass the build process to the remote machine";
|
||||||
profiles = lib.mkOption {
|
profiles = lib.mkOption {
|
||||||
type = with lib.types; functionTo (attrsOf anything);
|
type = with lib.types; functionTo (attrsOf anything);
|
||||||
default = os: {
|
default = homeenv: {
|
||||||
home = {
|
home = {
|
||||||
sshUser = username;
|
sshUser = username;
|
||||||
user = username;
|
user = username;
|
||||||
path = inputs.deploy.lib.${os.system}.activate.home-manager os.config;
|
path = inputs.deploy.lib.${homeenv.system}.activate.home-manager homeenv.config;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
defaultText = lib.literalExpression ''
|
defaultText = lib.literalExpression ''
|
||||||
os: {
|
homeenv: {
|
||||||
home = {
|
home = {
|
||||||
sshUser = "$USERNAME";
|
sshUser = "$USERNAME";
|
||||||
user = "$USERNAME";
|
user = "$USERNAME";
|
||||||
path = <deploy-rs>.lib.''${os.system}.activate.home-manager os.config;
|
path = <deploy-rs>.lib.''${homeenv.system}.activate.home-manager homeenv.config;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
'';
|
'';
|
||||||
|
@ -284,6 +284,8 @@ in
|
|||||||
formats = [ "do" "linode" ];
|
formats = [ "do" "linode" ];
|
||||||
nixpkgsBranch = "nixos-unstable-small";
|
nixpkgsBranch = "nixos-unstable-small";
|
||||||
deploy = {
|
deploy = {
|
||||||
|
autoRollback = true;
|
||||||
|
magicRollback = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user