mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 16:23:55 -05:00
52 lines
1.4 KiB
Nix
52 lines
1.4 KiB
Nix
{
|
|
config,
|
|
pkgs,
|
|
lib,
|
|
...
|
|
}: {
|
|
imports = [./apps ./desktop ./services ./scripts];
|
|
|
|
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";};
|
|
};
|
|
|
|
gtk.gtk3.bookmarks = [
|
|
"file://${config.xdg.userDirs.documents}"
|
|
"file://${config.xdg.userDirs.download}"
|
|
"file://${config.xdg.userDirs.music}"
|
|
"file://${config.xdg.userDirs.videos}"
|
|
"file://${config.xdg.userDirs.pictures}"
|
|
"file://${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"];
|
|
};
|
|
};
|
|
};
|
|
}
|