Files
system-config/home-manager/features/linux-desktop.nix

65 lines
1.4 KiB
Nix

{ pkgs, ... }:
{
imports = [
./hyprland.nix
./hyprpaper.nix
./audio.nix
./nix.nix
../apps/element.nix
../apps/eww
./terminal.nix
];
home.packages = with pkgs; [
feh
networkmanagerapplet # network control
hyprlock # lock screen
rofi # launcher
swayidle # lock on idle
swayosd # volume pop-up
swaynotificationcenter # notifications
hyprpolkitagent # Privilege managent
gnome-keyring # Secret management
glib # for Gnome/GTK settings
xdg-desktop-portal-hyprland
xdg-desktop-portal-gtk # GTK backend for XDG components like pickers
grim # Screenshot provider
hyprshot # Screenshot utility
nwg-look # GTK settings editor
playerctl # for universal play/pause etc
wirelesstools
waypaper # Wallpaper switcher
phinger-cursors # Mouse cursors
];
# Hint for electron apps to use wayland
home.sessionVariables.NIXOS_OZONE_WL = "1";
# Micelaneious config files
home.file = {
".XCompose".source = ./config/XCompose;
};
# GTK settings
gtk = {
enable = true;
theme = {
name = "Adwaita-dark";
package = pkgs.gnome-themes-extra;
};
gtk3.extraConfig = {
gtk-application-prefer-dark-theme = true;
};
gtk4.extraConfig = {
gtk-application-prefer-dark-theme = true;
};
};
# QT theming
qt = {
enable = true;
platformTheme.name = "adwaita";
style.name = "adwaita-dark";
};
}