sound apparently adds gnome, who knew.

This commit is contained in:
Joseph Hanson 2024-08-04 06:26:25 -05:00
parent dc79f4da5a
commit a487c34a49
Signed by: jahanson
SSH key fingerprint: SHA256:vy6dKBECV522aPAwklFM3ReKAVB086rT3oWwiuiFG7o

View file

@ -1,11 +1,8 @@
{ lib, pkgs, ... }: { lib, pkgs, ... }:
# Role for headless servers # Role for headless servers
# covers raspi's, sbc, NUC etc, anything
# that is headless and minimal for running services
with lib; with lib;
{ {
config = { config = {
# Enable monitoring for remote scraping
mySystem = { mySystem = {
services.rebootRequiredCheck.enable = true; services.rebootRequiredCheck.enable = true;
security.wheelNeedsSudoPassword = false; security.wheelNeedsSudoPassword = false;
@ -14,8 +11,6 @@ with lib;
}; };
nix.settings = { nix.settings = {
# TODO factor out into mySystem
# Avoid disk full issues
max-free = lib.mkDefault (1000 * 1000 * 1000); max-free = lib.mkDefault (1000 * 1000 * 1000);
min-free = lib.mkDefault (128 * 1000 * 1000); min-free = lib.mkDefault (128 * 1000 * 1000);
}; };
@ -33,8 +28,10 @@ with lib;
nixos.enable = mkDefault false; nixos.enable = mkDefault false;
}; };
programs.command-not-found.enable = mkDefault false; sound.enable = false;
sound.enable = mkDefault false; hardware.pulseaudio.enable = false;
services.udisks2.enable = mkDefault false; services.udisks2.enable = mkDefault false;
programs.command-not-found.enable = mkDefault false;
}; };
} }