mirror of
https://github.com/kmein/niveum
synced 2026-03-16 10:11:08 +01:00
feat: set xdg userdirs
This commit is contained in:
@@ -13,6 +13,12 @@ in {
|
|||||||
age = "7d";
|
age = "7d";
|
||||||
path = "${config.users.users.me.home}/sync/Downloads";
|
path = "${config.users.users.me.home}/sync/Downloads";
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
type = "d";
|
||||||
|
mode = "0755";
|
||||||
|
age = "7d";
|
||||||
|
path = "${config.users.users.me.home}/cloud/nextcloud/tmp";
|
||||||
|
}
|
||||||
] ++ map (path: tmpfilesConfig {
|
] ++ map (path: tmpfilesConfig {
|
||||||
type = "L+";
|
type = "L+";
|
||||||
user = config.users.users.me.name;
|
user = config.users.users.me.name;
|
||||||
|
|||||||
@@ -284,5 +284,19 @@ in {
|
|||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
home-manager.users.me = {
|
||||||
|
xdg.userDirs = rec {
|
||||||
|
enable = true;
|
||||||
|
documents = "${config.users.users.me.home}/cloud/nextcloud/Documents";
|
||||||
|
desktop = "/tmp";
|
||||||
|
download = "${config.users.users.me.home}/sync/Download";
|
||||||
|
music = "${config.users.users.me.home}/mobile/audio";
|
||||||
|
pictures = "${config.users.users.me.home}/cloud/nextcloud/Bilder";
|
||||||
|
publicShare = "${config.users.users.me.home}/cloud/nextcloud/tmp";
|
||||||
|
videos = pictures;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user