mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-25 09:43:11 +01:00
a6f2c58d51
This is a much better way of handling things.
24 lines
495 B
Nix
24 lines
495 B
Nix
{ config, ... }:
|
|
|
|
let
|
|
inherit (config.home) homeDirectory;
|
|
in
|
|
{
|
|
xdg.userDirs = {
|
|
enable = true;
|
|
createDirectories = true;
|
|
|
|
desktop = null;
|
|
templates = null;
|
|
publicShare = null;
|
|
|
|
download = "${homeDirectory}/ダウンロード";
|
|
documents = "${homeDirectory}/ドキュメント";
|
|
music = "${homeDirectory}/音楽";
|
|
pictures = "${homeDirectory}/画像";
|
|
videos = "${homeDirectory}/ビデオ";
|
|
};
|
|
|
|
xdg.configFile."user-dirs.locale".text = "ja_JP";
|
|
}
|