1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-28 10:37:44 +00:00

chore: formatting

This commit is contained in:
RGBCube 2025-02-28 19:13:31 +03:00
parent 7ef87ccfcd
commit 5f98d2c3b9
Signed by: RGBCube
SSH key fingerprint: SHA256:CzqbPcfwt+GxFYNnFVCqoN5Itn4YFrshg1TrnACpA5M
3 changed files with 5 additions and 5 deletions

View file

@ -38,7 +38,7 @@ in {
}); });
in self.nixosConfigurations in self.nixosConfigurations
|> mapAttrsToList configToScrapeConfig |> mapAttrsToList configToScrapeConfig
|> flatten; |> flatten;
}; };
} }

View file

@ -7,7 +7,7 @@ in {
(if config.isLinux then (if config.isLinux then
"/root/.ssh/id" "/root/.ssh/id"
else else
"/Users/${config.users.users |> attrNames |> head}/.ssh/id") "/Users/${head <| attrNames <| config.users.users}/.ssh/id")
]; ];
environment = mkIf config.isDesktop { environment = mkIf config.isDesktop {

View file

@ -35,8 +35,8 @@ in {
}; };
nix.nixPath = registryMap nix.nixPath = registryMap
|> mapAttrsToList (name: value: "${name}=${value}") |> mapAttrsToList (name: value: "${name}=${value}")
|> (if config.isDarwin then concatStringsSep ":" else id); |> (if config.isDarwin then concatStringsSep ":" else id);
nix.registry = registryMap // { default = inputs.nixpkgs; } nix.registry = registryMap // { default = inputs.nixpkgs; }
|> mapAttrs (_: flake: { inherit flake; }); |> mapAttrs (_: flake: { inherit flake; });