From fd76089ca727c24cbd250b873fc21ff40f86e24a Mon Sep 17 00:00:00 2001 From: Nydragon Date: Sun, 18 Aug 2024 16:49:34 +0200 Subject: [PATCH] feat: move sddm to be manually enabled --- hosts/brontes/configuration.nix | 2 ++ modules/sddm.nix | 9 +++++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/hosts/brontes/configuration.nix b/hosts/brontes/configuration.nix index b1a3055..93fa9b1 100644 --- a/hosts/brontes/configuration.nix +++ b/hosts/brontes/configuration.nix @@ -38,6 +38,8 @@ ]; }; + services.displayManager.sddm.enable = true; + services.dbus.enable = true; programs = { diff --git a/modules/sddm.nix b/modules/sddm.nix index b1d9738..01758eb 100644 --- a/modules/sddm.nix +++ b/modules/sddm.nix @@ -1,7 +1,12 @@ -{ self, pkgs, ... }: { + self, + pkgs, + lib, + config, + ... +}: +lib.mkIf config.services.displayManager.sddm.enable { services.displayManager.sddm = { - enable = true; wayland.enable = true; autoNumlock = true; theme = "catppuccin-mocha";