allow all configs

This commit is contained in:
2026-03-07 17:36:38 -06:00
parent ff97c41b02
commit 95043f84e4
2 changed files with 14 additions and 5 deletions

View File

@@ -4,7 +4,7 @@
perSystem = { self', pkgs, system, ... }: {
packages = {
aurora = pkgs.writeShellScriptBin "aurora" ''
${pkgs.quickshell}/bin/quickshell --path ${self'.packages.aurora-dots}/share "''$@"
${pkgs.quickshell}/bin/quickshell "''$@"
'';
aurora-dots = pkgs.stdenv.mkDerivation {

View File

@@ -25,15 +25,24 @@
};
};
config = {
programs.quickshell = let
config = let
cfg = config.programs.aurora;
system = pkgs.stdenv.hostPlatform.system;
in {
programs.quickshell = {
enable = cfg.enable;
package = cfg.package;
activeConfig = "aurora";
configs = {
aurora = "${self.packages.${system}.aurora-dots}/share";
hybar = "${self.packages.${system}.hybar-dots}/share";
};
systemd = {
enable = cfg.systemd.enable;
target = cfg.systemd.target;