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

16 lines
265 B
Nix
Raw Normal View History

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