1
0
Fork 0
nix-configuration/modules/roles/server.nix

23 lines
323 B
Nix
Raw Normal View History

{
config,
lib,
modulesPath,
pkgs,
...
}:
2024-02-29 09:53:34 -05:00
let
inherit (config.host) role;
2024-02-29 09:53:34 -05:00
in
with lib;
2024-02-29 09:53:34 -05:00
{
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
2024-02-29 09:53:34 -05:00
config = mkIf (role == "server") {
host.apps.tmux.enable = true;
environment.systemPackages = with pkgs; [
htop
mdadm
];
};
2024-05-04 21:20:11 -04:00
}