From 01ccb0cead584733e6c89fcad44c441fe05bc5c7 Mon Sep 17 00:00:00 2001 From: seth Date: Wed, 22 Feb 2023 02:22:10 -0500 Subject: switch back to alejandra nixpkgs-fmt is weird... --- hosts/common/desktop/default.nix | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) (limited to 'hosts/common/desktop/default.nix') diff --git a/hosts/common/desktop/default.nix b/hosts/common/desktop/default.nix index 3496df9..3a651ea 100644 --- a/hosts/common/desktop/default.nix +++ b/hosts/common/desktop/default.nix @@ -1,22 +1,21 @@ -{ lib -, desktop -, ... -}: -let - gui = desktop != ""; -in { + lib, + desktop, + ... +}: let + gui = desktop != ""; +in { imports = - [ ] + [] ++ ( if (desktop == "gnome") - then [ ./gnome.nix ] - else [ ] + then [./gnome.nix] + else [] ) ++ ( if (desktop == "plasma") - then [ ./plasma.nix ] - else [ ] + then [./plasma.nix] + else [] ); environment.noXlibs = lib.mkForce false; -- cgit v1.2.3