add lazygit to server role environment
This commit is contained in:
parent
42823f044e
commit
c05b49dafa
1 changed files with 6 additions and 18 deletions
|
@ -1,15 +1,10 @@
|
||||||
{ config, lib, pkgs, imports, boot, self, ... }:
|
{ config, lib, ... }:
|
||||||
# Role for headless servers
|
# Role for headless servers
|
||||||
# covers raspi's, sbc, NUC etc, anything
|
# covers raspi's, sbc, NUC etc, anything
|
||||||
# that is headless and minimal for running services
|
# that is headless and minimal for running services
|
||||||
|
|
||||||
with lib;
|
with lib;
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
config = {
|
config = {
|
||||||
|
|
||||||
|
|
||||||
# Enable monitoring for remote scraiping
|
# Enable monitoring for remote scraiping
|
||||||
mySystem.services.promMonitoring.enable = true;
|
mySystem.services.promMonitoring.enable = true;
|
||||||
mySystem.services.rebootRequiredCheck.enable = true;
|
mySystem.services.rebootRequiredCheck.enable = true;
|
||||||
|
@ -32,8 +27,10 @@ with lib;
|
||||||
};
|
};
|
||||||
|
|
||||||
services.logrotate.enable = mkDefault true;
|
services.logrotate.enable = mkDefault true;
|
||||||
|
environment = {
|
||||||
environment.noXlibs = mkDefault true;
|
noXlibs = mkDefault true;
|
||||||
|
systemPackages = [ pkgs.lazygit ];
|
||||||
|
};
|
||||||
documentation = {
|
documentation = {
|
||||||
enable = mkDefault false;
|
enable = mkDefault false;
|
||||||
doc.enable = mkDefault false;
|
doc.enable = mkDefault false;
|
||||||
|
@ -41,19 +38,10 @@ with lib;
|
||||||
man.enable = mkDefault false;
|
man.enable = mkDefault false;
|
||||||
nixos.enable = mkDefault false;
|
nixos.enable = mkDefault false;
|
||||||
};
|
};
|
||||||
programs.command-not-found.enable = mkDefault false;
|
|
||||||
|
|
||||||
|
programs.command-not-found.enable = mkDefault false;
|
||||||
sound.enable = false;
|
sound.enable = false;
|
||||||
hardware.pulseaudio.enable = false;
|
hardware.pulseaudio.enable = false;
|
||||||
|
|
||||||
|
|
||||||
services.udisks2.enable = mkDefault false;
|
services.udisks2.enable = mkDefault false;
|
||||||
# xdg = {
|
|
||||||
# autostart.enable = mkDefault false;
|
|
||||||
# icons.enable = mkDefault false;
|
|
||||||
# mime.enable = mkDefault true;
|
|
||||||
# sounds.enable = mkDefault false;
|
|
||||||
# };
|
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue