nixcfg/homeManagerModules/default.nix

28 lines
910 B
Nix
Raw Normal View History

{ config, pkgs, lib, ... }:
2024-03-28 19:52:15 -04:00
{
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;
desktop = lib.mkDefault "${config.home.homeDirectory}/dsktp";
documents = lib.mkDefault "${config.home.homeDirectory}/docs";
download = lib.mkDefault "${config.home.homeDirectory}/dwnlds";
music = lib.mkDefault "${config.home.homeDirectory}/music";
videos = lib.mkDefault "${config.home.homeDirectory}/vids";
pictures = lib.mkDefault "${config.home.homeDirectory}/pics";
publicShare = lib.mkDefault "${config.home.homeDirectory}/pub";
templates = lib.mkDefault "${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
}