feat: yahtzee!

This commit is contained in:
Teesh 2026-02-05 15:12:54 +02:00
parent 8bd4eacd3a
commit e58324c3c9
2 changed files with 23 additions and 0 deletions

View file

@ -21,6 +21,7 @@
noctalia-shell = "${noctalia-pkg}/bin/noctalia-shell";
ghostty = "${pkgs.ghostty}/bin/ghostty";
playerctl = "${pkgs.playerctl}/bin/playerctl";
yazi = "${pkgs.yazi}/bin/yazi";
noctalia = cmd: [ noctalia-shell "ipc" "call" ] ++ (pkgs.lib.splitString " " cmd);
xws-unstable = inputs.niri-flake.packages.${pkgs.stdenv.hostPlatform.system}.xwayland-satellite-unstable;
in {
@ -92,6 +93,8 @@
"Mod+Shift+Equal".action.set-window-height = "+10%";
"Mod+O".action.toggle-overview = [];
"Mod+E".action.spawn = [ ghostty "-e" yazi ];
};
spawn-at-startup = [
{ command = [ noctalia-shell ]; }

20
modules/desktop/yazi.nix Normal file
View file

@ -0,0 +1,20 @@
{ ... }:
{
flake.modules.nixos.desktop = { pkgs, ... }: {
programs.yazi.enable = true;
environment.systemPackages = [ pkgs.mpv ];
};
flake.modules.homeManager.desktop = {
programs.yazi = {
enable = true;
enableZshIntegration = true;
enableBashIntegration = true;
enableFishIntegration = true;
enableNushellIntegration = true;
};
};
}