@@ -1,3 +1,5 @@
|
||||
# shellcheck shell=bash
|
||||
|
||||
if [[ "$EUID" -ne 0 ]]; then
|
||||
echo "Please run the script as root."
|
||||
exit 1
|
||||
|
@@ -13,8 +13,6 @@
|
||||
];
|
||||
|
||||
home-manager.sharedModules = [
|
||||
{
|
||||
programs.zsh.initExtra = builtins.readFile ./backup.completion.zsh;
|
||||
}
|
||||
{ programs.zsh.initExtra = builtins.readFile ./backup.completion.zsh; }
|
||||
];
|
||||
}
|
||||
|
@@ -14,9 +14,5 @@
|
||||
config.environment.persistence."/persist"."/var/lib/bluetooth".mount
|
||||
];
|
||||
|
||||
home-manager.sharedModules = [
|
||||
{
|
||||
services.mpris-proxy.enable = config.services.pipewire.enable;
|
||||
}
|
||||
];
|
||||
home-manager.sharedModules = [ { services.mpris-proxy.enable = config.services.pipewire.enable; } ];
|
||||
}
|
||||
|
@@ -1,3 +1,6 @@
|
||||
# shellcheck shell=bash
|
||||
|
||||
# shellcheck disable=SC2154
|
||||
echo "Starting impermanence mount with source: $source, target: $target, path: $path."
|
||||
|
||||
source_current="$source"
|
||||
|
@@ -1,3 +1,6 @@
|
||||
# shellcheck shell=bash
|
||||
|
||||
# shellcheck disable=SC2154
|
||||
echo "Stopping impermanence mount with source: $source, target: $target, path: $path."
|
||||
|
||||
source_current="$source"
|
||||
|
@@ -1,3 +1,5 @@
|
||||
# shellcheck shell=bash
|
||||
|
||||
delete_subvolume_recursively() {
|
||||
IFS=$'\n'
|
||||
for i in $(btrfs subvolume list -o "$1" | cut -f 9- -d ' '); do
|
||||
|
@@ -1,3 +1,5 @@
|
||||
# shellcheck shell=bash
|
||||
|
||||
if [[ "${EUID}" -ne 0 ]]; then
|
||||
echo "Please run the script as root."
|
||||
exit 1
|
||||
|
@@ -15,8 +15,6 @@
|
||||
];
|
||||
|
||||
home-manager.sharedModules = [
|
||||
{
|
||||
programs.zsh.initExtra = builtins.readFile ./install.completion.zsh;
|
||||
}
|
||||
{ programs.zsh.initExtra = builtins.readFile ./install.completion.zsh; }
|
||||
];
|
||||
}
|
||||
|
@@ -1,3 +1,5 @@
|
||||
# shellcheck shell=bash
|
||||
|
||||
usage() {
|
||||
echo "Usage: $0 flake -m install|repair -h host [-k key] [-p password_file] [-c] [-r]"
|
||||
echo
|
||||
|
@@ -1,3 +1,5 @@
|
||||
# shellcheck shell=bash
|
||||
|
||||
SEARCH_STRINGS=(
|
||||
"Mouse"
|
||||
"Razer DeathAdder V3 HyperSpeed"
|
||||
@@ -6,8 +8,9 @@ SEARCH_STRINGS=(
|
||||
for search_string in "${SEARCH_STRINGS[@]}"; do
|
||||
echo "Searching for devices matching: $search_string"
|
||||
|
||||
for f in $(grep -l "$search_string" /sys/bus/usb/devices/*/product 2>/dev/null | sed "s/product/power\\/control/"); do
|
||||
echo "Setting power control to 'on' for: $f"
|
||||
echo on >| "$f"
|
||||
grep -l "$search_string" /sys/bus/usb/devices/*/product 2>/dev/null | sed "s/product/power\\/control/" | while IFS= read -r device
|
||||
do
|
||||
echo "Setting power control to 'on' for: $device"
|
||||
echo on >| "$device"
|
||||
done
|
||||
done
|
||||
|
@@ -1,3 +1,5 @@
|
||||
# shellcheck shell=bash
|
||||
|
||||
case "$2" in
|
||||
connectivity-change)
|
||||
if timezone=$(curl --fail https://ipapi.co/timezone); then
|
||||
|
Reference in New Issue
Block a user