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";
|
||||
profiles = lib.mkOption {
|
||||
type = with lib.types; functionTo (attrsOf anything);
|
||||
default = os: {
|
||||
default = homeenv: {
|
||||
home = {
|
||||
sshUser = 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 ''
|
||||
os: {
|
||||
homeenv: {
|
||||
home = {
|
||||
sshUser = "$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" ];
|
||||
nixpkgsBranch = "nixos-unstable-small";
|
||||
deploy = {
|
||||
autoRollback = true;
|
||||
magicRollback = true;
|
||||
};
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user