Various GUI fixes

This commit is contained in:
Jack O'Sullivan 2023-08-27 20:04:53 +01:00
parent 0672e94962
commit 3286cc0bcb
4 changed files with 18 additions and 18 deletions

View File

@ -260,6 +260,11 @@ in
emoji-mode = "copy";
};
};
swaylock = {
enable = true;
# need to use system swaylock for PAM reasons
package = pkgs.runCommandWith { name = "swaylock-dummy"; } ''mkdir $out'';
};
chromium = {
enable = true;

View File

@ -177,7 +177,10 @@
};
my = {
gui.standalone = true;
gui = {
standalone = true;
manageGraphical = true;
};
};
};
};

View File

@ -181,7 +181,10 @@
};
my = {
gui.standalone = true;
gui = {
standalone = true;
manageGraphical = true;
};
};
};
};

View File

@ -21,11 +21,15 @@ in
];
};
security.polkit.enable = true;
security = {
polkit.enable = true;
pam.services.swaylock = {};
};
environment.systemPackages = with pkgs; [
# for pw-jack
pipewire.jack
swaylock
];
services = {
pipewire = {
@ -62,21 +66,6 @@ in
noto-fonts-emoji
];
nixpkgs.overlays = [
(self: super: {
xdg-desktop-portal = super.xdg-desktop-portal.overrideAttrs (old: rec {
# https://github.com/flatpak/xdg-desktop-portal/issues/861
version = "1.14.6";
src = pkgs.fetchFromGitHub {
owner = "flatpak";
repo = old.pname;
rev = version;
sha256 = "sha256-MD1zjKDWwvVTui0nYPgvVjX48DaHWcP7Q10vDrNKYz0=";
};
});
})
];
xdg = {
portal = {
enable = true;