mirror of
https://github.com/eliasrenman/nixos-config.git
synced 2026-03-17 04:26:06 +01:00
feat: added gnome
This commit is contained in:
75
hyprland.nix
Normal file
75
hyprland.nix
Normal file
@@ -0,0 +1,75 @@
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
# Enable the Hyprland Desktop Environment.
|
||||
programs.hyprland.enable = true;
|
||||
programs.hyprland.xwayland.enable = true;
|
||||
programs.hyprland.enableNvidiaPatches = true;
|
||||
|
||||
# SDDM with Hyprland/ricing theme
|
||||
services.xserver.displayManager.sddm = {
|
||||
enable = true;
|
||||
theme = "chili";
|
||||
};
|
||||
|
||||
# Swaylock PAM support
|
||||
security.pam.services.swaylock = {};
|
||||
|
||||
# Waybar with experimental features (needed for Hyprland workspaces)
|
||||
nixpkgs.overlays = [
|
||||
(self: super: {
|
||||
waybar = super.waybar.overrideAttrs (oldAttrs: {
|
||||
mesonFlags = oldAttrs.mesonFlags ++ [ "-Dexperimental=true" ];
|
||||
});
|
||||
})
|
||||
];
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
# Hyprland ecosystem
|
||||
hyprland
|
||||
hyprpaper
|
||||
hyprpicker
|
||||
wlogout
|
||||
wofi
|
||||
waybar
|
||||
wlsunset
|
||||
slurp
|
||||
grim
|
||||
wl-clipboard
|
||||
xwaylandvideobridge
|
||||
swaylock-effects
|
||||
|
||||
# SDDM theme
|
||||
sddm-chili-theme
|
||||
libsForQt5.sddm
|
||||
libsForQt5.polkit-kde-agent
|
||||
|
||||
# Ricing tools & themes
|
||||
cava
|
||||
nwg-look
|
||||
tokyo-night-gtk
|
||||
material-icons
|
||||
|
||||
# Ricing deps
|
||||
glib
|
||||
polkit
|
||||
xorg.xmodmap
|
||||
xorg.xset
|
||||
xorg.xsetroot
|
||||
|
||||
# Plymouth boot theme (ricing)
|
||||
plymouth
|
||||
];
|
||||
|
||||
# Plymouth ricing theme
|
||||
boot.plymouth.enable = true;
|
||||
boot.initrd.systemd.enable = true;
|
||||
boot.kernelParams = [ "quiet" ];
|
||||
boot.plymouth.extraConfig = ''
|
||||
DeviceScale=1
|
||||
'';
|
||||
boot.plymouth.themePackages = with pkgs; [
|
||||
(adi1090x-plymouth-themes.override { selected_themes = [ "colorful_loop" ]; })
|
||||
];
|
||||
boot.plymouth.theme = "colorful_loop";
|
||||
}
|
||||
Reference in New Issue
Block a user