mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 00:53:55 -05:00
28 lines
793 B
Nix
28 lines
793 B
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
imports = [ ./cliApps ./guiApps ./desktopEnv ./userServices ];
|
|
|
|
nixpkgs = {
|
|
# Configure nixpkgs instance
|
|
config = {
|
|
# Enableunfree packages
|
|
allowUnfree = true;
|
|
};
|
|
};
|
|
|
|
xdg.userDirs = {
|
|
enable = true;
|
|
createDirectories = true;
|
|
desktop = "${config.home.homeDirectory}/dsktp";
|
|
documents = "${config.home.homeDirectory}/docs";
|
|
download = "${config.home.homeDirectory}/dwnlds";
|
|
music = "${config.home.homeDirectory}/music";
|
|
videos = "${config.home.homeDirectory}/vids";
|
|
pictures = "${config.home.homeDirectory}/pics";
|
|
publicShare = "${config.home.homeDirectory}/pub";
|
|
templates = "${config.home.homeDirectory}/tmplts";
|
|
extraConfig = { XDG_SRC_DIR = "${config.home.homeDirectory}/src"; };
|
|
};
|
|
}
|