not building whyyy

This commit is contained in:
Tao Tien 2023-11-01 02:14:15 -07:00
parent cefc4e2349
commit f3687f637d
6 changed files with 34 additions and 17 deletions

View file

@ -1,5 +1,6 @@
{ pkgs, ... }: {
{ pkgs, prescurve, ... }: {
environment.systemPackages = with pkgs; [
prescurve
intel-gpu-tools
# libsForQt5.skanpage
powertop
@ -35,6 +36,14 @@
services.xserver.displayManager.defaultSession = "plasmawayland";
# systemd.user.services.backlight = {
# # description = "";
# ExecStart = "${pkgs.prescurve}/bin/prescurve_backlight";
# Restart = "on-failure";
# wantedBy = [ "default.target" ];
# };
# SUBSYSTEM=="backlight", GROUP="video", MODE="0664"
services.udev.extraRules = ''
ACTION=="add", SUBSYSTEM=="backlight", RUN+="${pkgs.coreutils}/bin/chgrp video /sys/class/backlight/%k/brightness"