From 00ae5602b3f7f2b73ff8fa7f58e622f162d1281f Mon Sep 17 00:00:00 2001 From: makefu Date: Sat, 10 Jun 2023 10:19:28 +0200 Subject: modules: add krebs emulation layer --- 3modules/krebs.nix | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 3modules/krebs.nix (limited to '3modules') diff --git a/3modules/krebs.nix b/3modules/krebs.nix new file mode 100644 index 000000000..bdddcf1a4 --- /dev/null +++ b/3modules/krebs.nix @@ -0,0 +1,25 @@ +{ lib }: +# krebs emulation layer +{ + options = with lib.types;{ + krebs.hosts = mkOption { + default = {}; + type = attrsOf anything; + }; + krebs.build = mkOption { + default = {}; + type = attrsOf anything; + }; + krebs.users = mkOption { + default = {}; + type = attrsOf anything; + }; + }; + config = { + 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/2c300000.lock: No such file or directory (2)