moving stuff around
This commit is contained in:
2
scripts/.directory
Normal file
2
scripts/.directory
Normal file
@@ -0,0 +1,2 @@
|
||||
[Desktop Entry]
|
||||
Icon=folder-script
|
||||
2
scripts/garbage-collection
Executable file
2
scripts/garbage-collection
Executable file
@@ -0,0 +1,2 @@
|
||||
#!/usr/bin/env bash
|
||||
sudo nix-store --gc
|
||||
3
scripts/power-limit
Executable file
3
scripts/power-limit
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/usr/bin/env bash
|
||||
sudo su - root
|
||||
echo 293000000 > /sys/class/drm/card0/device/hwmon/hwmon0/power1_cap
|
||||
5
scripts/reset_wifi
Executable file
5
scripts/reset_wifi
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
echo 1 | sudo -u root tee /sys/bus/pci/devices/0000\:09\:00.0/reset
|
||||
sudo rmmod iwlwifi
|
||||
sudo modprobe iwlwifi
|
||||
|
||||
2
scripts/update-flakes
Normal file
2
scripts/update-flakes
Normal file
@@ -0,0 +1,2 @@
|
||||
#!/usr/bin/env bash
|
||||
sudo nix flake update
|
||||
Reference in New Issue
Block a user