mirror of
https://github.com/RGBCube/ncc
synced 2025-07-27 18:17:44 +00:00
chore: formatting
This commit is contained in:
parent
7ef87ccfcd
commit
5f98d2c3b9
3 changed files with 5 additions and 5 deletions
|
@ -38,7 +38,7 @@ in {
|
|||
});
|
||||
|
||||
in self.nixosConfigurations
|
||||
|> mapAttrsToList configToScrapeConfig
|
||||
|> flatten;
|
||||
|> mapAttrsToList configToScrapeConfig
|
||||
|> flatten;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -7,7 +7,7 @@ in {
|
|||
(if config.isLinux then
|
||||
"/root/.ssh/id"
|
||||
else
|
||||
"/Users/${config.users.users |> attrNames |> head}/.ssh/id")
|
||||
"/Users/${head <| attrNames <| config.users.users}/.ssh/id")
|
||||
];
|
||||
|
||||
environment = mkIf config.isDesktop {
|
||||
|
|
|
@ -35,8 +35,8 @@ in {
|
|||
};
|
||||
|
||||
nix.nixPath = registryMap
|
||||
|> mapAttrsToList (name: value: "${name}=${value}")
|
||||
|> (if config.isDarwin then concatStringsSep ":" else id);
|
||||
|> mapAttrsToList (name: value: "${name}=${value}")
|
||||
|> (if config.isDarwin then concatStringsSep ":" else id);
|
||||
|
||||
nix.registry = registryMap // { default = inputs.nixpkgs; }
|
||||
|> mapAttrs (_: flake: { inherit flake; });
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue