Removed useless stuff.
This commit is contained in:
parent
41bca3b7cb
commit
7fe2bed4b9
|
|
@ -110,12 +110,6 @@
|
||||||
# };
|
# };
|
||||||
# });
|
# });
|
||||||
|
|
||||||
# Allow users in group "video" to modify backlight
|
|
||||||
# services.udev.extraRules = ''
|
|
||||||
# ACTION=="add", SUBSYSTEM=="backlight" KERNEL=="amdgpu_bl0", RUN+="${pkgs.coreutils}/bin/chgrp video /sys/class/backlight/amdgpu_bl0/brightness"
|
|
||||||
# ACTION=="add", SUBSYSTEM=="backlight" KERNEL=="amdgpu_bl0", RUN+="${pkgs.coreutils}/bin/chmod g+w /sys/class/backlight/amdgpu_bl0/brightness"
|
|
||||||
# '';
|
|
||||||
|
|
||||||
# Enable CUPS to print documents.
|
# Enable CUPS to print documents.
|
||||||
services.printing.enable = true;
|
services.printing.enable = true;
|
||||||
|
|
||||||
|
|
@ -172,23 +166,6 @@
|
||||||
InhibitDelayMaxSec=10
|
InhibitDelayMaxSec=10
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# Allow steam to run nonfree
|
|
||||||
# nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
|
|
||||||
# "steam" "steam-original" "steam-run" "zoom-5.16.10.668"
|
|
||||||
# ];
|
|
||||||
nixpkgs.config.allowUnfreePredicate = _: true;
|
|
||||||
nixpkgs.overlays = [
|
|
||||||
(final: prev: {
|
|
||||||
fprintd = prev.fprintd.overrideAttrs (old: {
|
|
||||||
mesonCheckFlags = (old.mesonCheckFlags or [ ]) ++ [
|
|
||||||
# PAM related checks are timing out
|
|
||||||
"--no-suite"
|
|
||||||
"fprintd:TestPamFprintd"
|
|
||||||
];
|
|
||||||
});
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
# List packages installed in system profile. To search, run:
|
# List packages installed in system profile. To search, run:
|
||||||
# $ nix search wget
|
# $ nix search wget
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue