diff --git a/.dotter/global.toml b/.dotter/global.toml index 5d1aa1d..aa00ade 100644 --- a/.dotter/global.toml +++ b/.dotter/global.toml @@ -17,5 +17,4 @@ bat = "~/.config/bat" "gamemode.ini" = "~/.config/gamemode.ini" "timewarrior.cfg" = "~/.config/timewarrior/timewarrior.cfg" "tmux.conf" = "~/.tmux.conf" -"aqua.yaml" = "~/.config/aquaproj-aqua/aqua.yaml" "atuin.toml" = "~/.config/atuin/config.toml" diff --git a/7tv_settings_TWITCH-3_6_2025.json b/7tv_settings_TWITCH-3_6_2025.json new file mode 100644 index 0000000..2e5095c --- /dev/null +++ b/7tv_settings_TWITCH-3_6_2025.json @@ -0,0 +1,156 @@ +{ + "timestamp": 1741288490778, + "settings": [ + { + "key": "app.7tv.token", + "type": "string", + "value": "", + "timestamp": 1741288308599 + }, + { + "key": "chat.alternating_background", + "type": "boolean", + "value": true, + "timestamp": 1741288424188 + }, + { + "key": "chat.mod_slider", + "type": "boolean", + "value": false, + "timestamp": 1741288436110 + }, + { + "key": "chat_input.autocomplete.colon", + "type": "boolean", + "value": false, + "timestamp": 1741288252933 + }, + { + "key": "chat_input.spam.bypass_duplicate", + "type": "boolean", + "value": true, + "timestamp": 1741288456902 + }, + { + "key": "general.autoclaim.channel_points", + "type": "boolean", + "value": true, + "timestamp": 1741288472534 + }, + { + "key": "highlights.basic.mention_title_flash", + "type": "boolean", + "value": true, + "timestamp": 1741288252933 + }, + { + "key": "highlights.custom", + "type": "object", + "value": [], + "timestamp": 1741288309223, + "constructorName": "Map" + }, + { + "key": "layout.hide_bits_buttons", + "type": "boolean", + "value": false, + "timestamp": 1741288381985 + }, + { + "key": "layout.hide_buttons_below_chatbox", + "type": "boolean", + "value": false, + "timestamp": 1741288354831 + }, + { + "key": "layout.hide_channel_leaderboard", + "type": "boolean", + "value": true, + "timestamp": 1741288350481 + }, + { + "key": "layout.hide_channel_point_balance_button", + "type": "boolean", + "value": false, + "timestamp": 1741288407850 + }, + { + "key": "layout.hide_chat_input_box", + "type": "boolean", + "value": false, + "timestamp": 1741288352412 + }, + { + "key": "layout.hide_community_highlights", + "type": "boolean", + "value": false, + "timestamp": 1741288363132 + }, + { + "key": "layout.hide_hype_chat_button", + "type": "boolean", + "value": true, + "timestamp": 1741288389842 + }, + { + "key": "layout.hide_player_controls", + "type": "boolean", + "value": false, + "timestamp": 1741288415121 + }, + { + "key": "layout.hide_prime_offers", + "type": "boolean", + "value": true, + "timestamp": 1741288399509 + }, + { + "key": "layout.hide_recommended_channels", + "type": "boolean", + "value": false, + "timestamp": 1741288372081 + }, + { + "key": "layout.hide_stories", + "type": "boolean", + "value": true, + "timestamp": 1741288374858 + }, + { + "key": "layout.hide_stream_chat_bar", + "type": "boolean", + "value": false, + "timestamp": 1741288360659 + }, + { + "key": "layout.hide_subscribe_button", + "type": "boolean", + "value": false, + "timestamp": 1741288402183 + }, + { + "key": "layout.hide_top_bar_of_stream", + "type": "boolean", + "value": false, + "timestamp": 1741288413755 + }, + { + "key": "layout.hide_viewers_also_watch", + "type": "boolean", + "value": true, + "timestamp": 1741288369619 + }, + { + "key": "player.skip_content_restriction", + "type": "boolean", + "value": true, + "timestamp": 1741288337950 + }, + { + "key": "player.video_stats", + "type": "boolean", + "value": true, + "timestamp": 1741288339291 + } + ] +} \ No newline at end of file diff --git a/nix/configuration.nix b/nix/configuration.nix index 35413ba..25a3a86 100644 --- a/nix/configuration.nix +++ b/nix/configuration.nix @@ -7,7 +7,8 @@ nixpkgs.config.allowBroken = true; boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; - services.snap.enable = true; + boot.supportedFilesystems = ["ntfs"]; + services.snap.enable = false; networking.hostName = "limgrave"; networking.networkmanager.enable = true; environment.sessionVariables.MOZ_ENABLE_WAYLAND = 0; @@ -96,11 +97,12 @@ description = "catalin"; shell = pkgs.fish; useDefaultShell = true; - extraGroups = [ "networkmanager" "wheel" "docker" ]; + extraGroups = [ "networkmanager" "wheel" "docker" "nas" ]; packages = with pkgs; [ flatpak ]; }; + users.groups.nas.gid = 568; programs.firefox.enable = true; nixpkgs.config.allowUnfree = true; @@ -148,7 +150,11 @@ dates = "weekly"; options = "--delete-older-than 1w"; }; + fonts.packages = with pkgs; [ + atkinson-hyperlegible + ]; services.openssh.enable = true; + services.tailscale.enable = true; virtualisation.docker.enable = true; networking.nameservers = [ "192.168.1.7" "1.1.1.1" ]; nix.extraOptions = '' diff --git a/nix/flake.lock b/nix/flake.lock index b571529..8a3ffce 100644 --- a/nix/flake.lock +++ b/nix/flake.lock @@ -3,11 +3,11 @@ "flake-compat": { "flake": false, "locked": { - "lastModified": 1696426674, - "narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=", + "lastModified": 1733328505, + "narHash": "sha256-NeCCThCEP3eCl2l/+27kNNK7QrwZB1IJCrXfrbv5oqU=", "owner": "edolstra", "repo": "flake-compat", - "rev": "0f9255e01c2351cc7d116c072cb317785dd33b33", + "rev": "ff81ac966bb2cae68946d5ed5fc4994f96d0ffec", "type": "github" }, "original": { @@ -53,11 +53,11 @@ "systems": "systems" }, "locked": { - "lastModified": 1705309234, - "narHash": "sha256-uNRRNRKmJyCRC/8y1RqBkqWBLM034y4qN7EprSdmgyA=", + "lastModified": 1731533236, + "narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=", "owner": "numtide", "repo": "flake-utils", - "rev": "1ef2e671c3b0c19053962c07dbda38332dcebf26", + "rev": "11707dc2f618dd54ca8739b309ec4fc024de578b", "type": "github" }, "original": { @@ -69,16 +69,18 @@ "ghostty": { "inputs": { "flake-compat": "flake-compat", + "flake-utils": "flake-utils", "nixpkgs-stable": "nixpkgs-stable", "nixpkgs-unstable": "nixpkgs-unstable", - "zig": "zig" + "zig": "zig", + "zig2nix": "zig2nix" }, "locked": { - "lastModified": 1738275804, - "narHash": "sha256-n9cSCLlWjc8Bc5QyZYLo5+c6MfTZjgDpUGx/FGxBiY8=", + "lastModified": 1741594465, + "narHash": "sha256-8a/QIgNwV8VGn8JIiACmVVEdue+U3juiMSAO1DEUTC4=", "owner": "ghostty-org", "repo": "ghostty", - "rev": "c5508e7d1922842ecd3160ea73b97da1282168b3", + "rev": "95daca616db5c24d7bb37fd5a3ac2f8762bb4ead", "type": "github" }, "original": { @@ -94,11 +96,11 @@ ] }, "locked": { - "lastModified": 1736373539, - "narHash": "sha256-dinzAqCjenWDxuy+MqUQq0I4zUSfaCvN9rzuCmgMZJY=", + "lastModified": 1739757849, + "narHash": "sha256-Gs076ot1YuAAsYVcyidLKUMIc4ooOaRGO0PqTY7sBzA=", "owner": "nix-community", "repo": "home-manager", - "rev": "bd65bc3cde04c16755955630b344bc9e35272c56", + "rev": "9d3d080aec2a35e05a15cedd281c2384767c2cfe", "type": "github" }, "original": { @@ -132,11 +134,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1738163270, - "narHash": "sha256-B/7Y1v4y+msFFBW1JAdFjNvVthvNdJKiN6EGRPnqfno=", + "lastModified": 1741600792, + "narHash": "sha256-yfDy6chHcM7pXpMF4wycuuV+ILSTG486Z/vLx/Bdi6Y=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "59e618d90c065f55ae48446f307e8c09565d5ab0", + "rev": "ebe2788eafd539477f83775ef93c3c7e244421d3", "type": "github" }, "original": { @@ -160,11 +162,11 @@ }, "nixpkgs-stable": { "locked": { - "lastModified": 1733423277, - "narHash": "sha256-TxabjxEgkNbCGFRHgM/b9yZWlBj60gUOUnRT/wbVQR8=", + "lastModified": 1738255539, + "narHash": "sha256-hP2eOqhIO/OILW+3moNWO4GtdJFYCqAe9yJZgvlCoDQ=", "owner": "nixos", "repo": "nixpkgs", - "rev": "e36963a147267afc055f7cf65225958633e536bf", + "rev": "c3511a3b53b482aa7547c9d1626fd7310c1de1c5", "type": "github" }, "original": { @@ -176,11 +178,11 @@ }, "nixpkgs-unstable": { "locked": { - "lastModified": 1733229606, - "narHash": "sha256-FLYY5M0rpa5C2QAE3CKLYAM6TwbKicdRK6qNrSHlNrE=", + "lastModified": 1738136902, + "narHash": "sha256-pUvLijVGARw4u793APze3j6mU1Zwdtz7hGkGGkD87qw=", "owner": "nixos", "repo": "nixpkgs", - "rev": "566e53c2ad750c84f6d31f9ccb9d00f823165550", + "rev": "9a5db3142ce450045840cc8d832b13b8a2018e0c", "type": "github" }, "original": { @@ -216,11 +218,11 @@ }, "unstable": { "locked": { - "lastModified": 1738136902, - "narHash": "sha256-pUvLijVGARw4u793APze3j6mU1Zwdtz7hGkGGkD87qw=", + "lastModified": 1741708242, + "narHash": "sha256-cNRqdQD4sZpN7JLqxVOze4+WsWTmv2DGH0wNCOVwrWc=", "owner": "nixos", "repo": "nixpkgs", - "rev": "9a5db3142ce450045840cc8d832b13b8a2018e0c", + "rev": "b62d2a95c72fb068aecd374a7262b37ed92df82b", "type": "github" }, "original": { @@ -235,18 +237,21 @@ "flake-compat": [ "ghostty" ], - "flake-utils": "flake-utils", + "flake-utils": [ + "ghostty", + "flake-utils" + ], "nixpkgs": [ "ghostty", "nixpkgs-stable" ] }, "locked": { - "lastModified": 1717848532, - "narHash": "sha256-d+xIUvSTreHl8pAmU1fnmkfDTGQYCn2Rb/zOwByxS2M=", + "lastModified": 1738239110, + "narHash": "sha256-Y5i9mQ++dyIQr+zEPNy+KIbc5wjPmfllBrag3cHZgcE=", "owner": "mitchellh", "repo": "zig-overlay", - "rev": "02fc5cc555fc14fda40c42d7c3250efa43812b43", + "rev": "1a8fb6f3a04724519436355564b95fce5e272504", "type": "github" }, "original": { @@ -254,6 +259,32 @@ "repo": "zig-overlay", "type": "github" } + }, + "zig2nix": { + "inputs": { + "flake-utils": [ + "ghostty", + "flake-utils" + ], + "nixpkgs": [ + "ghostty", + "nixpkgs-stable" + ] + }, + "locked": { + "lastModified": 1741368279, + "narHash": "sha256-WTaC8HmnIq6O71iK0g9as404BbmS+YyEP5qS85m2JBY=", + "owner": "jcollie", + "repo": "zig2nix", + "rev": "672971b5b6911de21446ad4fc76dee677922eda0", + "type": "github" + }, + "original": { + "owner": "jcollie", + "ref": "672971b5b6911de21446ad4fc76dee677922eda0", + "repo": "zig2nix", + "type": "github" + } } }, "root": "root", diff --git a/nix/hardware-configuration.nix b/nix/hardware-configuration.nix index 4753dd2..5d76b33 100644 --- a/nix/hardware-configuration.nix +++ b/nix/hardware-configuration.nix @@ -24,24 +24,24 @@ options = [ "fmask=0077" "dmask=0077" ]; }; - fileSystems."/snap/acestreamplayer/17" = - { device = "/var/lib/snapd/snaps/acestreamplayer_17.snap"; - fsType = "squashfs"; - options = [ "loop" ]; - }; - - fileSystems."/snap/core22/1722" = - { device = "/var/lib/snapd/snaps/core22_1722.snap"; - fsType = "squashfs"; - options = [ "loop" ]; - }; - - fileSystems."/snap/snapd/23258" = - { device = "/var/lib/snapd/snaps/snapd_23258.snap"; - fsType = "squashfs"; - options = [ "loop" ]; - }; - +# fileSystems."/snap/acestreamplayer/17" = +# { device = "/var/lib/snapd/snaps/acestreamplayer_17.snap"; +# fsType = "squashfs"; +# options = [ "loop" ]; +# }; +# +# fileSystems."/snap/core22/1722" = +# { device = "/var/lib/snapd/snaps/core22_1722.snap"; +# fsType = "squashfs"; +# options = [ "loop" ]; +# }; +# +# fileSystems."/snap/snapd/23258" = +# { device = "/var/lib/snapd/snaps/snapd_23258.snap"; +# fsType = "squashfs"; +# options = [ "loop" ]; +# }; +# fileSystems."/mnt/zeruel/nas1" = { device = "zeruel.fuku:/mnt/pool1/nas1"; fsType = "nfs"; @@ -53,6 +53,11 @@ fsType = "nfs"; options = [ "x-systemd.automount" "noauto" ]; }; + fileSystems."/mnt/windoze" = + { device = "/dev/disk/by-uuid/46B01460B01458AF"; + fsType = "ntfs-3g"; + options = [ "rw" "uid=1000"]; + }; swapDevices = [ { device = "/dev/disk/by-uuid/03ecd98d-013f-4476-b43a-bcae0bc1de67"; } ]; diff --git a/nix/packages.nix b/nix/packages.nix index 07e2b77..efec56b 100644 --- a/nix/packages.nix +++ b/nix/packages.nix @@ -71,7 +71,6 @@ pkgs: with pkgs; [ kubecolor kubeconform kube-score - coder uv ventoy-full chiaki-ng @@ -87,4 +86,22 @@ pkgs: with pkgs; [ rose-pine-cursor vlc unrar-wrapper + atkinson-hyperlegible + libreoffice-qt + hunspell + hunspellDicts.es_ES + hunspellDicts.en_US + sqlite-interactive + vscode-fhs + direnv + ffmpeg + filezilla + lrcget + tailscale + picard + feishin + asciinema + gimp + yq + coder ] diff --git a/sshconfig b/sshconfig index eb18680..0cb9827 100644 --- a/sshconfig +++ b/sshconfig @@ -120,3 +120,13 @@ Host fuku.dd01 HostName dd01.fuku User root IdentityFile ~/.ssh/id_ed25519 + +# --- START CODER VSCODE workspace.i.mercedes-benz.com --- +Host coder-vscode.workspace.i.mercedes-benz.com--* + ConnectTimeout 0 + LogLevel ERROR + ProxyCommand "/home/catalin/.config/Code/User/globalStorage/coder.coder-remote/workspace.i.mercedes-benz.com/bin/coder-linux-amd64" vscodessh --network-info-dir "/home/catalin/.config/Code/User/globalStorage/coder.coder-remote/net" --session-token-file "/home/catalin/.config/Code/User/globalStorage/coder.coder-remote/workspace.i.mercedes-benz.com/session" --url-file "/home/catalin/.config/Code/User/globalStorage/coder.coder-remote/workspace.i.mercedes-benz.com/url" %h + SetEnv CODER_SSH_SESSION_TYPE=vscode + StrictHostKeyChecking no + UserKnownHostsFile /dev/null +# --- END CODER VSCODE workspace.i.mercedes-benz.com --- \ No newline at end of file diff --git a/utils/dlm.sh b/utils/dlm.sh new file mode 100755 index 0000000..135aa66 --- /dev/null +++ b/utils/dlm.sh @@ -0,0 +1,27 @@ +#!/usr/bin/env bash + +# Download files using yt-dlp -x + +# Usage: dlm.sh [URL1 ... URLn] + +# Dependencies: yt-dlp + +# Check if yt-dlp is installed +if ! command -v yt-dlp &> /dev/null; then + echo "yt-dlp is not installed" + exit 1 +fi + +# Check if URLs are provided +if [ "$#" -eq 0 ]; then + echo "No URLs provided" + exit 1 +fi + +# Download files using yt-dlp -x and save them without the youtube id +yt-dlp -x --audio-format mp3 --output "%(title)s.%(ext)s" "$@" + +# Change the file's owner to 568:568 +# Change the file's permissions to 770 +sudo chown 568:568 ./*.mp3 +sudo chmod 770 ./*.mp3 \ No newline at end of file