Try out gdm

This commit is contained in:
Nathan McCarty 2023-06-23 01:19:22 -04:00
parent fe9fd74499
commit 4e745ee4f1
Signed by: thatonelutenist
SSH Key Fingerprint: SHA256:hwQEcmak9E6sdU9bXc98RHw/Xd1AhpB5HZT7ZSVJkRM
1 changed files with 14 additions and 24 deletions

View File

@ -4,14 +4,14 @@ in with lib; {
config = mkMerge [ config = mkMerge [
(mkIf nc.hyprland.enableGreetd { (mkIf nc.hyprland.enableGreetd {
# Greetd for login # Greetd for login
programs.regreet = { # programs.regreet = {
enable = true; # enable = true;
settings = { GTK = { font_name = "Roboto 16"; }; }; # settings = { GTK = { font_name = "Roboto 16"; }; };
}; # };
services.greetd = { # services.greetd = {
enable = true; # enable = true;
settings = { default_session.command = "cage -s -- regreet"; }; # settings = { default_session.command = "cage -s -- regreet"; };
}; # };
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
# Greeter packages # Greeter packages
cage cage
@ -23,9 +23,14 @@ in with lib; {
# Turn on GDM for login # Turn on GDM for login
services.xserver = { services.xserver = {
enable = true; enable = true;
autorun = false; autorun = true;
# Enable plasma for the applications # Enable plasma for the applications
desktopManager.plasma5.enable = true; desktopManager.plasma5.enable = true;
displayManager.defaultSession = "hyprland";
displayManager.gdm = {
enable = true;
wayland = true;
};
}; };
# Setup drivers # Setup drivers
hardware.opengl = { hardware.opengl = {
@ -42,21 +47,6 @@ in with lib; {
gsettings-desktop-schemas gsettings-desktop-schemas
lxappearance lxappearance
kde-gtk-config kde-gtk-config
(stdenv.mkDerivation rec {
pname = "sddm-sugar-dark-theme";
version = "1.2";
dontBuild = true;
installPhase = ''
mkdir -p $out/share/sddm/themes
cp -aR $src $out/share/sddm/themes/sugar-dark
'';
src = fetchFromGitHub {
owner = "MarianArlt";
repo = "sddm-sugar-dark";
rev = "v${version}";
sha256 = "0gx0am7vq1ywaw2rm1p015x90b75ccqxnb1sz3wy8yjl27v82yhb";
};
})
]; ];
qt.platformTheme = "qt5ct"; qt.platformTheme = "qt5ct";
# Enable and configure hyperland # Enable and configure hyperland