From f0c524a6ac40e153117caf11431d5c7a2edcd3f8 Mon Sep 17 00:00:00 2001 From: makefu Date: Sat, 10 Jun 2023 20:53:47 +0200 Subject: init secrets --- 3modules/krebs.nix | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) (limited to '3modules') diff --git a/3modules/krebs.nix b/3modules/krebs.nix index bdddcf1a4..ea961015e 100644 --- a/3modules/krebs.nix +++ b/3modules/krebs.nix @@ -1,25 +1,26 @@ -{ lib }: +{ lib, ... }: # krebs emulation layer { - options = with lib.types;{ - krebs.hosts = mkOption { - default = {}; - type = attrsOf anything; - }; + options = with lib; with types;{ + #krebs.enable = mkEnableOption "krebs"; + #krebs.hosts = mkOption { + # default = {}; + # type = attrsOf anything; + #}; krebs.build = mkOption { default = {}; type = attrsOf anything; }; - krebs.users = mkOption { - default = {}; - type = attrsOf anything; - }; + #krebs.users = mkOption { + # default = {}; + # type = attrsOf anything; + #}; }; config = { - users.makefu = { + krebs.users.makefu = { name = "makefu"; mail = "makefu@x.r"; pubkey = "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCl3RTOHd5DLiVeUbUr/GSiKoRWknXQnbkIf+uNiFO+XxiqZVojPlumQUVhasY8UzDzj9tSDruUKXpjut50FhIO5UFAgsBeMJyoZbgY/+R+QKU00Q19+IiUtxeFol/9dCO+F4o937MC0OpAC10LbOXN/9SYIXueYk3pJxIycXwUqhYmyEqtDdVh9Rx32LBVqlBoXRHpNGPLiswV2qNe0b5p919IGcslzf1XoUzfE3a3yjk/XbWh/59xnl4V7Oe7+iQheFxOT6rFA30WYwEygs5As//ZYtxvnn0gA02gOnXJsNjOW9irlxOUeP7IOU6Ye3WRKFRR0+7PS+w8IJLag2xb makefu@x"; }; - } + }; } -- cgit v1.2.3 [cgit] Unable to lock slot /tmp/cgit/dc300000.lock: No such file or directory (2)