chore(hand7s): options/gui upstream

Signed-off-by: s0me1newithhand7s <git+me@hand7s.org>
This commit is contained in:
s0me1newithhand7s 2026-05-29 16:49:52 +03:00
parent 78aec2a26e
commit 99696541ee

View file

@ -21,17 +21,12 @@ in {
sessionType = lib.mkOption { sessionType = lib.mkOption {
default = "None"; default = "None";
type = lib.types.enum [ type = lib.types.enum [
"DWL"
"Sway"
"River"
"Hyprland" "Hyprland"
"None" "Niri"
]; ];
description = '' description = ''
This option allows to choose current desktop session. All This option allows to choose current desktop session.
three: riverwm, sway and Hyprland has their own config. Almost
all of them - their respectful software. WIP.
''; '';
}; };
}; };
@ -42,8 +37,10 @@ in {
[ [
throne throne
heroic heroic
scrcpy
vesktop vesktop
ayugram ayugram
soteria
anki-bin anki-bin
mindustry mindustry
lan-mouse lan-mouse
@ -55,9 +52,9 @@ in {
thunderbird thunderbird
chatterino7 chatterino7
tetrio-desktop tetrio-desktop
hyprpolkitagent
freesm-launcher freesm-launcher
bitwarden-desktop bitwarden-desktop
steam-rom-manager
qbittorrent-enhanced qbittorrent-enhanced
(discord.override { (discord.override {
@ -66,13 +63,12 @@ in {
}) })
] ]
++ lib.optionals ( ++ lib.optionals (
cfg.sessionType == "Hyprland" cfg.sessionType == "Hyprland" || cfg.sessionType == "Niri"
) [ ) [
fum fum
dconf dconf
iwgtk iwgtk
tokei tokei
gajim
ifuse ifuse
yt-dlp yt-dlp
termusic termusic
@ -85,7 +81,6 @@ in {
yubico-piv-tool yubico-piv-tool
yubikey-manager yubikey-manager
libimobiledevice libimobiledevice
ungoogled-chromium
yubikey-touch-detector yubikey-touch-detector
yubikey-personalization yubikey-personalization
self.inputs.noctalia.packages.${system}.default self.inputs.noctalia.packages.${system}.default
@ -96,13 +91,14 @@ in {
programs = { programs = {
chromium.enable = true; chromium.enable = true;
firefox.enable = true;
spicetify.enable = true; spicetify.enable = true;
ghostty.enable = true; ghostty.enable = true;
git.enable = true; git.enable = true;
obsidian.enable = true; obsidian.enable = true;
}; };
services = with lib.mkDefault; { services = {
hyprpaper.enable = true; hyprpaper.enable = true;
kdeconnect.enable = true; kdeconnect.enable = true;
}; };