Compare commits

...

4 commits

Author SHA1 Message Date
sid
7e5a951877 Merge pull request 'develop' (#15) from develop into release-25.11
All checks were successful
Deploy docs / build-and-deploy (push) Successful in 6s
Reviewed-on: #15
2026-03-30 22:12:04 +02:00
sid
3a78de7dc2 hyprland: fix dbus and gnome-keyring, fix non floating classes
All checks were successful
Build tests / build-hosts (pull_request) Successful in 1m10s
Flake check / flake-check (pull_request) Successful in 4m31s
2026-03-30 22:02:47 +02:00
sid
d55c837e9e add flatpak to hyprland nixos module 2026-03-30 21:24:25 +02:00
sid
d67690213f fix doc link 2026-03-30 13:29:31 +02:00
3 changed files with 21 additions and 3 deletions

View file

@ -27,7 +27,7 @@ Add this repo to your flake inputs:
inputs.synix.url = "git+https://git.sid.ovh/sid/synix.git";
```
See the [documentation](https://doc.sid.ovh/synix) for a full setup guide.
See the [documentation](https://doc.sid.ovh) for a full setup guide.
## Templates

View file

@ -3,15 +3,30 @@
let
cfg = config.wayland.windowManager.hyprland;
inherit (builtins) toString;
nonFloatingClasses = [
"Gimp"
"steam"
"KiCad"
];
nonFloatingClassesRegex = concatStringsSep "|" nonFloatingClasses;
inherit (builtins) concatStringsSep toString;
inherit (lib) mkDefault;
in
{
# Do not add binds here. Use `./binds/default.nix` instead.
"$mod" = cfg.modifier;
exec-once = [
"dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP" # dbus package comes from NixOS module option `services.dbus.dbusPackage` [1]
"gnome-keyring-daemon --start --components=secrets" # gnome-keyring package comes from NixOS module `services.gnome.gnome-keyring` [1]
];
# 1: see Hyprland NixOS module
windowrule = [
"center, floating:1, not class:^(Gimp)$, not class:^(steam)$"
# "float, class:^(${nonFloatingClassesRegex})$"
"center, floating:1, class:^(?!.*(${nonFloatingClassesRegex})).*$"
"float, title:^(Open|Save) Files?$"
"noborder, onworkspace:w[t1]"
"bordersize ${toString cfg.settings.general.border_size}, floating:1"

View file

@ -8,11 +8,14 @@ in
programs.dconf.enable = true; # fixes nixvim hm module
services.flatpak.enable = true;
xdg.portal = {
enable = true;
extraPortals = with pkgs; [
xdg-desktop-portal-gtk
];
config.common.default = "gtk";
};
services.gnome.gnome-keyring.enable = true;