Files
nixos-blueprint/modules/users/user/common.nix
T
2026-05-13 12:12:53 +03:00

40 lines
849 B
Nix

{
config,
inputs,
osConfig,
...
}: {
imports = with inputs; [
nix-index-database.homeModules.nix-index
self.homeModules.desktop
# self.homeModules.programs
];
inherit (osConfig) desktop;
home = {
inherit (osConfig.system) stateVersion;
sessionPath = ["$HOME/.local/bin"];
};
xdg.userDirs = let
inherit (config.home) homeDirectory;
homeDir = f: "${homeDirectory}/${f}";
in {
enable = true;
createDirectories = true;
setSessionVariables = true;
templates = homeDir "temps";
publicShare = homeDir "pub";
desktop = homeDir "desktop";
download = homeDir "downloads";
documents = homeDir "docs";
pictures = homeDir "pics";
videos = homeDir "vids";
music = homeDir "music";
};
# dconf.settings."org/gnome/desktop/interface".enable-animations = false;
}