mirror of
https://github.com/Superredstone/nixos.git
synced 2026-08-19 11:48:57 +02:00
refactor(de): move plasma config to separate file
This commit is contained in:
6 files changed
+22
-66
No files matched your search
@@ -1,27 +0,0 @@
|
||||
{ currentSystemDe, ... }:
|
||||
let
|
||||
ifDesktop = de: content: {
|
||||
_type = "if";
|
||||
condition = currentSystemDe == de;
|
||||
inherit content;
|
||||
};
|
||||
ifNotDesktop = de: content: {
|
||||
_type = "if";
|
||||
condition = currentSystemDe != de;
|
||||
inherit content;
|
||||
};
|
||||
ifGnome = ifDesktop "gnome";
|
||||
ifPlasma = ifDesktop "plasma";
|
||||
ifNone = ifDesktop "none";
|
||||
ifNotNone = ifNotDesktop "none";
|
||||
in
|
||||
{
|
||||
inherit
|
||||
ifDesktop
|
||||
ifNotDesktop
|
||||
ifGnome
|
||||
ifPlasma
|
||||
ifNone
|
||||
ifNotNone
|
||||
;
|
||||
}
|
||||
Reference in new issue
Block a user