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

Use map without the namespace

This commit is contained in:
RGBCube 2024-01-27 21:31:00 +03:00
parent 24660866db
commit 72f2a46835
No known key found for this signature in database
3 changed files with 4 additions and 4 deletions

View file

@ -156,7 +156,7 @@
});
defaultConfiguration = {
age.identityPaths = builtins.map (user: "/home/${user}/.ssh/id") users.all;
age.identityPaths = map (user: "/home/${user}/.ssh/id") users.all;
home-manager.users = lib.genAttrs users.all (_: {});
home-manager.useGlobalPkgs = true;

View file

@ -27,7 +27,7 @@
args = [ "fmt" "-" "--ext" language ];
};
denoFormatterLanguages = builtins.map (name: {
denoFormatterLanguages = map (name: {
inherit name;
auto-format = true;
@ -39,7 +39,7 @@
args = [ "--parser" language ];
};
prettierLanguages = builtins.map (name: {
prettierLanguages = map (name: {
inherit name;
auto-format = true;

View file

@ -2,7 +2,7 @@
systemConfiguration {
age.secrets = lib.genAttrs
(builtins.map
(map
(lib.removeSuffix ".age")
(builtins.attrNames
(builtins.removeAttrs (import ./secrets.nix) [ "keys" ])))