This commit is contained in:
BuyMyMojo 2025-04-16 02:19:59 +10:00
parent d5eeaa2c78
commit 675de25900
Signed by untrusted user who does not match committer: aria
GPG key ID: 19AB7AA462B8AB3B
22 changed files with 157 additions and 247 deletions

View file

@ -103,6 +103,7 @@
"openrazer"
"gamemode"
"corectrl"
"cdrom"
];
# packages = with pkgs; [
# # discord.override { withMoonlight = true; }
@ -143,7 +144,7 @@
pkgs.clamav
amdgpu_top
# unstable.mangohud
pkgs.mangohud
# unstable.openrazer-daemon # Broken, enable again in a few days?
@ -156,10 +157,10 @@
gradle
gcc
dotnetCorePackages.sdk_8_0_3xx
(pkgs.writeShellScriptBin "python" ''
export LD_LIBRARY_PATH=$NIX_LD_LIBRARY_PATH
exec ${pkgs.python312}/bin/python "$@"
'')
# (pkgs.writeShellScriptBin "python" ''
# export LD_LIBRARY_PATH=$NIX_LD_LIBRARY_PATH
# exec ${pkgs.python312}/bin/python "$@"
# '')
# noisetorch
# yad
# unzip
@ -167,6 +168,8 @@
# xdotool
# xxd
# xorg.xwininfo
(ffmpeg-full.override {svt-av1 = pkgs.svt-av1-psy;})
];
# Some programs need SUID wrappers, can be configured further or are
@ -208,7 +211,7 @@
MANGOHUD = "1";
DOTNET_SYSTEM_GLOBALIZATION_INVARIANT = "1"; # Fixes godot 4 mono's launch issues
# DOTNET_SYSTEM_GLOBALIZATION_INVARIANT = "1"; # Fixes godot 4 mono's launch issues
};
# This value determines the NixOS release from which the default

View file

@ -189,7 +189,6 @@
# networking.interfaces.enp6s0.useDHCP = lib.mkDefault true;
# networking.interfaces.wlp5s0.useDHCP = lib.mkDefault true;
networking.useNetworkd = true;
networking.useDHCP = false;
networking.interfaces.enp4s0.useDHCP = true;
@ -217,14 +216,17 @@
linkConfig.RequiredForOnline = "routable";
};
systemd.network.networks."20-work-line" = {
systemd.network.networks."20-work-wan" = {
# match the interface by name
matchConfig.Name = "enp6s0";
networkConfig = {
# start a DHCP Client for IPv4 Addressing/Routing
DHCP = "ipv4";
};
# make routing on this interface a dependency for network-online.target
address = [
# configure addresses including subnet mask
"192.168.128.165/24"
];
routes = [
{ Gateway = "192.168.128.1"; }
];
# make the routes on this interface a dependency for network-online.target
linkConfig.RequiredForOnline = "routable";
};
@ -235,6 +237,8 @@
# === vulkan/mesa ===
enable = true;
enable32Bit = true;
extraPackages = with pkgs; with unstable; [ pkgs.mangohud ];
extraPackages32 = with pkgs; with unstable; [ pkgs.mangohud ];
# package = unstable.mesa;
# === vulkan/mesa ===

View file

@ -60,10 +60,11 @@
package = unstable.tailscale;
};
# tailscale.extraSetFlags = [
# "--advertise-exit-node"
# "--exit-node-allow-lan-access"
# ];
tailscale.extraSetFlags = [
"--advertise-exit-node"
"--exit-node-allow-lan-access"
"--ssh"
];
resolved = {
enable = true;