sound apparently adds gnome, who knew.
This commit is contained in:
parent
dc79f4da5a
commit
a487c34a49
1 changed files with 4 additions and 7 deletions
|
@ -1,11 +1,8 @@
|
|||
{ lib, pkgs, ... }:
|
||||
# Role for headless servers
|
||||
# covers raspi's, sbc, NUC etc, anything
|
||||
# that is headless and minimal for running services
|
||||
with lib;
|
||||
{
|
||||
config = {
|
||||
# Enable monitoring for remote scraping
|
||||
mySystem = {
|
||||
services.rebootRequiredCheck.enable = true;
|
||||
security.wheelNeedsSudoPassword = false;
|
||||
|
@ -14,8 +11,6 @@ with lib;
|
|||
};
|
||||
|
||||
nix.settings = {
|
||||
# TODO factor out into mySystem
|
||||
# Avoid disk full issues
|
||||
max-free = lib.mkDefault (1000 * 1000 * 1000);
|
||||
min-free = lib.mkDefault (128 * 1000 * 1000);
|
||||
};
|
||||
|
@ -33,8 +28,10 @@ with lib;
|
|||
nixos.enable = mkDefault false;
|
||||
};
|
||||
|
||||
programs.command-not-found.enable = mkDefault false;
|
||||
sound.enable = mkDefault false;
|
||||
sound.enable = false;
|
||||
hardware.pulseaudio.enable = false;
|
||||
|
||||
services.udisks2.enable = mkDefault false;
|
||||
programs.command-not-found.enable = mkDefault false;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue