mirror of
https://github.com/oqyude/nixos.git
synced 2026-06-11 04:30:41 +03:00
try to setup tuckr
This commit is contained in:
@@ -4,18 +4,7 @@
|
|||||||
xlib,
|
xlib,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
let
|
|
||||||
streamripPath = "${xlib.dirs.wsl-storage}/streamrip";
|
|
||||||
in
|
|
||||||
{
|
{
|
||||||
xdg = {
|
|
||||||
configFile = {
|
|
||||||
"streamrip" = {
|
|
||||||
source = config.lib.file.mkOutOfStoreSymlink streamripPath;
|
|
||||||
target = "streamrip";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
home.packages = [
|
home.packages = [
|
||||||
pkgs.streamrip
|
pkgs.streamrip
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -8,12 +8,8 @@
|
|||||||
let
|
let
|
||||||
symlinksPaths = {
|
symlinksPaths = {
|
||||||
# cfg
|
# 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}/ludusavi" = ".config/ludusavi";
|
||||||
"${xlib.dirs.user-storage}/solaar" = ".config/solaar";
|
|
||||||
"${xlib.dirs.user-storage}/easyeffects" = ".config/easyeffects";
|
"${xlib.dirs.user-storage}/easyeffects" = ".config/easyeffects";
|
||||||
"${xlib.dirs.user-storage}/KeePassXC" = ".config/keepassxc";
|
|
||||||
"${xlib.dirs.user-storage}/v2rayN" = ".local/share/v2rayN";
|
"${xlib.dirs.user-storage}/v2rayN" = ".local/share/v2rayN";
|
||||||
"/etc/nixos" = "Configuration";
|
"/etc/nixos" = "Configuration";
|
||||||
|
|
||||||
|
|||||||
@@ -8,12 +8,7 @@
|
|||||||
let
|
let
|
||||||
symlinksPaths = {
|
symlinksPaths = {
|
||||||
# cfg
|
# 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}/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";
|
"${xlib.dirs.user-storage}/v2rayN" = ".local/share/v2rayN";
|
||||||
"/etc/nixos" = "Configuration";
|
"/etc/nixos" = "Configuration";
|
||||||
|
|
||||||
|
|||||||
@@ -8,9 +8,6 @@
|
|||||||
let
|
let
|
||||||
symlinksPaths = {
|
symlinksPaths = {
|
||||||
"${config.home.homeDirectory}/External/Music" = "Music";
|
"${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: {
|
mkLinks = lib.mapAttrs' (sourcePath: targetPath: {
|
||||||
name = targetPath;
|
name = targetPath;
|
||||||
|
|||||||
+1
-4
@@ -9,10 +9,7 @@ let
|
|||||||
symlinksPaths = {
|
symlinksPaths = {
|
||||||
"${config.home.homeDirectory}/External/Music" = "Music";
|
"${config.home.homeDirectory}/External/Music" = "Music";
|
||||||
"${xlib.dirs.wsl-home}" = "External";
|
"${xlib.dirs.wsl-home}" = "External";
|
||||||
"${xlib.dirs.wsl-storage}/beets" = ".config/beets";
|
"${xlib.dirs.wsl-storage}" = "Storage";
|
||||||
"${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";
|
|
||||||
};
|
};
|
||||||
mkLinks = lib.mapAttrs' (sourcePath: targetPath: {
|
mkLinks = lib.mapAttrs' (sourcePath: targetPath: {
|
||||||
name = targetPath;
|
name = targetPath;
|
||||||
|
|||||||
@@ -103,6 +103,7 @@ in
|
|||||||
# tree-sitter
|
# tree-sitter
|
||||||
tree-sitter-grammars.tree-sitter-nix
|
tree-sitter-grammars.tree-sitter-nix
|
||||||
fresh-editor
|
fresh-editor
|
||||||
|
tuckr
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
environment.variables.EDITOR = "fresh";
|
environment.variables.EDITOR = "fresh";
|
||||||
|
|||||||
@@ -67,4 +67,7 @@
|
|||||||
json2nix = "nix run github:sempruijs/json2nix";
|
json2nix = "nix run github:sempruijs/json2nix";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
environment.sessionVariables = {
|
||||||
|
TUCKR_HOME = "$HOME/Storage/dotfiles";
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user