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
+6
View File
@@ -0,0 +1,6 @@
[[language]]
name = "nix"
language-servers = [ "nixd" ]
[language-server.nixd]
command = "nixd"
Generated
+5 -7
View File
@@ -3,15 +3,16 @@
"flake-parts": {
"inputs": {
"nixpkgs-lib": [
"vpnconfinement",
"nixpkgs"
]
},
"locked": {
"lastModified": 1726153070,
"narHash": "sha256-HO4zgY0ekfwO5bX0QH/3kJ/h4KvUDFZg8YpkNwIbg1U=",
"lastModified": 1727826117,
"narHash": "sha256-K5ZLCyfO/Zj9mPFldf3iwS6oZStJcU4tSpiXTMYaaL0=",
"owner": "hercules-ci",
"repo": "flake-parts",
"rev": "bcef6817a8b2aa20a5a6dbb19b43e63c5bf8619a",
"rev": "3d04084d54bedc3d6b8b736c70ef449225c361b1",
"type": "github"
},
"original": {
@@ -38,7 +39,6 @@
},
"root": {
"inputs": {
"flake-parts": "flake-parts",
"nixpkgs": "nixpkgs",
"submerger": "submerger",
"vpnconfinement": "vpnconfinement"
@@ -88,9 +88,7 @@
},
"vpnconfinement": {
"inputs": {
"flake-parts": [
"flake-parts"
],
"flake-parts": "flake-parts",
"nixpkgs": [
"nixpkgs"
]
+3 -11
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 {
packages = forAllSystems ({ pkgs } : rec {
docs = pkgs.callPackage ./mkDocs.nix {inherit inputs;};
default = docs;
};
});
formatters = forAllSystems ({ pkgs } : {
default = pkgs.alejandra;
});
formatter = forAllSystems ({pkgs}: pkgs.alejandra);
};
}