2: Renamed system/modules/hyprland.nix to system/modules/wayland.nix (will configure a Home Manager Module later) and added GIMP to home/modules/media.nix

This commit is contained in:
uzy lol 2024-12-23 22:08:06 -08:00
parent 180342964f
commit 85623e92db
4 changed files with 19 additions and 61 deletions

View File

@ -2,6 +2,7 @@
{ {
home.packages = with pkgs; [ home.packages = with pkgs; [
nicotine-plus nicotine-plus
gimp
]; ];
programs.mpv.enable = true; programs.mpv.enable = true;

View File

@ -4,7 +4,7 @@
./graphics.nix ./graphics.nix
./powerManagement.nix ./powerManagement.nix
./wireless.nix ./wireless.nix
#./hyprland.nix #./wayland.nix
./syncthing.nix ./syncthing.nix
./kdePlasma.nix ./kdePlasma.nix
./media.nix ./media.nix

View File

@ -1,60 +0,0 @@
{pkgs, ...}: {
programs.hyprland = {
enable = true;
xwayland.enable = true;
};
environment.sessionVariables = {
WLR_NO_HARDWARE_CURSORS = "1";
NIXOS_OZONE_WL = "1";
QT_QPA_PLATFORMTHEME = "qt5ct";
};
xdg.portal = {
enable = true;
extraPortals = [ pkgs.xdg-desktop-portal-hyprland ];
};
environment.systemPackages = with pkgs; [
# Default Hyprland terminal
kitty
alacritty
waybar
# Notification things
mako
libnotify
# For wallpapers
hyprpaper
# App launcher
rofi-wayland
networkmanagerapplet
playerctl
brightnessctl
# Screenshot and copy stuff
grim
slurp
wl-clipboard
# Needed to display workspaces in Waybar
hyprland-workspaces
# For night light
wlsunset
kdePackages.qt6ct
libsForQt5.qt5ct
catppuccin-qt5ct
wlogout
xfce.thunar
blueman
];
}

View File

@ -0,0 +1,17 @@
{pkgs, ...}: {
programs.hyprland = {
enable = true;
xwayland.enable = true;
};
environment.sessionVariables = {
WLR_NO_HARDWARE_CURSORS = "1";
NIXOS_OZONE_WL = "1";
QT_QPA_PLATFORMTHEME = "qt5ct";
};
xdg.portal = {
enable = true;
extraPortals = [ pkgs.xdg-desktop-portal-hyprland ];
};
}