profiles/dev: add servers submodule

Mainly for managing them VPSs while in your home.
This commit is contained in:
Gabriel Arazas 2023-10-17 13:26:06 +08:00
parent cfcd19313c
commit e3bb442154
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC

View File

@ -11,6 +11,7 @@ in {
lib.mkEnableOption "configuration of foo-dogsquared's shell of choice";
extras.enable = lib.mkEnableOption "additional tools for development stuff";
shaders.enable = lib.mkEnableOption "tools for developing shaders";
servers.enable = lib.mkEnableOption "toolkit for managing servers from your home";
};
config = lib.mkIf cfg.enable (lib.mkMerge [
@ -182,5 +183,16 @@ in {
shaderc # Make some seamless background loopy things.
];
})
(lib.mkIf cfg.servers.enable {
home.packages = with pkgs; [
bind.dnsutils # Make DNS a little less fun.
kanidm # What is you?
ipcalc # Calculate how many stars are there in space.
geoip # Know where the spam came from.
sshfs # Intrude others' home, why don't 'ya?
whois # Doctor, are you not?
];
})
]);
}