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, ... }:
|
{ 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;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue