mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-25 13:11:55 -05:00
31 lines
911 B
Nix
31 lines
911 B
Nix
{
|
|
config,
|
|
pkgs,
|
|
lib,
|
|
...
|
|
}: {
|
|
imports = [./cliApps ./guiApps ./desktopEnv ./userServices];
|
|
|
|
nixpkgs = {
|
|
# Configure nixpkgs instance
|
|
config = {
|
|
# Enableunfree packages
|
|
allowUnfree = true;
|
|
};
|
|
};
|
|
|
|
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";
|
|
extraConfig = {XDG_SRC_DIR = "${config.home.homeDirectory}/src";};
|
|
};
|
|
}
|