1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-30 19:47:47 +00:00

Use lib.const and fix restic password age file

This commit is contained in:
RGBCube 2024-05-27 13:43:40 +03:00
parent fefb810d97
commit 4a0d8c4254
Signed by: RGBCube
SSH key fingerprint: SHA256:CzqbPcfwt+GxFYNnFVCqoN5Itn4YFrshg1TrnACpA5M
16 changed files with 36 additions and 24 deletions

View file

@ -159,7 +159,7 @@
render.tab = "all";
};
settings.keys = genAttrs [ "normal" "select" ] (_: {
settings.keys = genAttrs [ "normal" "select" ] (const {
D = "extend_to_line_end";
});
};

View file

@ -42,7 +42,7 @@ desktopUserHomeConfiguration {
inner-pad = padding;
};
settings.colors = mapAttrs (_: color: color + "FF") {
settings.colors = mapAttrs (const (color: color + "FF")) {
background = base00;
text = base05;
match = base0A;

View file

@ -25,5 +25,5 @@
"LC_PAPER"
"LC_TELEPHONE"
"LC_TIME"
] (_: "tr_TR.UTF-8");
] (const "tr_TR.UTF-8");
})

View file

@ -17,7 +17,7 @@
registry = {
default.flake = inputs.nixpkgs;
} // mapAttrs (_: value: mkIf (isType "flake" value) {
} // mapAttrs (const (value: mkIf (isType "flake" value)) {
flake = value;
}) inputs;

View file

@ -40,7 +40,7 @@
configFile.text = readFile ./configuration.nu;
envFile.source = ./environment.nu;
environmentVariables = mapAttrs (_: value: ''"${value}"'') config.environment.variables;
environmentVariables = mapAttrs (const (value: ''"${value}"'')) config.environment.variables;
shellAliases = (attrsets.removeAttrs config.environment.shellAliases [ "ls" "l" ]) // {
cdtmp = "cd (mktemp --directory)";

View file

@ -0,0 +1,13 @@
age-encryption.org/v1
-> ssh-ed25519 +rZ0Tw Em0WbO4gplG2ja+XW889tC0EGeuc8Mv3IfOWvwN0QXE
5zIOO6qXiBcOOPe00D5hWMaQiA8pM6zmsWxV2wubNJE
-> ssh-ed25519 spFFQA Dp3QVWKHnrPnJXQ3n9t6PzDLuulZu98CZDm25WZaJgA
4PexDQzjTEA3KQ2oo+2lC8cHdYp8iOc5ilKrnf54uOU
-> ssh-ed25519 CzqbPQ Ove5RO0REKpcyDrcihPYFqAxO0ynvK9MIJhM2BX8v1A
KyIbllnvM+Eiir2wsMp1mdkyjbKPcsCQy8tNLoF+CNA
-> ssh-ed25519 dASlBQ P3eVN6O2MfcSzdIlV6z7ALBtKC0HhtW296qDIjtayEk
+drcAG52h0dzmp45woWadyNlUqaY156XaGEeq5AR0JM
-> ssh-ed25519 f5VzMA 4e4M6qzgt1qiZp2DJrd9Jk5wDEVBB8Gac31litJ62Ug
QretaVV5MLi5qwt18eQyDCJiTvicV/VAvvImfx1//FI
--- 5AqRIM2qsjiMytT70BtR7JS/XRNj5U7mpzSu6mjmmrY
}ÅM<C385> }€K6ÓÝÐå¸ëaG„s➨¥ßÿBá$¿âiÑ[Õ¶Ã@LoIÉL