From 5346e2e8b32d31ced69404b92819170907259091 Mon Sep 17 00:00:00 2001 From: Soispha Peetz Date: Sat, 31 Oct 2026 10:23:45 +0100 Subject: modules/{coredump,dhcpcd,nscd,oomd,resolvconf}: Reference the nixpkgs options instead of copying default values --- modules/by-name/co/coredump/module.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'modules/by-name/co/coredump/module.nix') diff --git a/modules/by-name/co/coredump/module.nix b/modules/by-name/co/coredump/module.nix index ce28ed9..5b5ed92 100644 --- a/modules/by-name/co/coredump/module.nix +++ b/modules/by-name/co/coredump/module.nix @@ -6,8 +6,7 @@ cfg = config.vhack.systemd.coredump; in { options.vhack.systemd.coredump = { - # NOTE(@bpeetz): Enabled by default, because that is what NixOS also does. <2024-12-25> - enable = (lib.mkEnableOption "oomd") // {default = true;}; + enable = (lib.mkEnableOption "oomd") // {default = config.systemd.coredump.enable;}; }; config = lib.mkIf cfg.enable { -- cgit v1.3.1