adapt work pc
This commit is contained in:
parent
4898f5cc5f
commit
dca271648e
54 changed files with 126 additions and 847 deletions
26
hosts/common/wayland.nix
Normal file
26
hosts/common/wayland.nix
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
{
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
{
|
||||
security = {
|
||||
polkit.enable = true;
|
||||
pam.services.hyprlock = { };
|
||||
};
|
||||
|
||||
programs = {
|
||||
dconf.enable = true;
|
||||
xwayland.enable = true;
|
||||
};
|
||||
|
||||
services.graphical-desktop.enable = true;
|
||||
services.xserver.desktopManager.runXdgAutostartIfNone = lib.mkDefault true;
|
||||
|
||||
xdg.portal = {
|
||||
enable = true;
|
||||
xdgOpenUsePortal = true;
|
||||
config.common.degault = "*";
|
||||
extraPortals = with pkgs; [ xdg-desktop-portal-gtk ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue