1
0
Fork 0
nix-configuration/modules/roles/server.nix
2024-03-02 12:58:30 -05:00

15 lines
266 B
Nix

{ config, lib, modulesPath, pkgs, ... }:
let
inherit (config.host) role;
in
with lib;
{
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
config = mkIf (role == "server") {
environment.systemPackages = with pkgs; [
direnv
htop
];
};
}