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

@ -19,6 +19,8 @@
../../modules/virtualization.nix
../../modules/wine.nix
../../modules/wireguard.nix
../../modules/localsend.nix
(import ../../modules/airplay.nix { hostname = "pre7780"; })
(import ../../modules/rustdesk-server.nix {
relayHosts = [
"10.0.0.0/24"
@ -35,6 +37,14 @@
email = "danny@net.dn";
baseUrl = "https://bitwarden.net.dn";
})
{
home.file.".steam/root/compatibilitytools.d/GE-Proton10-10" = {
source = fetchTarball {
url = "https://github.com/GloriousEggroll/proton-ge-custom/releases/download/GE-Proton10-10/GE-Proton10-10.tar.gz";
sha256 = "sha256:1vkj66x84yqmpqm857hjzmx1s02h2lffcbc60jdfqz9xj34dx5jc";
};
};
}
];
};
};

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";
};
};

View file

@ -0,0 +1,9 @@
{
...
}:
{
programs.localsend = {
enable = true;
openFirewall = true;
};
}

View file

@ -123,21 +123,20 @@ with builtins;
};
postmasterAlias = "root";
extraAliases =
''
mailer-daemon: postmaster
nobody: root
hostmaster: root
usenet: root
news: root
webmaster: root
www: root
ftp: root
abuse: root
noc: root
security: root
''
+ extraAliases;
extraAliases = ''
mailer-daemon: postmaster
nobody: root
hostmaster: root
usenet: root
news: root
webmaster: root
www: root
ftp: root
abuse: root
noc: root
security: root
''
+ extraAliases;
};
services.dovecot2 = {