This commit is contained in:
2025-08-04 19:29:06 +03:00
parent 9fe1be9564
commit a7b119f60d
3 changed files with 53 additions and 1 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ let
}:
{
imports = [
inputs.self.homeModules."${xlib.device.type}"
"./type/${xlib.device.type}.nix"
];
home = {
username = xlib.device.username;
+52
View File
@@ -0,0 +1,52 @@
{ inputs, ... }@flakeContext:
{
config,
pkgs,
lib,
...
}:
let
# Paths
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 = [
inputs.self.homeModules.minimal
];
xdg = {
configFile = {
"beets" = {
source = config.lib.file.mkOutOfStoreSymlink beetsPath;
target = "beets";
};
};
enable = true;
autostart.enable = true;
userDirs = {
enable = true;
createDirectories = false;
desktop = null;
documents = null;
download = null;
music = null;
pictures = null;
publicShare = null;
templates = null;
videos = null;
};
};
home = {
file = {
".ssh" = {
source = config.lib.file.mkOutOfStoreSymlink sshPath;
target = ".ssh";
};
"Music" = {
source = config.lib.file.mkOutOfStoreSymlink musicPath;
target = "${config.home.homeDirectory}/Music";
};
};
};
}