nixcfg/homeManagerModules/default.nix

26 lines
689 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:11:53 -04:00
desktop = "${config.home.homeDirectory}/desktop";
2024-04-02 23:00:13 -04:00
documents = "${config.home.homeDirectory}/docs";
download = "${config.home.homeDirectory}/downloads";
music = "${config.home.homeDirectory}/music";
videos = "${config.home.homeDirectory}/vids";
pictures = "${config.home.homeDirectory}/pics";
extraConfig = { XDG_SRC_DIR = "${config.home.homeDirectory}/src"; };
};
2024-03-28 19:52:15 -04:00
}