sddm on wayland!
This commit is contained in:
parent
619364df89
commit
834c7095cc
1 changed files with 20 additions and 14 deletions
|
|
@ -23,26 +23,32 @@ in {
|
||||||
};
|
};
|
||||||
xserver = {
|
xserver = {
|
||||||
enable = true;
|
enable = true;
|
||||||
autorun = false;
|
xkb = {
|
||||||
layout = "us";
|
layout = "us";
|
||||||
xkbVariant = "altgr-intl";
|
variant = "altgr-intl";
|
||||||
|
};
|
||||||
exportConfiguration = true;
|
exportConfiguration = true;
|
||||||
excludePackages = (with pkgs; [ xterm ]);
|
excludePackages = (with pkgs; [ xterm ]);
|
||||||
displayManager.startx.enable = true;
|
displayManager = {
|
||||||
|
defaultSession = "plasmawayland";
|
||||||
|
sddm = {
|
||||||
|
enable = true;
|
||||||
|
wayland = {
|
||||||
|
enable = true;
|
||||||
|
compositorCommand =
|
||||||
|
"${pkgs.kwin}/bin/kwin_wayland --no-global-shortcuts --no-lockscreen --locale1";
|
||||||
|
};
|
||||||
|
settings.General = {
|
||||||
|
GreeterEnvironment =
|
||||||
|
"QT_PLUGIN_PATH=${pkgs.plasma5Packages.layer-shell-qt}/${pkgs.plasma5Packages.qtbase.qtPluginPrefix},QT_WAYLAND_SHELL_INTEGRATION=layer-shell,XKB_DEFAULT_KEYMAP=en";
|
||||||
|
InputMethod = "";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
desktopManager.plasma5.enable = true;
|
desktopManager.plasma5.enable = true;
|
||||||
};
|
};
|
||||||
greetd = {
|
|
||||||
enable = true;
|
|
||||||
settings = {
|
|
||||||
default_session.command = ''
|
|
||||||
${pkgs.greetd.tuigreet}/bin/tuigreet --remember --user-menu --asterisks --time --greeting "Welcome to NixOS" --cmd ${plasma}/bin/plasma'';
|
|
||||||
initial_session = {
|
|
||||||
command = "${plasma}/bin/plasma";
|
|
||||||
user = "user";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
xdg.portal = {
|
xdg.portal = {
|
||||||
enable = true;
|
enable = true;
|
||||||
xdgOpenUsePortal = true;
|
xdgOpenUsePortal = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue