Compare commits

..

No commits in common. "8ee210a5aabded924a5670d0b05a3f2a5728e49c" and "26b74f7d9d87d015727c051e4a76e9e6d0e24c32" have entirely different histories.

5 changed files with 3 additions and 50 deletions

View File

@ -1,17 +1,3 @@
#!/usr/bin/env bash
engi_path="$HOME/mnt/engi"
if mountpoint -q "$engi_path"; then
echo "engi already mounted"
exit 0
else
sudo mount -t cifs -o rw,uid=$(id -u $(whoami)),gid=$(id -g $(whoami)),vers=3.0,credentials=/home/tstarr/.smb //torus/private ~/mnt/engi 2>/dev/null
fi
# Check drive mounted correctly
if mountpoint -q "$engi_path"; then
echo "engi successfully mounted"
else
echo "engi failed to mount"
fi
sudo mount -t cifs -o rw,uid=$(id -u $(whoami)),gid=$(id -g $(whoami)),vers=3.0,credentials=/home/tstarr/.smb //192.168.1.175/private /home/tstarr/mnt/engi

View File

@ -16,11 +16,9 @@
{ "url" = "https://www.icloud.com/"; name = "iCloud"; }
]; }
{ "name" = "Games"; "children" = [
{ "url" = "https://www.dotabuff.com/"; name = "DOTABUFF"; }
{ "url" = "https://myrient.erista.me/"; name = "Myrient"; }
{ "url" = "https://www.protondb.com/"; name = "ProtonDB"; }
{ "url" = "https://r-roms.github.io/"; name = "Roms Megathread"; }
{ "url" = "https://vimm.net/"; name = "Vimm's Lair: Preserving the Classics"; }
{ "url" = "https://www.dotabuff.com/"; name = "DOTABUFF"; }
]; }
{ "name" = "Homelab"; "children" = [
{ "url" = "http://localhost:8384"; name = "Syncthing"; }

View File

@ -32,7 +32,6 @@ in {
evolution # Personal information management application that provides email, calendar, and contact management features.
gnomeExtensions.focus-changer # GNOME Shell extension for changing window focus behavior.
gnomeExtensions.custom-hot-corners-extended # GNOME Shell extension for changing window focus behavior.
gnomeExtensions.alphabetical-app-grid
gnome-fullscreen-to-empty-workspace
gnome-set-panel-monitor
gnome-randr
@ -150,7 +149,6 @@ in {
"fullscreen-to-empty-workspace@aiono.dev"
"gnome-set-panel-monitor@tstarr.us"
"custom-hot-corners-extended@G-dH.github.com"
"AlphabeticalAppGrid@stuarthayhurst"
];
};
"org/gnome/shell/app-switcher" = {

View File

@ -1,9 +1,4 @@
{ ... }:
{
imports = [
./git.nix
./chezmoi.nix
./kitty.nix
./yt-dlp.nix
];
imports = [ ./git.nix ./chezmoi.nix ./kitty.nix ];
}

View File

@ -1,24 +0,0 @@
{ config, lib, pkgs, user, ... }:
let cfg = config.modules.programs.yt-dlp;
in {
options.modules.programs.yt-dlp = with lib; {
enable = lib.mkOption {
type = with types; bool;
default = true;
};
};
config = lib.mkIf cfg.enable {
environment.systemPackages = with pkgs; [
yt-dlp
(pkgs.writeScriptBin "ytd_audio" ''
#!/usr/bin/env bash
linux-mount-engi
yt-dlp -x \
-ciw -o "%(title)s.%(ext)s" \
--embed-thumbnail -S acodec:m4a "$1"
'')
];
};
}