nixos-config/3modules/krebs.nix

27 lines
906 B
Nix
Raw Normal View History

2023-06-10 20:53:47 +02:00
{ lib, ... }:
2023-06-10 10:19:28 +02:00
# krebs emulation layer
{
2023-06-10 20:53:47 +02:00
options = with lib; with types;{
#krebs.enable = mkEnableOption "krebs";
#krebs.hosts = mkOption {
# default = {};
# type = attrsOf anything;
#};
2023-06-10 10:19:28 +02:00
krebs.build = mkOption {
default = {};
type = attrsOf anything;
};
2023-06-10 20:53:47 +02:00
#krebs.users = mkOption {
# default = {};
# type = attrsOf anything;
#};
2023-06-10 10:19:28 +02:00
};
config = {
2023-06-10 20:53:47 +02:00
krebs.users.makefu = {
2023-06-10 10:19:28 +02:00
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";
};
2023-06-10 20:53:47 +02:00
};
2023-06-10 10:19:28 +02:00
}