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