mirror of
https://github.com/RGBCube/ncc
synced 2025-07-28 10:37: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
|
in self.nixosConfigurations
|
||||||
|> mapAttrsToList configToScrapeConfig
|
|> mapAttrsToList configToScrapeConfig
|
||||||
|> flatten;
|
|> flatten;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
|
@ -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; });
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue