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:
parent
fefb810d97
commit
4a0d8c4254
16 changed files with 36 additions and 24 deletions
|
@ -159,7 +159,7 @@
|
|||
render.tab = "all";
|
||||
};
|
||||
|
||||
settings.keys = genAttrs [ "normal" "select" ] (_: {
|
||||
settings.keys = genAttrs [ "normal" "select" ] (const {
|
||||
D = "extend_to_line_end";
|
||||
});
|
||||
};
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -25,5 +25,5 @@
|
|||
"LC_PAPER"
|
||||
"LC_TELEPHONE"
|
||||
"LC_TIME"
|
||||
] (_: "tr_TR.UTF-8");
|
||||
] (const "tr_TR.UTF-8");
|
||||
})
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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)";
|
||||
|
|
13
modules/restic/password.age
Normal file
13
modules/restic/password.age
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue