Try out gdm
This commit is contained in:
parent
fe9fd74499
commit
4e745ee4f1
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue