nixfmt
This commit is contained in:
parent
f7337345f4
commit
648ab4aea8
3 changed files with 10 additions and 9 deletions
|
@ -1,5 +1,4 @@
|
||||||
{ ... }:
|
{ ... }: {
|
||||||
{
|
|
||||||
imports = [ <agenix/modules/age.nix> ];
|
imports = [ <agenix/modules/age.nix> ];
|
||||||
age.secrets."wikiOpenID".file = ./wiki-openID.age;
|
age.secrets."wikiOpenID".file = ./wiki-openID.age;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +1,10 @@
|
||||||
let
|
let
|
||||||
lib = (import <nixpkgs> {}).lib;
|
lib = (import <nixpkgs> { }).lib;
|
||||||
readPubkeys = user: builtins.filter (k: k != "") (lib.splitString "\n" (builtins.readFile (../pubkeys + "/${user}.keys")));
|
readPubkeys = user:
|
||||||
in
|
builtins.filter (k: k != "")
|
||||||
{
|
(lib.splitString "\n" (builtins.readFile (../pubkeys + "/${user}.keys")));
|
||||||
"wiki-openID.age".publicKeys = (readPubkeys "sinavir") ++ (readPubkeys "hackens-host") ++ (readPubkeys "raito") ++ (readPubkeys "gdd") ++ (readPubkeys "backslash");
|
in {
|
||||||
|
"wiki-openID.age".publicKeys = (readPubkeys "sinavir")
|
||||||
|
++ (readPubkeys "hackens-host") ++ (readPubkeys "raito")
|
||||||
|
++ (readPubkeys "gdd") ++ (readPubkeys "backslash");
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,8 +5,7 @@ let
|
||||||
repo = "agenix";
|
repo = "agenix";
|
||||||
rev = "7e5e58b98c3dcbf497543ff6f22591552ebfe65b";
|
rev = "7e5e58b98c3dcbf497543ff6f22591552ebfe65b";
|
||||||
};
|
};
|
||||||
in
|
in {
|
||||||
{
|
|
||||||
nixpkgs.config.packageOverrides = {
|
nixpkgs.config.packageOverrides = {
|
||||||
hackens = import ./myPkgs { inherit pkgs; };
|
hackens = import ./myPkgs { inherit pkgs; };
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue