add lazygit to server role environment
Some checks failed
Build / nix-build (native-aarch64, varda) (pull_request) Failing after 30s
Build / nix-build (native-x86_64, durincore) (pull_request) Has been cancelled

This commit is contained in:
Joseph Hanson 2024-05-31 08:46:04 -05:00
parent 42823f044e
commit c05b49dafa

View file

@ -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;
# };
}; };
} }