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