generalized flake restructing/laptops hwaccel, few comments aand whaatever i did there probs

This commit is contained in:
tulg 2026-03-28 01:40:22 +03:00
parent 04dc68f7f0
commit d0a6fb398e
6 changed files with 14 additions and 22 deletions

View file

@ -28,18 +28,12 @@
enable = true;
xwayland.enable = true;
};
programs.steam = {
enable = true;
remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play
dedicatedServer.openFirewall = true; # Open ports for Source Dedicated Server hosting
};
programs.gamemode.enable = true;
powerManagement.powertop.enable = true;
services.upower.enable = true;
services = {
power-profiles-daemon.enable = true;
tlp = {
enable = false;
settings = {

View file

@ -19,13 +19,7 @@
swapDevices = [];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
# (the default) this is the recommended approach. When using systemd-networkd it's
# still possible to use this option, but it's recommended to use it in conjunction
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
networking.useDHCP = lib.mkDefault true;
# networking.interfaces.enp1s0.useDHCP = lib.mkDefault true;
# networking.interfaces.wlp2s0.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;