This commit is contained in:
Tibo De Peuter 2024-11-10 20:18:46 +01:00
parent 31a4c4060a
commit aeb8f52d6d
Signed by: tdpeuter
GPG key ID: 38297DE43F75FFE2
23 changed files with 569 additions and 304 deletions

View file

@ -108,6 +108,8 @@ in {
source-han-serif-japanese
];
hardware.opengl.enable = true;
security.polkit.enable = true;
services = {
@ -142,9 +144,14 @@ in {
extraPortals = [ pkgs.xdg-desktop-portal-gtk ];
};
programs.sway = {
enable = true;
wrapperFeatures.gtk = true;
programs = {
sway = {
enable = true;
package = pkgs.swayfx;
wrapperFeatures.gtk = true;
};
waybar.enable = true;
};
sisyphus.users.wantedGroups = [

View file

@ -25,11 +25,17 @@ in {
];
# Send a notification if the YubiKey is waiting for touch.
systemd.user.services.yubikey-touch-detector = {
systemd.services.yubikey-touch-detector = {
enable = true;
description = "Detects when your YubiKey is waiting for a touch";
path = with pkgs; [ yubikey-touch-detector ];
script = ''exec yubikey-touch-detector --notify'';
path = with pkgs; [
gnupg
yubikey-touch-detector
];
wantedBy = [
"graphical-session.target"
];
script = ''exec yubikey-touch-detector --libnotify'';
environment.YUBIKEY_TOUCH_DETECTOR_LIBNOTIFY = "true";
};
};