almost done laptop
This commit is contained in:
parent
98cafc6cdb
commit
8c082364d6
11 changed files with 115 additions and 1048 deletions
|
@ -21,7 +21,7 @@
|
|||
boot.initrd.availableKernelModules = ["xhci_pci" "ahci" "usbcore" "sd_mod"];
|
||||
boot.initrd.kernelModules = [];
|
||||
boot.kernelModules = ["kvm-amd" "i2c-dev"];
|
||||
boot.extraModulePackages = [];
|
||||
boot.extraModulePackages = [ pkgs.linuxPackages_xanmod_latest.system76_scheduler ];
|
||||
boot.kernelParams = [
|
||||
"nvidia_drm.modeset=1"
|
||||
"mitigations=off"
|
||||
|
@ -100,27 +100,27 @@
|
|||
};
|
||||
};
|
||||
|
||||
systemd.services."com.system76.Scheduler" = {
|
||||
wantedBy = ["multi-user.target"];
|
||||
description = "the system76 process scheduler";
|
||||
serviceConfig = {
|
||||
Type = "dbus";
|
||||
ExecStart = ''${pkgs.system76-scheduler}/bin/system76-scheduler daemon'';
|
||||
ExecReload = ''${pkgs.system76-scheduler}/bin/system76-scheduler daemon reload'';
|
||||
BusName = "com.system76.Scheduler";
|
||||
};
|
||||
};
|
||||
# systemd.services."com.system76.Scheduler" = {
|
||||
# wantedBy = ["multi-user.target"];
|
||||
# description = "the system76 process scheduler";
|
||||
# serviceConfig = {
|
||||
# Type = "dbus";
|
||||
# ExecStart = ''${pkgs.system76-scheduler}/bin/system76-scheduler daemon'';
|
||||
# ExecReload = ''${pkgs.system76-scheduler}/bin/system76-scheduler daemon reload'';
|
||||
# BusName = "com.system76.Scheduler";
|
||||
# };
|
||||
# };
|
||||
|
||||
services.dbus.packages = [
|
||||
pkgs.system76-scheduler
|
||||
pkgs.linuxPackages_xanmod_latest.system76_scheduler
|
||||
];
|
||||
|
||||
systemd.packages = [
|
||||
pkgs.system76-scheduler
|
||||
pkgs.linuxPackages_xanmod_latest.system76_scheduler
|
||||
];
|
||||
|
||||
environment.etc = {
|
||||
"system76-scheduler".source = "${pkgs.system76-scheduler}/etc/system76-scheduler";
|
||||
"system76-scheduler".source = "${pkgs.linuxPackages_xanmod_latest.system76_scheduler}/etc/system76-scheduler";
|
||||
};
|
||||
|
||||
services.hardware.openrgb = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue