quickshell feature

This commit is contained in:
2026-07-07 16:24:32 +01:00
parent 47296ec554
commit 624d204412
2 changed files with 4 additions and 14 deletions

View File

@@ -1,7 +1,7 @@
{ {
moduleWithSystem, moduleWithSystem,
self, self,
inputs, inputs,
... ...
}: { }: {
flake.nixosModules.hyprland = moduleWithSystem ({ flake.nixosModules.hyprland = moduleWithSystem ({
@@ -42,6 +42,7 @@
kitty = self'.packages.kitty; kitty = self'.packages.kitty;
gotify-desktop = self'.packages.gotify-desktop; gotify-desktop = self'.packages.gotify-desktop;
otter-launcher = self'.packages.otter-launcher; otter-launcher = self'.packages.otter-launcher;
quickshell = self'.packages.quickshell;
waybar = self'.packages.waybar; waybar = self'.packages.waybar;
}; };
}; };

View File

@@ -1,25 +1,14 @@
{ {
self,
moduleWithSystem, moduleWithSystem,
inputs, inputs,
... ...
}: { }: {
flake.nixosModules.quickshell = moduleWithSystem ({ flake.nixosModules.quickshell = moduleWithSystem ({self', ...}: {
pkgs,
self',
inputs',
...
}: {
environment.systemPackages = with self'.packages; [ environment.systemPackages = with self'.packages; [
quickshell quickshell
]; ];
}); });
perSystem = { perSystem = {pkgs, ...}: {
pkgs,
lib,
self',
...
}: {
packages.quickshell = inputs.wrappers.wrappers.quickshell.wrap { packages.quickshell = inputs.wrappers.wrappers.quickshell.wrap {
inherit pkgs; inherit pkgs;
configDir = inputs.quickshell; configDir = inputs.quickshell;