mirror of
https://github.com/oqyude/nixos.git
synced 2026-06-10 20:20:41 +03:00
123
This commit is contained in:
+3
-6
@@ -9,9 +9,9 @@ let
|
||||
}:
|
||||
let
|
||||
# Paths
|
||||
beetsPath = "${inputs.zeroq.dirs.storage or ""}/beets/linux";
|
||||
sshPath = "${inputs.zeroq.dirs.storage or ""}/ssh/${inputs.zeroq.devices.server.hostname or ""}";
|
||||
musicPath = "${config.home.homeDirectory or ""}/External/Music";
|
||||
beetsPath = "${inputs.zeroq.dirs.storage}/beets/linux";
|
||||
sshPath = "${inputs.zeroq.dirs.storage}/ssh/${inputs.zeroq.devices.server.hostname}";
|
||||
musicPath = "${config.home.homeDirectory}/External/Music";
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
@@ -20,7 +20,6 @@ let
|
||||
xdg = {
|
||||
configFile = {
|
||||
"beets" = {
|
||||
enable = builtins.pathExists beetsPath;
|
||||
source = config.lib.file.mkOutOfStoreSymlink beetsPath;
|
||||
target = "beets";
|
||||
};
|
||||
@@ -43,12 +42,10 @@ let
|
||||
home = {
|
||||
file = {
|
||||
".ssh" = {
|
||||
enable = builtins.pathExists sshPath;
|
||||
source = config.lib.file.mkOutOfStoreSymlink sshPath;
|
||||
target = ".ssh";
|
||||
};
|
||||
"Music" = {
|
||||
enable = builtins.pathExists musicPath;
|
||||
source = config.lib.file.mkOutOfStoreSymlink musicPath;
|
||||
target = "${config.home.homeDirectory}/Music";
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user