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