nixcfg/homeManagerModules/default.nix

51 lines
1.4 KiB
Nix
Raw Normal View History

inputs: self: {
2024-04-07 22:16:33 -04:00
config,
pkgs,
lib,
...
}: {
imports = [./apps ./desktop ./services ./scripts];
2024-03-30 18:04:10 -04:00
nixpkgs = {
config = {
allowUnfree = true;
};
};
2024-04-05 16:43:19 -04:00
2024-04-02 23:00:13 -04:00
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";
2024-06-03 22:29:30 -04:00
extraConfig = {XDG_SRC_DIR = "${config.home.homeDirectory}/src";};
music = lib.mkDefault "${config.home.homeDirectory}/music";
pictures = lib.mkDefault "${config.home.homeDirectory}/pics";
publicShare = lib.mkDefault "${config.home.homeDirectory}/pub";
templates = lib.mkDefault "${config.home.homeDirectory}/tmplts";
2024-06-03 22:29:30 -04:00
videos = lib.mkDefault "${config.home.homeDirectory}/vids";
2024-04-02 23:00:13 -04:00
};
2024-05-08 16:04:07 -04:00
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"
2024-06-03 22:29:30 -04:00
"file://${config.home.homeDirectory}/sync"
2024-05-08 16:04:07 -04:00
];
2024-04-17 21:22:22 -04:00
xdg.dataFile."backgrounds/".source = ../files/wallpapers;
dconf = {
enable = true;
settings = {
"org/virt-manager/virt-manager/connections" = {
autoconnect = ["qemu:///system"];
uris = ["qemu:///system"];
};
};
};
2024-03-28 19:52:15 -04:00
}