mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-30 22:57:55 +00:00
chore: reformat codebase
This commit is contained in:
parent
52d2f0186e
commit
55cbb8f23a
@ -5,7 +5,7 @@
|
||||
flake = flake-parts-lib.mkSubmoduleOptions {
|
||||
homeConfigurations = lib.mkOption {
|
||||
type = with lib.types; lazyAttrsOf raw;
|
||||
default = {};
|
||||
default = { };
|
||||
description = ''
|
||||
Instantiated home-manager configurations.
|
||||
|
||||
|
@ -278,13 +278,13 @@ in
|
||||
deployConfig = cfg.configs.${name}.deploy;
|
||||
deployConfig' = lib.attrsets.removeAttrs deployConfig [ "profiles" ];
|
||||
in
|
||||
deployConfig'
|
||||
// {
|
||||
profiles =
|
||||
cfg.configs.${name}.deploy.profiles {
|
||||
inherit name config system;
|
||||
};
|
||||
}
|
||||
deployConfig'
|
||||
// {
|
||||
profiles =
|
||||
cfg.configs.${name}.deploy.profiles {
|
||||
inherit name config system;
|
||||
};
|
||||
}
|
||||
);
|
||||
in
|
||||
lib.concatMapAttrs
|
||||
|
@ -357,13 +357,13 @@ in
|
||||
deployConfig = cfg.configs.${name}.deploy;
|
||||
deployConfig' = lib.attrsets.removeAttrs deployConfig [ "profiles" ];
|
||||
in
|
||||
deployConfig'
|
||||
// {
|
||||
profiles =
|
||||
cfg.configs.${name}.deploy.profiles {
|
||||
inherit name config system;
|
||||
};
|
||||
}
|
||||
deployConfig'
|
||||
// {
|
||||
profiles =
|
||||
cfg.configs.${name}.deploy.profiles {
|
||||
inherit name config system;
|
||||
};
|
||||
}
|
||||
);
|
||||
in
|
||||
lib.concatMapAttrs
|
||||
@ -377,7 +377,7 @@ in
|
||||
let
|
||||
validImages = lib.filterAttrs
|
||||
(host: metadata:
|
||||
metadata.formats != null && (lib.elem system metadata.systems))
|
||||
metadata.formats != null && (lib.elem system metadata.systems))
|
||||
cfg.configs;
|
||||
|
||||
generateImages = name: metadata:
|
||||
@ -394,7 +394,7 @@ in
|
||||
images =
|
||||
builtins.map buildImage metadata.formats;
|
||||
in
|
||||
lib.listToAttrs images;
|
||||
lib.listToAttrs images;
|
||||
in
|
||||
lib.concatMapAttrs generateImages validImages;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user