1
0
Fork 0

disable snap

This commit is contained in:
cătălin 2025-03-12 11:31:25 +01:00
commit 4f5f77eae8
No known key found for this signature in database
8 changed files with 302 additions and 51 deletions

View file

@ -17,5 +17,4 @@ bat = "~/.config/bat"
"gamemode.ini" = "~/.config/gamemode.ini" "gamemode.ini" = "~/.config/gamemode.ini"
"timewarrior.cfg" = "~/.config/timewarrior/timewarrior.cfg" "timewarrior.cfg" = "~/.config/timewarrior/timewarrior.cfg"
"tmux.conf" = "~/.tmux.conf" "tmux.conf" = "~/.tmux.conf"
"aqua.yaml" = "~/.config/aquaproj-aqua/aqua.yaml"
"atuin.toml" = "~/.config/atuin/config.toml" "atuin.toml" = "~/.config/atuin/config.toml"

View file

@ -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
}
]
}

View file

@ -7,7 +7,8 @@
nixpkgs.config.allowBroken = true; nixpkgs.config.allowBroken = true;
boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.canTouchEfiVariables = true;
services.snap.enable = true; boot.supportedFilesystems = ["ntfs"];
services.snap.enable = false;
networking.hostName = "limgrave"; networking.hostName = "limgrave";
networking.networkmanager.enable = true; networking.networkmanager.enable = true;
environment.sessionVariables.MOZ_ENABLE_WAYLAND = 0; environment.sessionVariables.MOZ_ENABLE_WAYLAND = 0;
@ -96,11 +97,12 @@
description = "catalin"; description = "catalin";
shell = pkgs.fish; shell = pkgs.fish;
useDefaultShell = true; useDefaultShell = true;
extraGroups = [ "networkmanager" "wheel" "docker" ]; extraGroups = [ "networkmanager" "wheel" "docker" "nas" ];
packages = with pkgs; [ packages = with pkgs; [
flatpak flatpak
]; ];
}; };
users.groups.nas.gid = 568;
programs.firefox.enable = true; programs.firefox.enable = true;
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;
@ -148,7 +150,11 @@
dates = "weekly"; dates = "weekly";
options = "--delete-older-than 1w"; options = "--delete-older-than 1w";
}; };
fonts.packages = with pkgs; [
atkinson-hyperlegible
];
services.openssh.enable = true; services.openssh.enable = true;
services.tailscale.enable = true;
virtualisation.docker.enable = true; virtualisation.docker.enable = true;
networking.nameservers = [ "192.168.1.7" "1.1.1.1" ]; networking.nameservers = [ "192.168.1.7" "1.1.1.1" ];
nix.extraOptions = '' nix.extraOptions = ''

89
nix/flake.lock generated
View file

