This commit is contained in:
Zacharias-Brohn
2026-02-06 17:17:38 +01:00
parent 47677c20dc
commit 76c206ed91
4 changed files with 243 additions and 0 deletions
+47
View File
@@ -0,0 +1,47 @@
{
description = "Flake for zshell";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
quickshell = {
url = "git+https://git.outfoxxed.me/outfoxxed/quickshell";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs =
{
self,
nixpkgs,
...
}@inputs:
let
forAllSystems =
fn: nixpkgs.lib.genAttrs nixpkgs.lib.platforms.linux (system: fn nixpkgs.legacyPackages.${system});
in
{
formatter = forAllSystems (pkgs: pkgs.nixfmt);
packages = forAllSystems (pkgs: rec {
app2unit = pkgs.callPackage ./nix/app2unit.nix { inherit pkgs; };
});
devShells = forAllSystems (pkgs: {
default =
let
shell = self.packages.${pkgs.stdenv.hostPlatform.system}.zshell;
in
pkgs.mkShell.override { stdenv = shell.stdenv; } {
inputsFrom = [
shell
shell.Plugins
];
packages = with pkgs; [
material-symbols
rubik
nerd-fonts.caskaydia-cove
];
};
});
};
}