- Update flake.lock - Add doom emacs nix module to flake - Change default editor to doom emacs - Move xdg configuration to a separate file - Change user home filepaths to use `~` - Install doom emacs by default - Add personal doom emacs configuration
23 lines
662 B
Nix
23 lines
662 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
{
|
|
xdg.enable = true;
|
|
xdg.userDirs = {
|
|
enable = true;
|
|
createDirectories = true;
|
|
music = "${config.home.homeDirectory}/Media/Music";
|
|
videos = "${config.home.homeDirectory}/Media/Videos";
|
|
pictures = "${config.home.homeDirectory}/Media/Pictures";
|
|
templates = "${config.home.homeDirectory}/Templates";
|
|
download = "${config.home.homeDirectory}/Downloads";
|
|
documents = "${config.home.homeDirectory}/Documents";
|
|
desktop = null;
|
|
publicShare = null;
|
|
extraConfig = {
|
|
XDG_GAME_DIR = "${config.home.homeDirectory}/Games";
|
|
};
|
|
};
|
|
xdg.mime.enable = true;
|
|
xdg.mimeApps.enable = true;
|
|
}
|