stuff
This commit is contained in:
parent
98b6210742
commit
1bdad0a6fc
3 changed files with 6 additions and 4 deletions
|
|
@ -1,4 +1,6 @@
|
|||
{pkgs, ...}: {
|
||||
services.lorri.enable = true;
|
||||
|
||||
services.scx.enable = true;
|
||||
services.scx.scheduler = "scx_lavd"; # default is "scx_rustland"
|
||||
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ d = "doc --no-deps --open"
|
|||
[build]
|
||||
target = "x86_64-unknown-linux-gnu"
|
||||
# rustc-wrapper = "${pkgs.sccache}/bin/sccache"
|
||||
rustc-wrapper = "/path/to/sccache"
|
||||
# rustc-wrapper = "/path/to/sccache"
|
||||
rustflags = ["-Zthreads=0"]
|
||||
|
||||
[unstable]
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@ def "snapper clear" [] {
|
|||
def quiet [] {
|
||||
match (hostname) {
|
||||
"NOcomputer" => {
|
||||
const mode_path: path = "/sys/devices/platform/nct6775.656/hwmon/hwmon*/pwm2_enable"
|
||||
let mode_path: path = (glob "/sys/devices/platform/nct6775.656/hwmon/hwmon*/pwm2_enable" | get 0)
|
||||
sudo -- nu -c $"5 o> ($mode_path)"
|
||||
}
|
||||
"NOlaptop" => {
|
||||
|
|
@ -55,7 +55,7 @@ def quiet [] {
|
|||
def loud [] {
|
||||
match (hostname) {
|
||||
"NOcomputer" => {
|
||||
const mode_path: path = "/sys/devices/platform/nct6775.656/hwmon/hwmon*/pwm2_enable"
|
||||
let mode_path: path = (glob "/sys/devices/platform/nct6775.656/hwmon/hwmon*/pwm2_enable" | get 0)
|
||||
sudo -- nu -c $"5 o> ($mode_path)"
|
||||
}
|
||||
"NOlaptop" => {
|
||||
|
|
@ -67,7 +67,7 @@ def loud [] {
|
|||
def louder [] {
|
||||
match (hostname) {
|
||||
"NOcomputer" => {
|
||||
const mode_path: path = "/sys/devices/platform/nct6775.656/hwmon/hwmon*/pwm2_enable"
|
||||
let mode_path: path = (glob "/sys/devices/platform/nct6775.656/hwmon/hwmon*/pwm2_enable" | get 0)
|
||||
sudo -- nu -c $"0 o> ($mode_path)"
|
||||
}
|
||||
"NOlaptop" => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue