mirror of
https://github.com/librephoenix/nixos-config
synced 2025-01-19 07:05:51 +05:30
Configured xdg dirs
This commit is contained in:
parent
fad7ed13fc
commit
13dc386f9f
|
@ -23,7 +23,7 @@
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
name = "emmet";
|
name = "emmet";
|
||||||
email = "librephoenix@protonmail.com";
|
email = "librephoenix@protonmail.com";
|
||||||
dotfilesDir = "~/dotfiles";
|
dotfilesDir = "~/.dotfiles";
|
||||||
theme = "ayu-dark";
|
theme = "ayu-dark";
|
||||||
themePolarity = "dark";
|
themePolarity = "dark";
|
||||||
backgroundUrlPath = "/themes/"+theme+"/backgroundurl.txt";
|
backgroundUrlPath = "/themes/"+theme+"/backgroundurl.txt";
|
||||||
|
|
|
@ -153,6 +153,30 @@
|
||||||
|
|
||||||
services.syncthing.enable = true;
|
services.syncthing.enable = true;
|
||||||
|
|
||||||
|
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_DOTFILES_DIR = "${config.home.homeDirectory}/.dotfiles";
|
||||||
|
XDG_ARCHIVE_DIR = "${config.home.homeDirectory}/Archive";
|
||||||
|
XDG_VM_DIR = "${config.home.homeDirectory}/Machines";
|
||||||
|
XDG_ORG_DIR = "${config.home.homeDirectory}/Org";
|
||||||
|
XDG_GAME_DIR = "${config.home.homeDirectory}/Media/Games";
|
||||||
|
XDG_GAME_SAVE_DIR = "${config.home.homeDirectory}/Media/Game Saves";
|
||||||
|
XDG_PODCAST_DIR = "${config.home.homeDirectory}/Media/Podcasts";
|
||||||
|
XDG_BOOK_DIR = "${config.home.homeDirectory}/Media/Books";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
home.file.".librewolf/librewolf.overrides.cfg".text = ''
|
home.file.".librewolf/librewolf.overrides.cfg".text = ''
|
||||||
defaultPref("font.name.serif.x-western","Inconsolata");
|
defaultPref("font.name.serif.x-western","Inconsolata");
|
||||||
defaultPref("font.size.variable.x-western",20);
|
defaultPref("font.size.variable.x-western",20);
|
||||||
|
|
Loading…
Reference in a new issue