From ce19d10585e0051846529bda0098fc668b868330 Mon Sep 17 00:00:00 2001 From: oqyude Date: Fri, 13 Mar 2026 16:25:02 +0300 Subject: [PATCH] try to setup tuckr --- home/apps/streamrip.nix | 11 ----------- home/primary.nix | 4 ---- home/secondary.nix | 5 ----- home/server.nix | 3 --- home/wsl.nix | 5 +---- modules/essentials/packages.nix | 1 + modules/essentials/shell.nix | 3 +++ 7 files changed, 5 insertions(+), 27 deletions(-) diff --git a/home/apps/streamrip.nix b/home/apps/streamrip.nix index cd91859..462b1e7 100644 --- a/home/apps/streamrip.nix +++ b/home/apps/streamrip.nix @@ -4,18 +4,7 @@ xlib, ... }: -let - streamripPath = "${xlib.dirs.wsl-storage}/streamrip"; -in { - xdg = { - configFile = { - "streamrip" = { - source = config.lib.file.mkOutOfStoreSymlink streamripPath; - target = "streamrip"; - }; - }; - }; home.packages = [ pkgs.streamrip ]; diff --git a/home/primary.nix b/home/primary.nix index b058761..7e89ac9 100644 --- a/home/primary.nix +++ b/home/primary.nix @@ -8,12 +8,8 @@ let symlinksPaths = { # cfg - "${xlib.dirs.user-storage}/ssh/config" = ".ssh/config"; - "${xlib.dirs.user-storage}/beets" = ".config/beets"; "${xlib.dirs.user-storage}/ludusavi" = ".config/ludusavi"; - "${xlib.dirs.user-storage}/solaar" = ".config/solaar"; "${xlib.dirs.user-storage}/easyeffects" = ".config/easyeffects"; - "${xlib.dirs.user-storage}/KeePassXC" = ".config/keepassxc"; "${xlib.dirs.user-storage}/v2rayN" = ".local/share/v2rayN"; "/etc/nixos" = "Configuration"; diff --git a/home/secondary.nix b/home/secondary.nix index ec3eed8..f7a6284 100644 --- a/home/secondary.nix +++ b/home/secondary.nix @@ -8,12 +8,7 @@ let symlinksPaths = { # cfg - "${xlib.dirs.user-storage}/ssh/config" = ".ssh/config"; - "${xlib.dirs.user-storage}/beets" = ".config/beets"; "${xlib.dirs.user-storage}/ludusavi" = ".config/ludusavi"; - "${xlib.dirs.user-storage}/solaar" = ".config/solaar"; - "${xlib.dirs.user-storage}/easyeffects" = ".config/easyeffects"; - "${xlib.dirs.user-storage}/KeePassXC" = ".config/keepassxc"; "${xlib.dirs.user-storage}/v2rayN" = ".local/share/v2rayN"; "/etc/nixos" = "Configuration"; diff --git a/home/server.nix b/home/server.nix index fa197d5..fd0bbff 100644 --- a/home/server.nix +++ b/home/server.nix @@ -8,9 +8,6 @@ let symlinksPaths = { "${config.home.homeDirectory}/External/Music" = "Music"; - "${xlib.dirs.storage}/beets" = ".config/beets"; - "${xlib.dirs.storage}/ssh/config" = ".ssh/config"; - "${xlib.dirs.storage}/ssh/known_hosts" = ".ssh/known_hosts"; }; mkLinks = lib.mapAttrs' (sourcePath: targetPath: { name = targetPath; diff --git a/home/wsl.nix b/home/wsl.nix index 4d0f686..5f9c327 100644 --- a/home/wsl.nix +++ b/home/wsl.nix @@ -9,10 +9,7 @@ let symlinksPaths = { "${config.home.homeDirectory}/External/Music" = "Music"; "${xlib.dirs.wsl-home}" = "External"; - "${xlib.dirs.wsl-storage}/beets" = ".config/beets"; - "${xlib.dirs.wsl-storage}/ssh/config" = ".ssh/config"; - "${xlib.dirs.wsl-storage}/ssh/known_hosts" = ".ssh/known_hosts"; - "${xlib.dirs.wsl-storage}/flow" = ".config/flow"; + "${xlib.dirs.wsl-storage}" = "Storage"; }; mkLinks = lib.mapAttrs' (sourcePath: targetPath: { name = targetPath; diff --git a/modules/essentials/packages.nix b/modules/essentials/packages.nix index d989d2d..73741a0 100644 --- a/modules/essentials/packages.nix +++ b/modules/essentials/packages.nix @@ -103,6 +103,7 @@ in # tree-sitter tree-sitter-grammars.tree-sitter-nix fresh-editor + tuckr ]; }; environment.variables.EDITOR = "fresh"; diff --git a/modules/essentials/shell.nix b/modules/essentials/shell.nix index fa5025f..372ff15 100644 --- a/modules/essentials/shell.nix +++ b/modules/essentials/shell.nix @@ -67,4 +67,7 @@ json2nix = "nix run github:sempruijs/json2nix"; }; }; + environment.sessionVariables = { + TUCKR_HOME = "$HOME/Storage/dotfiles"; + }; }