@ -3,11 +3,11 @@
"flake-compat": { "flake-compat": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1696426674, "lastModified": 1733328505,
"narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=", "narHash": "sha256-NeCCThCEP3eCl2l/+27kNNK7QrwZB1IJCrXfrbv5oqU=",
"owner": "edolstra", "owner": "edolstra",
"repo": "flake-compat", "repo": "flake-compat",
"rev": "0f9255e01c2351cc7d116c072cb317785dd33b33", "rev": "ff81ac966bb2cae68946d5ed5fc4994f96d0ffec",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -53,11 +53,11 @@
"systems": "systems" "systems": "systems"
}, },
"locked": { "locked": {
"lastModified": 1705309234, "lastModified": 1731533236,
"narHash": "sha256-uNRRNRKmJyCRC/8y1RqBkqWBLM034y4qN7EprSdmgyA=", "narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
"owner": "numtide", "owner": "numtide",
"repo": "flake-utils", "repo": "flake-utils",
"rev": "1ef2e671c3b0c19053962c07dbda38332dcebf26", "rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -69,16 +69,18 @@
"ghostty": { "ghostty": {
"inputs": { "inputs": {
"flake-compat": "flake-compat", "flake-compat": "flake-compat",
"flake-utils": "flake-utils",
"nixpkgs-stable": "nixpkgs-stable", "nixpkgs-stable": "nixpkgs-stable",
"nixpkgs-unstable": "nixpkgs-unstable", "nixpkgs-unstable": "nixpkgs-unstable",
"zig": "zig" "zig": "zig",
"zig2nix": "zig2nix"
}, },
"locked": { "locked": {
"lastModified": 1738275804, "lastModified": 1741594465,
"narHash": "sha256-n9cSCLlWjc8Bc5QyZYLo5+c6MfTZjgDpUGx/FGxBiY8=", "narHash": "sha256-8a/QIgNwV8VGn8JIiACmVVEdue+U3juiMSAO1DEUTC4=",
"owner": "ghostty-org", "owner": "ghostty-org",
"repo": "ghostty", "repo": "ghostty",
"rev": "c5508e7d1922842ecd3160ea73b97da1282168b3", "rev": "95daca616db5c24d7bb37fd5a3ac2f8762bb4ead",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -94,11 +96,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1736373539, "lastModified": 1739757849,
"narHash": "sha256-dinzAqCjenWDxuy+MqUQq0I4zUSfaCvN9rzuCmgMZJY=", "narHash": "sha256-Gs076ot1YuAAsYVcyidLKUMIc4ooOaRGO0PqTY7sBzA=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "bd65bc3cde04c16755955630b344bc9e35272c56", "rev": "9d3d080aec2a35e05a15cedd281c2384767c2cfe",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -132,11 +134,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1738163270, "lastModified": 1741600792,
"narHash": "sha256-B/7Y1v4y+msFFBW1JAdFjNvVthvNdJKiN6EGRPnqfno=", "narHash": "sha256-yfDy6chHcM7pXpMF4wycuuV+ILSTG486Z/vLx/Bdi6Y=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "59e618d90c065f55ae48446f307e8c09565d5ab0", "rev": "ebe2788eafd539477f83775ef93c3c7e244421d3",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -160,11 +162,11 @@
}, },
"nixpkgs-stable": { "nixpkgs-stable": {
"locked": { "locked": {
"lastModified": 1733423277, "lastModified": 1738255539,
"narHash": "sha256-TxabjxEgkNbCGFRHgM/b9yZWlBj60gUOUnRT/wbVQR8=", "narHash": "sha256-hP2eOqhIO/OILW+3moNWO4GtdJFYCqAe9yJZgvlCoDQ=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "e36963a147267afc055f7cf65225958633e536bf", "rev": "c3511a3b53b482aa7547c9d1626fd7310c1de1c5",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -176,11 +178,11 @@
}, },
"nixpkgs-unstable": { "nixpkgs-unstable": {
"locked": { "locked": {
"lastModified": 1733229606, "lastModified": 1738136902,
"narHash": "sha256-FLYY5M0rpa5C2QAE3CKLYAM6TwbKicdRK6qNrSHlNrE=", "narHash": "sha256-pUvLijVGARw4u793APze3j6mU1Zwdtz7hGkGGkD87qw=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "566e53c2ad750c84f6d31f9ccb9d00f823165550", "rev": "9a5db3142ce450045840cc8d832b13b8a2018e0c",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -216,11 +218,11 @@
}, },
"unstable": { "unstable": {
"locked": { "locked": {
"lastModified": 1738136902, "lastModified": 1741708242,
"narHash": "sha256-pUvLijVGARw4u793APze3j6mU1Zwdtz7hGkGGkD87qw=", "narHash": "sha256-cNRqdQD4sZpN7JLqxVOze4+WsWTmv2DGH0wNCOVwrWc=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "9a5db3142ce450045840cc8d832b13b8a2018e0c", "rev": "b62d2a95c72fb068aecd374a7262b37ed92df82b",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -235,18 +237,21 @@
"flake-compat": [ "flake-compat": [
"ghostty" "ghostty"
], ],
"flake-utils": "flake-utils", "flake-utils": [
"ghostty",
"flake-utils"
],
"nixpkgs": [ "nixpkgs": [
"ghostty", "ghostty",
"nixpkgs-stable" "nixpkgs-stable"
] ]
}, },
"locked": { "locked": {
"lastModified": 1717848532, "lastModified": 1738239110,
"narHash": "sha256-d+xIUvSTreHl8pAmU1fnmkfDTGQYCn2Rb/zOwByxS2M=", "narHash": "sha256-Y5i9mQ++dyIQr+zEPNy+KIbc5wjPmfllBrag3cHZgcE=",
"owner": "mitchellh", "owner": "mitchellh",
"repo": "zig-overlay", "repo": "zig-overlay",
"rev": "02fc5cc555fc14fda40c42d7c3250efa43812b43", "rev": "1a8fb6f3a04724519436355564b95fce5e272504",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -254,6 +259,32 @@
"repo": "zig-overlay", "repo": "zig-overlay",
"type": "github" "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", "root": "root",

View file

@ -24,24 +24,24 @@
options = [ "fmask=0077" "dmask=0077" ]; options = [ "fmask=0077" "dmask=0077" ];
}; };
fileSystems."/snap/acestreamplayer/17" = # fileSystems."/snap/acestreamplayer/17" =
{ device = "/var/lib/snapd/snaps/acestreamplayer_17.snap"; # { device = "/var/lib/snapd/snaps/acestreamplayer_17.snap";
fsType = "squashfs"; # fsType = "squashfs";
options = [ "loop" ]; # options = [ "loop" ];
}; # };
#
fileSystems."/snap/core22/1722" = # fileSystems."/snap/core22/1722" =
{ device = "/var/lib/snapd/snaps/core22_1722.snap"; # { device = "/var/lib/snapd/snaps/core22_1722.snap";
fsType = "squashfs"; # fsType = "squashfs";
options = [ "loop" ]; # options = [ "loop" ];
}; # };
#
fileSystems."/snap/snapd/23258" = # fileSystems."/snap/snapd/23258" =
{ device = "/var/lib/snapd/snaps/snapd_23258.snap"; # { device = "/var/lib/snapd/snaps/snapd_23258.snap";
fsType = "squashfs"; # fsType = "squashfs";
options = [ "loop" ]; # options = [ "loop" ];
}; # };
#
fileSystems."/mnt/zeruel/nas1" = fileSystems."/mnt/zeruel/nas1" =
{ device = "zeruel.fuku:/mnt/pool1/nas1"; { device = "zeruel.fuku:/mnt/pool1/nas1";
fsType = "nfs"; fsType = "nfs";
@ -53,6 +53,11 @@
fsType = "nfs"; fsType = "nfs";
options = [ "x-systemd.automount" "noauto" ]; options = [ "x-systemd.automount" "noauto" ];
}; };
fileSystems."/mnt/windoze" =
{ device = "/dev/disk/by-uuid/46B01460B01458AF";
fsType = "ntfs-3g";
options = [ "rw" "uid=1000"];
};
swapDevices = swapDevices =
[ { device = "/dev/disk/by-uuid/03ecd98d-013f-4476-b43a-bcae0bc1de67"; } [ { device = "/dev/disk/by-uuid/03ecd98d-013f-4476-b43a-bcae0bc1de67"; }
]; ];

View file

@ -71,7 +71,6 @@ pkgs: with pkgs; [
kubecolor kubecolor
kubeconform kubeconform
kube-score kube-score
coder
uv uv
ventoy-full ventoy-full
chiaki-ng chiaki-ng
@ -87,4 +86,22 @@ pkgs: with pkgs; [
rose-pine-cursor rose-pine-cursor
vlc vlc
unrar-wrapper 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
] ]

View file

@ -120,3 +120,13 @@ Host fuku.dd01
HostName dd01.fuku HostName dd01.fuku
User root User root
IdentityFile ~/.ssh/id_ed25519 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 ---

27
utils/dlm.sh Executable file
View file

@ -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