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 [
(mkIf nc.hyprland.enableGreetd {
# Greetd for login
programs.regreet = {
enable = true;
settings = { GTK = { font_name = "Roboto 16"; }; };
};
services.greetd = {
enable = true;
settings = { default_session.command = "cage -s -- regreet"; };
};
# programs.regreet = {
# enable = true;
# settings = { GTK = { font_name = "Roboto 16"; }; };
# };
# services.greetd = {
# enable = true;
# settings = { default_session.command = "cage -s -- regreet"; };
# };
environment.systemPackages = with pkgs; [
# Greeter packages
cage
@ -23,9 +23,14 @@ in with lib; {
# Turn on GDM for login
services.xserver = {
enable = true;
autorun = false;
autorun = true;
# Enable plasma for the applications
desktopManager.plasma5.enable = true;
displayManager.defaultSession = "hyprland";
displayManager.gdm = {
enable = true;
wayland = true;
};
};
# Setup drivers
hardware.opengl = {
@ -42,21 +47,6 @@ in with lib; {
gsettings-desktop-schemas
lxappearance
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";
# Enable and configure hyperland