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

15 lines
263 B
Nix
Raw Normal View History

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