This commit is contained in:
mjallen18
2024-05-05 14:00:55 -05:00
parent 040cbfb1de
commit de45316414
5 changed files with 40 additions and 24 deletions

View File

@@ -10,8 +10,6 @@ let
hostname = "matt-nixos";
gnome = true;
plasma = false;
# gnome46 = import (builtins.fetchTarball https://github.com/nixos/nixpgs/tarball/gnome-46) { config = config.nixpgs.config; };
in {
imports = [ # Include the results of the hardware scan.
./hardware-configuration.nix
@@ -68,9 +66,6 @@ in {
bootspec.enable = true;
};
# gnome46.services.desktopManager.gnome.enable = true;
# gnome46.services.displayManager.gdm.enable = true;
# Services configs
services = {
# Enable the X11 windowing system.
@@ -80,12 +75,17 @@ in {
# Enable Desktop Environment.
displayManager = {
gdm.enable = gnome;
sddm.enable = plasma;
defaultSession = if plasma then "plasma" else "gnome";
};
desktopManager.gnome.enable = gnome;
};
# Enable Desktop Environment.
displayManager = {
sddm.enable = plasma;
defaultSession = if plasma then "plasma" else "gnome";
};
# displayManager.gdm.enable = gnome;
# desktopManager.gnome.enable = gnome;
desktopManager.plasma6.enable = plasma;