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