diff --git a/base/absolution/configuration.nix b/base/absolution/configuration.nix index f4b4db0..8073c2e 100644 --- a/base/absolution/configuration.nix +++ b/base/absolution/configuration.nix @@ -12,6 +12,15 @@ 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" ]; #services.udev.extraRules = builtins.readFile ./udev.rules; @@ -191,12 +200,6 @@ nix.settings.experimental-features = [ "nix-command" "flakes" ]; - nix.gc = { - automatic = true; - dates = "weekly"; - options = "--delete-older-than 30d"; - }; - # Enable the X11 windowing system. services.xserver.enable = false; programs.dconf.enable = true; @@ -313,6 +316,7 @@ p7zip cabextract unzip + pciutils wineWowPackages.stable (pkgs.python3.withPackages (ps: with ps; [tkinter])) ];