|
|
@ -5,7 +5,8 @@ let
|
|
|
|
in
|
|
|
|
in
|
|
|
|
{
|
|
|
|
{
|
|
|
|
imports = [
|
|
|
|
imports = [
|
|
|
|
../neovim ../ranger.nix
|
|
|
|
../neovim
|
|
|
|
|
|
|
|
../ranger.nix
|
|
|
|
../fcitx5
|
|
|
|
../fcitx5
|
|
|
|
../picom.nix
|
|
|
|
../picom.nix
|
|
|
|
../i3.nix
|
|
|
|
../i3.nix
|
|
|
@ -21,15 +22,26 @@ in
|
|
|
|
|
|
|
|
|
|
|
|
programs.home-manager.enable = true;
|
|
|
|
programs.home-manager.enable = true;
|
|
|
|
|
|
|
|
|
|
|
|
xdg.mimeApps = {
|
|
|
|
xdg = {
|
|
|
|
enable = true;
|
|
|
|
userDirs = rec {
|
|
|
|
defaultApplications = {
|
|
|
|
enable = true;
|
|
|
|
# Make sure directories are opened in nautilus
|
|
|
|
desktop = "${config.home.homeDirectory}"; # weird hack for disabling desktop in nautilus
|
|
|
|
# .desktop files can be found in /etc/profiles/per-user/elnu/share/applications
|
|
|
|
documents = null;
|
|
|
|
# mimetypes can be found with the mimetype command:
|
|
|
|
music = null;
|
|
|
|
# nix-shell -p perl536Packages.FileMimeInfo
|
|
|
|
pictures = "${publicShare}/Pictures";
|
|
|
|
"inode/directory" = "org.gnome.Nautilus.desktop";
|
|
|
|
templates = null;
|
|
|
|
"application/zip" = "org.gnome.FileRoller.desktop";
|
|
|
|
publicShare = "${config.home.homeDirectory}/Nextcloud";
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
mimeApps = {
|
|
|
|
|
|
|
|
enable = true;
|
|
|
|
|
|
|
|
defaultApplications = {
|
|
|
|
|
|
|
|
# Make sure directories are opened in nautilus
|
|
|
|
|
|
|
|
# .desktop files can be found in /etc/profiles/per-user/elnu/share/applications
|
|
|
|
|
|
|
|
# mimetypes can be found with the mimetype command:
|
|
|
|
|
|
|
|
# nix-shell -p perl536Packages.FileMimeInfo
|
|
|
|
|
|
|
|
"inode/directory" = "org.gnome.Nautilus.desktop";
|
|
|
|
|
|
|
|
"application/zip" = "org.gnome.FileRoller.desktop";
|
|
|
|
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
@ -37,13 +49,19 @@ in
|
|
|
|
enable = true;
|
|
|
|
enable = true;
|
|
|
|
iconTheme = colors.gtkIconTheme pkgs;
|
|
|
|
iconTheme = colors.gtkIconTheme pkgs;
|
|
|
|
theme = colors.gtkTheme pkgs;
|
|
|
|
theme = colors.gtkTheme pkgs;
|
|
|
|
# Remove minimize, maximize, and close buttons
|
|
|
|
gtk3 = {
|
|
|
|
gtk3.extraConfig = {
|
|
|
|
bookmarks = let
|
|
|
|
gtk-decoration-layout = "appmenu:none";
|
|
|
|
home = "file://${config.home.homeDirectory}/";
|
|
|
|
};
|
|
|
|
in [
|
|
|
|
gtk4.extraConfig = {
|
|
|
|
"${home}Nextcloud"
|
|
|
|
gtk-decoration-layout = "appmenu:none";
|
|
|
|
"${home}Projects"
|
|
|
|
|
|
|
|
"${home}nix-config Config"
|
|
|
|
|
|
|
|
"sftp://elnu@elnuhub elnuhub"
|
|
|
|
|
|
|
|
];
|
|
|
|
|
|
|
|
# Remove minimize, maximize, and close buttons
|
|
|
|
|
|
|
|
extraConfig.gtk-decoration-layout = "appmenu:none";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
gtk4.extraConfig.gtk-decoration-layout = "appmenu:none";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
qt = {
|
|
|
|
qt = {
|
|
|
|