summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorGrisha Shipunov2025-03-19 14:00:07 +0100
committerGrisha Shipunov2025-03-19 14:00:07 +0100
commit671d7197883c99591f9cec6231af5ddb937acc87 (patch)
treed93e1de7e27ae1b27cd933a3dc6bab087a7d58e4 /modules
parent7555207d7beefd1c360bfa3d1aad9962447222bb (diff)
fix xwayland
Diffstat (limited to 'modules')
-rw-r--r--modules/niri.nix100
1 files changed, 60 insertions, 40 deletions
diff --git a/modules/niri.nix b/modules/niri.nix
index ea0870a..c3438fc 100644
--- a/modules/niri.nix
+++ b/modules/niri.nix
@@ -9,46 +9,66 @@
./desktop-software.nix
./fonts.nix
];
- environment.systemPackages = with pkgs; [
- screen-message
- qbittorrent
- gajim
- imv
- mpv
- evince
- brightnessctl
- pulsemixer
- cmus
- termusic
- gsettings-desktop-schemas
- xdg-utils
- qt5.qtwayland
- bashmount
- audacity
- spotify-player
- zathura
- ncdu
- adwaita-icon-theme
- bluetui
- gammastep
- graphicsmagick
- i3status-rust
- impala
- kanshi
- pamixer
- swayidle
- swaylock
- wl-clipboard
- xfce.thunar
- banana-cursor
- fuzzel
- alacritty
- i3bar-river
- mako
- swww
- oculante
- xwayland-satellite
- ];
+ environment.systemPackages =
+ let
+ xwayland-satellite-git = pkgs.xwayland-satellite.overrideAttrs (
+ final: prev: {
+ version = "git";
+ cargoHash = "sha256-MaF2FyR3HvQAKkZKa8OO/5jbO64/Ncv7+JqHda4jN50=";
+ src = pkgs.fetchFromGitHub {
+ owner = "Supreeeme";
+ repo = "xwayland-satellite";
+ rev = "cca74a5f6b23742d77dc5db4312dfc40fd4a0fcc";
+ sha256 = "sha256-YZ+axsuNsgIKWfnRkt6Qa9UoKfUOIWf42vNUonXxmxM=";
+ };
+ cargoDeps = pkgs.rustPlatform.fetchCargoTarball {
+ inherit (final) pname src version;
+ hash = final.cargoHash;
+ };
+ }
+ );
+ in
+ with pkgs;
+ [
+ screen-message
+ qbittorrent
+ gajim
+ imv
+ mpv
+ evince
+ brightnessctl
+ pulsemixer
+ cmus
+ termusic
+ gsettings-desktop-schemas
+ xdg-utils
+ qt5.qtwayland
+ bashmount
+ audacity
+ spotify-player
+ zathura
+ ncdu
+ adwaita-icon-theme
+ bluetui
+ gammastep
+ graphicsmagick
+ i3status-rust
+ impala
+ kanshi
+ pamixer
+ swayidle
+ swaylock
+ wl-clipboard
+ xfce.thunar
+ banana-cursor
+ fuzzel
+ alacritty
+ i3bar-river
+ mako
+ swww
+ oculante
+ xwayland-satellite-git
+ ];
# Enable sound.
security.rtkit.enable = true;