update: nvim waybar yazi windowrule

This commit is contained in:
DACHXY 2025-08-05 12:36:48 +08:00
parent 3a07c0da83
commit 529c9e5fa7
35 changed files with 520 additions and 13028 deletions

View file

@ -1,4 +1,10 @@
{ pkgs, ... }:
{
hostname ? null,
}:
{ pkgs, lib, ... }:
let
inherit (lib) optionalString;
in
{
networking.firewall = {
allowedTCPPorts = [
@ -19,8 +25,12 @@
];
systemd.user.services.uxplay = {
wantedBy = [ "multi-user.target" ];
after = [ "networking-online.target" ];
serviceConfig = {
ExecStart = "${pkgs.uxplay}/bin/uxplay -p";
ExecStart = "${pkgs.uxplay}/bin/uxplay ${
optionalString (hostname != null) "-n ${hostname} -nh -hls 3"
} -p";
};
};