feat(nixos): add wlx-overlays and wivrn services, update gamemode settings

This commit is contained in:
uttarayan21
2025-11-11 16:53:47 +05:30
parent d301d3fd98
commit ca194088ae
8 changed files with 33 additions and 3 deletions

View File

@@ -194,7 +194,7 @@
# firewall.enable = false;
nftables.enable = true;
firewall = {
enable = true;
enable = false;
trustedInterfaces = [
"tailscale0"
];

View File

@@ -9,5 +9,6 @@
./gnome-disks.nix
./nix-ld.nix
./gamemode.nix
./wlx-overlays.nix
];
}

View File

@@ -1,5 +1,14 @@
{...}: {
{pkgs, ...}: {
programs.gamemode = {
enable = true;
settings = {
general = {
renice = 10;
};
custom = {
start = "${pkgs.libnotify}/bin/notify-send 'GameMode started'";
end = "${pkgs.libnotify}/bin/notify-send 'GameMode ended'";
};
};
};
}

View File

@@ -0,0 +1,5 @@
{pkgs, ...}: {
environment.systemPackages = with pkgs; [
wlx-overlay-s
];
}

View File

@@ -136,6 +136,12 @@
options = ["nofail"];
};
fileSystems."/volumes/windows-games" = {
device = "/dev/disk/by-partuuid/56359fb7-7d33-44d2-bebd-b0c53daeeb73";
fsType = "ntfs";
options = ["nofail"];
};
swapDevices = [];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking

View File

@@ -16,5 +16,6 @@
./fwupd.nix
./caddy.nix
./monitoring.nix
./wivrn.nix
];
}

View File

@@ -0,0 +1,8 @@
{...}: {
services.wivrn = {
enable = true;
openFirewall = true;
defaultRuntime = true;
autoStart = true;
};
}