feat(nixos): add wlx-overlays and wivrn services, update gamemode settings
This commit is contained in:
@@ -194,7 +194,7 @@
|
||||
# firewall.enable = false;
|
||||
nftables.enable = true;
|
||||
firewall = {
|
||||
enable = true;
|
||||
enable = false;
|
||||
trustedInterfaces = [
|
||||
"tailscale0"
|
||||
];
|
||||
|
||||
@@ -9,5 +9,6 @@
|
||||
./gnome-disks.nix
|
||||
./nix-ld.nix
|
||||
./gamemode.nix
|
||||
./wlx-overlays.nix
|
||||
];
|
||||
}
|
||||
|
||||
@@ -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'";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
5
nixos/ryu/programs/wlx-overlays.nix
Normal file
5
nixos/ryu/programs/wlx-overlays.nix
Normal file
@@ -0,0 +1,5 @@
|
||||
{pkgs, ...}: {
|
||||
environment.systemPackages = with pkgs; [
|
||||
wlx-overlay-s
|
||||
];
|
||||
}
|
||||
@@ -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
|
||||
|
||||
@@ -16,5 +16,6 @@
|
||||
./fwupd.nix
|
||||
./caddy.nix
|
||||
./monitoring.nix
|
||||
./wivrn.nix
|
||||
];
|
||||
}
|
||||
|
||||
8
nixos/ryu/services/wivrn.nix
Normal file
8
nixos/ryu/services/wivrn.nix
Normal file
@@ -0,0 +1,8 @@
|
||||
{...}: {
|
||||
services.wivrn = {
|
||||
enable = true;
|
||||
openFirewall = true;
|
||||
defaultRuntime = true;
|
||||
autoStart = true;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user