This commit is contained in:
maya 2025-07-28 22:42:32 +08:00
commit ad59c50321
No known key found for this signature in database

View file

@ -12,6 +12,15 @@
nix.package = pkgs.lix; nix.package = pkgs.lix;
systemd.services.setpci = {
description = "this runs the command that binds 2 of my usb ports to the EHCI controller";
wantedBy = ["multi-user.target"];
serviceConfig = {
Type = "simple";
ExecStart = "${pkgs.pciutils}/bin/setpci -s0:14.0 0xd0.W=0x3f3f";
};
};
nix.settings.trusted-users = [ "alyx" "root" ]; nix.settings.trusted-users = [ "alyx" "root" ];
#services.udev.extraRules = builtins.readFile ./udev.rules; #services.udev.extraRules = builtins.readFile ./udev.rules;
@ -191,12 +200,6 @@
nix.settings.experimental-features = [ "nix-command" "flakes" ]; nix.settings.experimental-features = [ "nix-command" "flakes" ];
nix.gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 30d";
};
# Enable the X11 windowing system. # Enable the X11 windowing system.
services.xserver.enable = false; services.xserver.enable = false;
programs.dconf.enable = true; programs.dconf.enable = true;
@ -313,6 +316,7 @@
p7zip p7zip
cabextract cabextract
unzip unzip
pciutils
wineWowPackages.stable wineWowPackages.stable
(pkgs.python3.withPackages (ps: with ps; [tkinter])) (pkgs.python3.withPackages (ps: with ps; [tkinter]))
]; ];