From 92797c1065a4d669cb11abf7cd85ba211bdabc5c Mon Sep 17 00:00:00 2001 From: oqyude Date: Tue, 30 Dec 2025 16:34:57 +0300 Subject: [PATCH] 123 --- home/server.nix | 30 +----------------------------- home/wsl.nix | 1 - 2 files changed, 1 insertion(+), 30 deletions(-) diff --git a/home/server.nix b/home/server.nix index 7f4a7e0..2be4aff 100644 --- a/home/server.nix +++ b/home/server.nix @@ -8,20 +8,14 @@ let symlinksPaths = { "${config.home.homeDirectory}/External/Music" = "Music"; + "${xlib.dirs.storage}/beets" = ".config/beets"; "${xlib.dirs.storage}/ssh" = ".ssh/config"; "${xlib.dirs.storage}/ssh" = ".ssh/known_hosts"; - "${xlib.dirs.storage}/beets" = ".config/beets"; }; - mkLinks = lib.mapAttrs' (sourcePath: targetPath: { name = targetPath; value.source = config.lib.file.mkOutOfStoreSymlink "${sourcePath}"; }) symlinksPaths; - - # Paths - beetsPath = "${xlib.dirs.storage}/beets"; - sshPath = "${xlib.dirs.storage}/ssh"; - musicPath = "${config.home.homeDirectory}/External/Music"; in { imports = [ @@ -29,12 +23,6 @@ in ]; home.file = mkLinks; xdg = { - # configFile = { - # "beets" = { - # source = config.lib.file.mkOutOfStoreSymlink beetsPath; - # target = "beets"; - # }; - # }; enable = true; autostart.enable = true; userDirs = { @@ -50,20 +38,4 @@ in videos = null; }; }; - # home = { - # file = { - # "ssh-config" = { - # source = config.lib.file.mkOutOfStoreSymlink "${sshPath}/config"; - # target = ".ssh/config"; - # }; - # "ssh-known" = { - # source = config.lib.file.mkOutOfStoreSymlink "${sshPath}/known_hosts"; - # target = ".ssh/known_hosts"; - # }; - # "Music" = { - # source = config.lib.file.mkOutOfStoreSymlink musicPath; - # target = "${config.home.homeDirectory}/Music"; - # }; - # }; - # }; } diff --git a/home/wsl.nix b/home/wsl.nix index ab5c632..89487a7 100644 --- a/home/wsl.nix +++ b/home/wsl.nix @@ -1,6 +1,5 @@ { config, - inputs, lib, pkgs, xlib,