Moved over hyprland

This commit is contained in:
ari committed 2024-08-17 21:19:38 -04:00
1 parent 41f5bc048d
commit 0adae1cea9
6 files changed
+78 -61

No files matched your search

+1
View File
@@ -3,6 +3,7 @@
imports = [
./common.nix
./kde.nix
./hyprland.nix
./wayland.nix
./x11.nix
./packages.nix
+68
View File
@@ -0,0 +1,68 @@
{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.skyg.desktop.hyprland;
in
{
options = {
skyg.desktop.hyprland = {
enabled = mkEnableOption
"Hyprland";
};
};
config = mkIf cfg.enabled {
programs.hyprland = { enable = true; };
environment.sessionVariables = { NIXOS_OZONE_WL = "1"; };
programs.waybar.enable = false;
environment.systemPackages = with pkgs; [
# common utilities
busybox
scdoc
mpv
gcc
xdg-desktop-portal
# sound
pavucontrol
# notification daemon
dunst
libnotify
# hyprland
lxqt.lxqt-policykit
xdg-desktop-portal-gtk
xdg-desktop-portal-hyprland
hyprlock
hypridle
hyprpaper
# color picker
hyprpicker
# nwg-shell
nwg-dock
nwg-dock-hyprland
nwg-launchers
nwg-displays
nwg-drawer
nwg-panel
gopsuinfo
nwg-look
nwg-menu
nwg-bar
# screenshots
swappy
hyprshot
# networking
networkmanagerapplet
meson
wl-clipboard
wlroots
cliphist
xdg-desktop-portal-wlr
# app launchers
rofi-wayland
wofi
];
services.mpd.enable = true;
services.pipewire.wireplumber.enable = true;
users.users.${config.skyg.user.name}.extraGroups = [ "input" ];
};
}
+3 -3
View File
@@ -6,12 +6,12 @@ let
in
{
options = {
skyg.skyg.desktop.kde = {
enable = mkEnableOption
skyg.desktop.kde = {
enabled = mkEnableOption
"KDE";
};
};
config = mkIf cfg.enable {
config = mkIf cfg.enabled {
services.desktopManager.plasma6.enable = true;
services.desktopManager.plasma6.notoPackage = config.skyg.desktop.fonts;
services.desktopManager.plasma6.enableQt5Integration = true;
+5
View File
@@ -39,5 +39,10 @@
# terminal
alacritty
alacritty-theme
# wine
wineWowPackages.stable
winetricks
wineWowPackages.waylandFull
];
}