From 5bc853c489e1150d5e070fea73fdfc67fb140de6 Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Sat, 6 Apr 2024 09:44:16 -0400 Subject: [PATCH] chore: Fix specializations evaluating as sets --- modules/desktop.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/modules/desktop.nix b/modules/desktop.nix index fc6227b9..12e3144c 100644 --- a/modules/desktop.nix +++ b/modules/desktop.nix @@ -203,8 +203,13 @@ in }; specialisation = { - gnome.configuration.imports = mkIf gnome [ ../specializations/gnome.nix ]; - plasma.configuration.imports = mkIf plasma [ ../specializations/plasma.nix ]; + gnome = mkIf gnome { + configuration.imports = [ ../specializations/gnome.nix ]; + }; + + plasma = mkIf plasma { + configuration.imports = [ ../specializations/plasma.nix ]; + }; }; }; }