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;

View file

@ -46,15 +46,15 @@
swapDevices = [];
fileSystems."/mnt/backup" = {
device = "/dev/disk/by-uuid/4242ad6b-4b5e-4990-bcf7-501f6099b429";
fsType = "ext4";
options = [
"nofail" # dont block boot if missing
# "x-systemd.automount" # mount on first access
"noatime"
#fileSystems."/mnt/backup" = {
# device = "/dev/disk/by-uuid/4242ad6b-4b5e-4990-bcf7-501f6099b429";
# fsType = "ext4";
# options = [
# "nofail" # dont block boot if missing
# # "x-systemd.automount" # mount on first access
# "noatime"
];
};
# };
fileSystems."/mnt/hdd1tb" = {
device = "/dev/disk/by-uuid/790092e5-074b-4007-a511-cbd8aa8cc1a7";

View file

@ -17,4 +17,8 @@
networking.firewall.checkReversePath = "loose";
services.resolved.enable = true;
networking.networkmanager.enable = true;
hardware.graphics = {
enable = true;
enable32Bit = true;
};
}

View file

@ -9,5 +9,5 @@
./bluetooth.nix
./ssh.nix
#./zapret.nix # zapret decided to kill itself among all the devices caused so much problems, i just use tailscale exit node for the time being until i decide to fix this fucking shitass tool
];
]; # its working with again but shits when in use with macvtap vm [vm nas access]
}

View file

@ -4,7 +4,7 @@
programs.thunar.enable = true;
programs.xfconf.enable = true;
services.displayManager.ly.enable = true;
services.ratbagd.enable = true;
services.ratbagd.enable = true; # logitech mouse config backend thingy
systemd.services.tailscaled.after = ["network-online.target"];
systemd.services.tailscaled.wants = ["network-online.target"];
services.tailscale = {