fix: restore just switch on current nixpkgs

This commit is contained in:
2026-03-10 14:06:37 -07:00
committed by Kat Huang
parent a978aadebf
commit 021b23eb5c
2 changed files with 7 additions and 6 deletions

View File

@@ -2,13 +2,19 @@
makeEnable config "myModules.quickshell" false {
home-manager.sharedModules = [
inputs.caelestia-shell.homeManagerModules.default
({ lib, nixos, ... }:
({ lib, nixos, pkgs, ... }:
let
hyprlandEnabled = lib.attrByPath ["myModules" "hyprland" "enable"] false nixos.config;
system = pkgs.stdenv.hostPlatform.system;
caelestiaPackage = inputs.caelestia-shell.packages.${system}.with-cli.override {
# Caelestia pins app2unit 1.0.3, which no longer builds on this nixpkgs snapshot.
app2unit = pkgs.app2unit;
};
in
{
programs.caelestia = {
enable = true;
package = caelestiaPackage;
cli.enable = true;
systemd.target = lib.mkDefault (
if hyprlandEnabled