Updated flake

This commit is contained in:
rasmus-kirk
2024-10-26 08:33:33 +00:00
parent 59c5bc66e4
commit 2a48b68ff2
3 changed files with 16 additions and 20 deletions
+5 -13
View File
@@ -1,11 +1,6 @@
{
description = "The Nixarr Media Server Nixos Module";
nixConfig = {
extra-substituters = ["https://nix-community.cachix.org"];
extra-trusted-public-keys = ["nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="];
};
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
@@ -46,19 +41,16 @@
default = pkgs.mkShell {
packages = with pkgs; [
alejandra
nixd
];
};
});
packages = forAllSystems ({ pkgs } : {
default = pkgs.mkShell rec {
docs = pkgs.callPackage ./mkDocs.nix {inherit inputs;};
default = docs;
};
packages = forAllSystems ({ pkgs } : rec {
docs = pkgs.callPackage ./mkDocs.nix {inherit inputs;};
default = docs;
});
formatters = forAllSystems ({ pkgs } : {
default = pkgs.alejandra;
});
formatter = forAllSystems ({pkgs}: pkgs.alejandra);
};
}