Reduce build size via config restriction

This commit is contained in:
soraefir
2026-06-21 22:51:54 +02:00
parent 798c222bd6
commit 473b290258
11 changed files with 35 additions and 31 deletions
@@ -1,10 +1,12 @@
{ pkgs, ... }: {
security.polkit.enable = true;
security.pam.services.hyprlock = { #swaylock
text = ''
auth include login
'';
};
{ config, lib, pkgs, ... }: {
config = lib.mkIf config.syscfg.make.gui {
security.polkit.enable = true;
security.pam.services.hyprlock = { #swaylock
text = ''
auth include login
'';
};
environment.systemPackages = with pkgs; [ polkit_gnome ];
environment.systemPackages = [ pkgs.polkit_gnome ];
};
}