nixcfg/homeManagerModules/default.nix
Aly Raffauf 4da4930db9 code refactor for new host and user configs
fallarbor: added disko and fixed nixos-hardwarem odule import

fallarbor: added appropriate flake entries
2024-04-18 15:29:46 -04:00

43 lines
1.1 KiB
Nix

{
config,
pkgs,
lib,
...
}: {
imports = [./apps ./desktop ./services];
nixpkgs = {
# Configure nixpkgs instance
config = {
# Enable unfree 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";};
};
xdg.dataFile."backgrounds/".source = ../files/wallpapers;
dconf = {
enable = true;
settings = {
"org/virt-manager/virt-manager/connections" = {
autoconnect = ["qemu:///system"];
uris = ["qemu:///system"];
};
};
};
}