mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-07 12:19:07 +00:00
profiles/dev: add servers submodule
Mainly for managing them VPSs while in your home.
This commit is contained in:
parent
cfcd19313c
commit
e3bb442154
@ -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?
|
||||
];
|
||||
})
|
||||
]);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user