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