|
|
|
@ -5,7 +5,8 @@ let
|
|
|
|
|
in
|
|
|
|
|
{
|
|
|
|
|
imports = [
|
|
|
|
|
../neovim ../ranger.nix
|
|
|
|
|
../neovim
|
|
|
|
|
../ranger.nix
|
|
|
|
|
../fcitx5
|
|
|
|
|
../picom.nix
|
|
|
|
|
../i3.nix
|
|
|
|
@ -21,7 +22,17 @@ in
|
|
|
|
|
|
|
|
|
|
programs.home-manager.enable = true;
|
|
|
|
|
|
|
|
|
|
xdg.mimeApps = {
|
|
|
|
|
xdg = {
|
|
|
|
|
userDirs = rec {
|
|
|
|
|
enable = true;
|
|
|
|
|
desktop = "${config.home.homeDirectory}"; # weird hack for disabling desktop in nautilus
|
|
|
|
|
documents = null;
|
|
|
|
|
music = null;
|
|
|
|
|
pictures = "${publicShare}/Pictures";
|
|
|
|
|
templates = null;
|
|
|
|
|
publicShare = "${config.home.homeDirectory}/Nextcloud";
|
|
|
|
|
};
|
|
|
|
|
mimeApps = {
|
|
|
|
|
enable = true;
|
|
|
|
|
defaultApplications = {
|
|
|
|
|
# Make sure directories are opened in nautilus
|
|
|
|
@ -32,18 +43,25 @@ in
|
|
|
|
|
"application/zip" = "org.gnome.FileRoller.desktop";
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
gtk = {
|
|
|
|
|
enable = true;
|
|
|
|
|
iconTheme = colors.gtkIconTheme pkgs;
|
|
|
|
|
theme = colors.gtkTheme pkgs;
|
|
|
|
|
gtk3 = {
|
|
|
|
|
bookmarks = let
|
|
|
|
|
home = "file://${config.home.homeDirectory}/";
|
|
|
|
|
in [
|
|
|
|
|
"${home}Nextcloud"
|
|
|
|
|
"${home}Projects"
|
|
|
|
|
"${home}nix-config Config"
|
|
|
|
|
"sftp://elnu@elnuhub elnuhub"
|
|
|
|
|
];
|
|
|
|
|
# Remove minimize, maximize, and close buttons
|
|
|
|
|
gtk3.extraConfig = {
|
|
|
|
|
gtk-decoration-layout = "appmenu:none";
|
|
|
|
|
};
|
|
|
|
|
gtk4.extraConfig = {
|
|
|
|
|
gtk-decoration-layout = "appmenu:none";
|
|
|
|
|
extraConfig.gtk-decoration-layout = "appmenu:none";
|
|
|
|
|
};
|
|
|
|
|
gtk4.extraConfig.gtk-decoration-layout = "appmenu:none";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
qt = {
|
|
|
|
|