small flake.nix fix

This commit is contained in:
Drazzy9295 2025-08-26 22:27:51 +01:00 committed by GitHub
parent 45b0fbeb4a
commit c99f470e34
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -11,14 +11,22 @@
};
};
outputs = { self, nixpkgs, systems, quickshell, ... }:
let
outputs = {
self,
nixpkgs,
systems,
quickshell,
...
}: let
eachSystem = nixpkgs.lib.genAttrs (import systems);
in {
formatter = eachSystem (pkgs: pkgs.alejandra);
formatter = eachSystem (
system:
nixpkgs.legacyPackages.${system}.alejandra
);
packages = eachSystem (system:
let
packages = eachSystem (
system: let
pkgs = nixpkgs.legacyPackages.${system};
qs = quickshell.packages.${system}.default.override {
withX11 = false;
@ -26,15 +34,32 @@
};
runtimeDeps = with pkgs; [
bash bluez brightnessctl cava cliphist coreutils ddcutil file
findutils gpu-screen-recorder libnotify matugen networkmanager
swww wl-clipboard
bash
bluez
brightnessctl
cava
cliphist
coreutils
ddcutil
file
findutils
gpu-screen-recorder
libnotify
matugen
networkmanager
swww
wl-clipboard
];
fontconfig = pkgs.makeFontsConf {
fontDirectories = [ pkgs.material-symbols pkgs.roboto pkgs.inter-nerdfont ];
fontDirectories = [
pkgs.material-symbols
pkgs.roboto
pkgs.inter-nerdfont
];
};
in
pkgs.stdenv.mkDerivation {
in {
default = pkgs.stdenv.mkDerivation {
pname = "noctalia-shell";
version = self.rev or self.dirtyRev or "dirty";
src = ./.;
@ -59,9 +84,10 @@
license = pkgs.lib.licenses.mit;
mainProgram = "noctalia-shell";
};
};
}
);
defaultPackage = eachSystem (system: self.packages.${system});
defaultPackage = eachSystem (system: self.packages.${system}.default);
};
}