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

17 lines
298 B
Nix
Raw Normal View History

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