what
This commit is contained in:
commit
ad59c50321
1 changed files with 10 additions and 6 deletions
|
|
@ -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]))
|
||||||
];
|
];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue