Compare commits

...

2 Commits

Author SHA1 Message Date
6ca47776b1 Make tray menu look nice (accessible) 2024-06-17 21:03:10 +02:00
d28f12650d Fix thunar installation, some config cleanup 2024-06-17 21:02:55 +02:00
4 changed files with 18 additions and 5 deletions

View File

@@ -39,7 +39,6 @@ with pkgs;
xournalpp xournalpp
xfce.thunar-archive-plugin
zip zip
p7zip # unzip 7zip archives p7zip # unzip 7zip archives
imagemagick imagemagick

View File

@@ -43,7 +43,6 @@ in
}; };
home.packages = with pkgs; [ home.packages = with pkgs; [
xfce.thunar
# hyprpicker # TODO # hyprpicker # TODO
# hyprcursor # TODO # hyprcursor # TODO
brightnessctl brightnessctl
@@ -160,6 +159,7 @@ in
input = { input = {
kb_layout = "de"; kb_layout = "de";
natural_scroll = false; natural_scroll = false;
follow_mouse = 1;
}; };
# Window rules # Window rules

View File

@@ -180,6 +180,7 @@ in
} }
#tray menu { #tray menu {
color: #${palette.base07};
background-color: #${palette.base00}; background-color: #${palette.base00};
opacity: 1.0; opacity: 1.0;
} }

View File

@@ -105,7 +105,6 @@
}; };
# Enable the XFCE Desktop Environment. # Enable the XFCE Desktop Environment.
services.xserver.displayManager.gdm.enable = true;
security.pam.services.gdm.enableGnomeKeyring = true; security.pam.services.gdm.enableGnomeKeyring = true;
security.pam.services.gtklock = { }; security.pam.services.gtklock = { };
@@ -123,17 +122,21 @@
# services.xserver.windowManager.i3.package = pkgs.i3-gaps; # services.xserver.windowManager.i3.package = pkgs.i3-gaps;
programs.hyprland.enable = true; programs.hyprland.enable = true;
programs.hyprland.package = inputs.hyprland.packages.${pkgs.system}.hyprland;
programs.hyprland.xwayland.enable = true; programs.hyprland.xwayland.enable = true;
# Configure keymap in X11 # Configure keymap in X11
services.xserver = { services.xserver = {
enable = true; enable = true;
displayManager.gdm.enable = true;
xkb.layout = "de"; xkb.layout = "de";
xkb.variant = ""; xkb.variant = "";
}; };
# Configure console keymap # Configure console keymap
console.keyMap = "de"; console.keyMap = "de";
# or use this
# console.useXkbConfig = true;
# Enable sound with pipewire. # Enable sound with pipewire.
sound.enable = true; sound.enable = true;
@@ -169,7 +172,7 @@
}; };
# Enable touchpad support (enabled default in most desktopManager). # Enable touchpad support (enabled default in most desktopManager).
services.xserver.libinput.enable = true; # services.xserver.libinput.enable = true;
# Define a user account. Don't forget to set a password with passwd. # Define a user account. Don't forget to set a password with passwd.
users.users.julian = { users.users.julian = {
@@ -261,7 +264,7 @@
xdg.portal.enable = true; xdg.portal.enable = true;
xdg.portal.extraPortals = [ xdg.portal.extraPortals = [
pkgs.xdg-desktop-portal-gtk pkgs.xdg-desktop-portal-gtk
pkgs.xdg-desktop-portal-hyprland # pkgs.xdg-desktop-portal-hyprland
]; ];
# services.emacs.enable = true; # services.emacs.enable = true;
@@ -285,6 +288,16 @@
xclip xclip
]; ];
programs.thunar.enable = true;
programs.xfconf.enable = true; # Persist saved preferences
programs.thunar.plugins = with pkgs.xfce; [
thunar-archive-plugin
thunar-volman
thunar-media-tags-plugin
];
services.gvfs.enable = true; # Mount, trash, and other functionalities
services.tumbler.enable = true; # Thumbnail support for images
virtualisation.docker.enable = true; virtualisation.docker.enable = true;
virtualisation.virtualbox.host.enable = true; virtualisation.virtualbox.host.enable = true;