24 lines
471 B
Nix
24 lines
471 B
Nix
|
{ lib, pkgs, ... }: with lib; {
|
||
|
security = {
|
||
|
polkit.enable = true;
|
||
|
pam.services.swaylock = {};
|
||
|
};
|
||
|
|
||
|
hardware.opengl.enable = mkDefault true;
|
||
|
fonts.enableDefaultFonts = mkDefault true;
|
||
|
|
||
|
programs = {
|
||
|
dconf.enable = mkDefault true;
|
||
|
xwayland.enable = mkDefault true;
|
||
|
};
|
||
|
|
||
|
xdg.portal = {
|
||
|
enable = mkDefault true;
|
||
|
|
||
|
extraPortals = [
|
||
|
# For screen sharing
|
||
|
pkgs.xdg-desktop-portal-wlr
|
||
|
];
|
||
|
};
|
||
|
}
|