Nix configurations for my homelab
0

Configure Feed

Select the types of activity you want to include in your feed.

at main 1.3 kB View raw
1{ config, ... }: 2{ 3 home = { 4 username = "mou"; 5 homeDirectory = "/home/${config.home.username}"; 6 }; 7 8 xdg = { 9 enable = true; 10 cacheHome = "${config.home.homeDirectory}/.cache"; 11 configHome = "${config.home.homeDirectory}/.config"; 12 dataHome = "${config.home.homeDirectory}/.local/share"; 13 stateHome = "${config.home.homeDirectory}/.local/state"; 14 userDirs = { 15 enable = true; 16 setSessionVariables = false; 17 desktop = "${config.home.homeDirectory}/misc/.desktop"; 18 documents = "${config.home.homeDirectory}/doc"; 19 download = "${config.home.homeDirectory}/dls"; 20 music = "${config.home.homeDirectory}/aud"; 21 pictures = "${config.home.homeDirectory}/pic"; 22 publicShare = "${config.home.homeDirectory}/misc/.public"; 23 templates = "${config.home.homeDirectory}/misc/.templates"; 24 videos = "${config.home.homeDirectory}/vid"; 25 }; 26 }; 27 28 fonts.fontconfig.enable = true; 29 30 home = { 31 sessionPath = [ "${config.home.homeDirectory}/.local/bin" ]; 32 sessionVariables = { 33 ENV = "${config.xdg.configHome}/loksh/rc"; 34 HISTCONTROL = "ignoredups:ignorespace"; 35 HISTFILE = "${config.xdg.cacheHome}/loksh_history"; 36 SLURP_ARGS = "-b 00000040 -w 0"; 37 }; 38 }; 39 40 home.stateVersion = "24.05"; 41}