moving stuff around

This commit is contained in:
mjallen18
2024-02-18 13:25:15 -06:00
parent 78db245394
commit 9b5fb67c77
13 changed files with 28 additions and 61 deletions

2
scripts/.directory Normal file
View File

@@ -0,0 +1,2 @@
[Desktop Entry]
Icon=folder-script

2
scripts/garbage-collection Executable file
View File

@@ -0,0 +1,2 @@
#!/usr/bin/env bash
sudo nix-store --gc

3
scripts/power-limit Executable file
View 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
View 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
View File

@@ -0,0 +1,2 @@
#!/usr/bin/env bash
sudo nix flake update