Moved over hyprland
This commit is contained in:
1 parent
41f5bc048d
commit
0adae1cea9
6 files changed
+78
-61
No files matched your search
@@ -1,55 +0,0 @@
|
|||||||
{ user }:
|
|
||||||
{ pkgs, ... }: {
|
|
||||||
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.${user.name}.extraGroups = [ "input" ];
|
|
||||||
}
|
|
||||||
@@ -1,8 +1,6 @@
|
|||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
{
|
{
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
wineWowPackages.stable
|
|
||||||
winetricks
|
|
||||||
wineWowPackages.waylandFull
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
@@ -3,6 +3,7 @@
|
|||||||
imports = [
|
imports = [
|
||||||
./common.nix
|
./common.nix
|
||||||
./kde.nix
|
./kde.nix
|
||||||
|
./hyprland.nix
|
||||||
./wayland.nix
|
./wayland.nix
|
||||||
./x11.nix
|
./x11.nix
|
||||||
./packages.nix
|
./packages.nix
|
||||||
|
|||||||
@@ -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" ];
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -6,12 +6,12 @@ let
|
|||||||
in
|
in
|
||||||
{
|
{
|
||||||
options = {
|
options = {
|
||||||
skyg.skyg.desktop.kde = {
|
skyg.desktop.kde = {
|
||||||
enable = mkEnableOption
|
enabled = mkEnableOption
|
||||||
"KDE";
|
"KDE";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enabled {
|
||||||
services.desktopManager.plasma6.enable = true;
|
services.desktopManager.plasma6.enable = true;
|
||||||
services.desktopManager.plasma6.notoPackage = config.skyg.desktop.fonts;
|
services.desktopManager.plasma6.notoPackage = config.skyg.desktop.fonts;
|
||||||
services.desktopManager.plasma6.enableQt5Integration = true;
|
services.desktopManager.plasma6.enableQt5Integration = true;
|
||||||
|
|||||||
@@ -39,5 +39,10 @@
|
|||||||
# terminal
|
# terminal
|
||||||
alacritty
|
alacritty
|
||||||
alacritty-theme
|
alacritty-theme
|
||||||
|
|
||||||
|
# wine
|
||||||
|
wineWowPackages.stable
|
||||||
|
winetricks
|
||||||
|
wineWowPackages.waylandFull
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user