Add Noctalia shell with Quickshell overview

- Add `noctalia` input to flake and lock it in `flake.lock`.
- Include `noctalia` and `quickshell` modules in `flake.nix`.
- Extend core packages to accept `inputs` and `system`; add
  `quickshell.nix`
  with required Qt6 packages and environment variables.
- Enable `upower` service for battery handling.
- Add home modules `noctalia.nix` and `overview.nix` (QML UI, README,
  assets, widgets, services) to provide a workspace overview.
- Comment out unused rofi and web‑search binds; update `exec‑once` to
  start
  the overview daemon and `noctalia-shell`.
- Provide `restart.noctalia` script and its Nix wrapper.
- Enable `noctalia-shell` in `stylix` configuration.
This commit is contained in:
2026-02-02 01:57:56 +01:00
parent 51ad90dc9c
commit 8ccb9205bf
35 changed files with 1524 additions and 10 deletions

View File

@@ -12,6 +12,7 @@
./nfs.nix
./nh.nix
./printing.nix
./quickshell.nix
./greetd.nix
./security.nix
./services.nix

View File

@@ -1,4 +1,9 @@
{pkgs, ...}: {
{
pkgs,
inputs,
system,
...
}: {
environment.systemPackages = with pkgs; [
mpv
pavucontrol
@@ -53,5 +58,10 @@
hunspell
hunspellDicts.pl_PL
hunspellDicts.en_US
# Noctalia Shell Dependencies
matugen
app2unit
gpu-screen-recorder
power-profiles-daemon
];
}

View File

@@ -0,0 +1,30 @@
{pkgs, ...}: {
environment = {
systemPackages = with pkgs; [
quickshell
# Qt6 related kitsfor slove Qt5Compat problem
qt6.qt5compat
qt6.qtbase
qt6.qtquick3d
qt6.qtwayland
qt6.qtdeclarative
qt6.qtsvg
# alternate options
# libsForQt5.qt5compat
kdePackages.qt5compat
libsForQt5.qt5.qtgraphicaleffects
];
# necessary environment variables
variables = {
QML_IMPORT_PATH = "${pkgs.qt6.qt5compat}/lib/qt-6/qml:${pkgs.qt6.qtbase}/lib/qt-6/qml";
QML2_IMPORT_PATH = "${pkgs.qt6.qt5compat}/lib/qt-6/qml:${pkgs.qt6.qtbase}/lib/qt-6/qml";
};
# make sure the Qt application is working properly
sessionVariables = {
QT_QPA_PLATFORM = "wayland;xcb";
QT_WAYLAND_DISABLE_WINDOWDECORATION = "1";
};
};
}

View File

@@ -53,5 +53,6 @@
];
};
};
upower.enable = true; # noctalia shell battery
};
}