Some tweaks
This commit is contained in:
parent
bde6ed224e
commit
f57fa79543
2 changed files with 13 additions and 20 deletions
|
@ -1,6 +1,6 @@
|
||||||
{ lib, pkgs, ... }: {
|
{ lib, pkgs, ... }: {
|
||||||
|
|
||||||
imports = [ ./filesystems.nix ./steam.nix ];
|
imports = [ ./filesystems.nix ];
|
||||||
|
|
||||||
boot = {
|
boot = {
|
||||||
kernelModules = [ "kvm-amd" ];
|
kernelModules = [ "kvm-amd" ];
|
||||||
|
@ -18,10 +18,6 @@
|
||||||
configurationLimit = 10;
|
configurationLimit = 10;
|
||||||
consoleMode = "max";
|
consoleMode = "max";
|
||||||
editor = false;
|
editor = false;
|
||||||
windows."11" = {
|
|
||||||
title = "Windows 11 Pro N";
|
|
||||||
efiDeviceHandle = "HD2d";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
efi.canTouchEfiVariables = true;
|
efi.canTouchEfiVariables = true;
|
||||||
};
|
};
|
||||||
|
@ -35,8 +31,13 @@
|
||||||
networking = {
|
networking = {
|
||||||
firewall = {
|
firewall = {
|
||||||
enable = true;
|
enable = true;
|
||||||
allowedTCPPorts = [ 8000 42595 1420 7777 8080 9501 ];
|
allowedTCPPorts = [
|
||||||
allowedUDPPorts = [ 24642 ];
|
42595 # qBitTorrent
|
||||||
|
7777 # Terraria
|
||||||
|
];
|
||||||
|
allowedUDPPorts = [
|
||||||
|
24642 # Stardew Valley
|
||||||
|
];
|
||||||
};
|
};
|
||||||
hostName = "totsugeki";
|
hostName = "totsugeki";
|
||||||
networkmanager.enable = true;
|
networkmanager.enable = true;
|
||||||
|
@ -84,15 +85,18 @@
|
||||||
gpuOverclock.enable = true;
|
gpuOverclock.enable = true;
|
||||||
};
|
};
|
||||||
dconf.enable = true;
|
dconf.enable = true;
|
||||||
nix-ld.enable = true;
|
|
||||||
hyprland.enable = true;
|
hyprland.enable = true;
|
||||||
|
steam = {
|
||||||
|
enable = true;
|
||||||
|
remotePlay.openFirewall = true;
|
||||||
|
};
|
||||||
virt-manager.enable = true;
|
virt-manager.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
security.polkit = { enable = true; };
|
security.polkit = { enable = true; };
|
||||||
|
|
||||||
xdg.portal = {
|
xdg.portal = {
|
||||||
config.common = { default = "gtk"; };
|
config.common.default = "gtk";
|
||||||
enable = true;
|
enable = true;
|
||||||
extraPortals = [ pkgs.xdg-desktop-portal-gtk ];
|
extraPortals = [ pkgs.xdg-desktop-portal-gtk ];
|
||||||
};
|
};
|
||||||
|
@ -114,10 +118,6 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
gvfs.enable = true;
|
gvfs.enable = true;
|
||||||
jellyfin = {
|
|
||||||
enable = true;
|
|
||||||
openFirewall = true;
|
|
||||||
};
|
|
||||||
mullvad-vpn = {
|
mullvad-vpn = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.mullvad-vpn;
|
package = pkgs.mullvad-vpn;
|
||||||
|
|
|
@ -1,7 +0,0 @@
|
||||||
{ pkgs, ... }: {
|
|
||||||
programs.steam = {
|
|
||||||
enable = true;
|
|
||||||
remotePlay.openFirewall = true;
|
|
||||||
gamescopeSession.enable = true;
|
|
||||||
};
|
|
||||||
}
|
|
Loading…
Add table
Add a link
Reference in a new issue