nixcfg/homeManagerModules/default.nix

28 lines
793 B
Nix
Raw Normal View History

2024-03-28 19:52:15 -04:00
{ config, pkgs, ... }:
{
imports = [ ./cliApps ./guiApps ./desktopEnv ./userServices ];
2024-03-30 18:04:10 -04:00
nixpkgs = {
# Configure nixpkgs instance
config = {
# Enableunfree packages
allowUnfree = true;
};
};
2024-04-02 23:00:13 -04:00
xdg.userDirs = {
enable = true;
createDirectories = true;
2024-04-03 21:33:04 -04:00
desktop = "${config.home.homeDirectory}/dsktp";
2024-04-02 23:00:13 -04:00
documents = "${config.home.homeDirectory}/docs";
2024-04-03 21:33:04 -04:00
download = "${config.home.homeDirectory}/dwnlds";
2024-04-02 23:00:13 -04:00
music = "${config.home.homeDirectory}/music";
videos = "${config.home.homeDirectory}/vids";
pictures = "${config.home.homeDirectory}/pics";
2024-04-03 21:33:04 -04:00
publicShare = "${config.home.homeDirectory}/pub";
templates = "${config.home.homeDirectory}/tmplts";
2024-04-02 23:00:13 -04:00
extraConfig = { XDG_SRC_DIR = "${config.home.homeDirectory}/src"; };
};
2024-03-28 19:52:15 -04:00
}