From 8b5e6cfeed2b5c7088cdf8a98bacee72ad6cabd4 Mon Sep 17 00:00:00 2001 From: sils Date: Thu, 20 Apr 2023 18:25:45 +0200 Subject: Feat(structure): Restructured repository This is mainly convenience and my personal preference. --- desktop/gnome.nix | 10 ---------- desktop/gnome/default.nix | 6 ++++++ desktop/plasma.nix | 18 ------------------ desktop/plasma/default.nix | 14 ++++++++++++++ desktop/xfce.nix | 13 ------------- desktop/xfce/default.nix | 9 +++++++++ 6 files changed, 29 insertions(+), 41 deletions(-) delete mode 100644 desktop/gnome.nix create mode 100644 desktop/gnome/default.nix delete mode 100644 desktop/plasma.nix create mode 100644 desktop/plasma/default.nix delete mode 100644 desktop/xfce.nix create mode 100644 desktop/xfce/default.nix (limited to 'desktop') diff --git a/desktop/gnome.nix b/desktop/gnome.nix deleted file mode 100644 index 630b30a..0000000 --- a/desktop/gnome.nix +++ /dev/null @@ -1,10 +0,0 @@ -{ - config, - pkgs, - ... -}: { - services.xserver.enable = true; - - services.xserver.displayManager.gdm.enable = true; - services.xserver.desktopManager.gnome.enable = true; -} diff --git a/desktop/gnome/default.nix b/desktop/gnome/default.nix new file mode 100644 index 0000000..dbeb0f6 --- /dev/null +++ b/desktop/gnome/default.nix @@ -0,0 +1,6 @@ +{...}: { + services.xserver.enable = true; + + services.xserver.displayManager.gdm.enable = true; + services.xserver.desktopManager.gnome.enable = true; +} diff --git a/desktop/plasma.nix b/desktop/plasma.nix deleted file mode 100644 index 8a33310..0000000 --- a/desktop/plasma.nix +++ /dev/null @@ -1,18 +0,0 @@ -{ - config, - pkgs, - ... -}: { - services.xserver = { - enable = true; - displayManager.sddm.enable = true; - desktopManager.plasma5 = { - enable = true; - excludePackages = with pkgs.libsForQt5; [ - kwallet - kwallet-pam - kwalletmanager - ]; - }; - }; -} diff --git a/desktop/plasma/default.nix b/desktop/plasma/default.nix new file mode 100644 index 0000000..4198029 --- /dev/null +++ b/desktop/plasma/default.nix @@ -0,0 +1,14 @@ +{pkgs, ...}: { + services.xserver = { + enable = true; + displayManager.sddm.enable = true; + desktopManager.plasma5 = { + enable = true; + excludePackages = with pkgs.libsForQt5; [ + kwallet + kwallet-pam + kwalletmanager + ]; + }; + }; +} diff --git a/desktop/xfce.nix b/desktop/xfce.nix deleted file mode 100644 index 227e063..0000000 --- a/desktop/xfce.nix +++ /dev/null @@ -1,13 +0,0 @@ -{ - config, - pkgs, - ... -}: { - services = { - blueman.enable = true; - xserver = { - enable = true; - desktopManager.xfce.enable = true; - }; - }; -} diff --git a/desktop/xfce/default.nix b/desktop/xfce/default.nix new file mode 100644 index 0000000..b0de71a --- /dev/null +++ b/desktop/xfce/default.nix @@ -0,0 +1,9 @@ +{...}: { + services = { + blueman.enable = true; + xserver = { + enable = true; + desktopManager.xfce.enable = true; + }; + }; +} -- cgit 1.4.1