mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-03-14 23:08:13 +01:00
I originally thought a monorepo was the way to go here and, although it worked, I do want to keep this config as simple as possible for people that just want to see how to set up Hyprland/dwm on NixOS. For those curious in running NixOS on a phone specifically, there will soon be a separate mobile-config repository that should make learning from it easier.
26 lines
537 B
Nix
26 lines
537 B
Nix
{ config, ... }:
|
|
|
|
let
|
|
inherit (config.home) homeDirectory;
|
|
in
|
|
{
|
|
xdg = {
|
|
userDirs = {
|
|
enable = true;
|
|
createDirectories = true;
|
|
|
|
templates = null;
|
|
publicShare = null;
|
|
|
|
desktop = homeDirectory;
|
|
download = "${homeDirectory}/ダウンロード";
|
|
documents = "${homeDirectory}/ドキュメント";
|
|
music = "${homeDirectory}/音楽";
|
|
pictures = "${homeDirectory}/画像";
|
|
videos = "${homeDirectory}/ビデオ";
|
|
};
|
|
|
|
configFile."user-dirs.locale".text = "ja_JP";
|
|
};
|
|
}
|