more or less wayland support
This commit is contained in:
parent
ada74f1c4e
commit
87f9fb7bb6
6 changed files with 188 additions and 7 deletions
27
programm_configs/wayland.nix
Normal file
27
programm_configs/wayland.nix
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
{ config, pkgs, ... }:
|
||||
let
|
||||
swayconf = ''
|
||||
input * {
|
||||
xkb_layout "de"
|
||||
}
|
||||
output eDP-2 mode 3840x2160
|
||||
exec "regreet; swaymsg exit"
|
||||
include /etc/sway/config.d/*
|
||||
'';
|
||||
in
|
||||
{
|
||||
# greeter for wayland
|
||||
hardware.opengl.enable = true;
|
||||
|
||||
services.greetd.enable = true;
|
||||
|
||||
programs.regreet = {
|
||||
enable = true;
|
||||
settings = {
|
||||
default_session = {
|
||||
command = "${pkgs.sway}/bin/sway --config ${swayconf}";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue