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": { "flake-parts": {
"inputs": { "inputs": {
"nixpkgs-lib": [ "nixpkgs-lib": [
"vpnconfinement",
"nixpkgs" "nixpkgs"
] ]
}, },
"locked": { "locked": {
"lastModified": 1726153070, "lastModified": 1727826117,
"narHash": "sha256-HO4zgY0ekfwO5bX0QH/3kJ/h4KvUDFZg8YpkNwIbg1U=", "narHash": "sha256-K5ZLCyfO/Zj9mPFldf3iwS6oZStJcU4tSpiXTMYaaL0=",
"owner": "hercules-ci", "owner": "hercules-ci",
"repo": "flake-parts", "repo": "flake-parts",
"rev": "bcef6817a8b2aa20a5a6dbb19b43e63c5bf8619a", "rev": "3d04084d54bedc3d6b8b736c70ef449225c361b1",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -38,7 +39,6 @@
}, },
"root": { "root": {
"inputs": { "inputs": {
"flake-parts": "flake-parts",
"nixpkgs": "nixpkgs", "nixpkgs": "nixpkgs",
"submerger": "submerger", "submerger": "submerger",
"vpnconfinement": "vpnconfinement" "vpnconfinement": "vpnconfinement"
@@ -88,9 +88,7 @@
}, },
"vpnconfinement": { "vpnconfinement": {
"inputs": { "inputs": {
"flake-parts": [ "flake-parts": "flake-parts",
"flake-parts"
],
"nixpkgs": [ "nixpkgs": [
"nixpkgs" "nixpkgs"
] ]
+3 -11
View File
@@ -1,11 +1,6 @@
{ {
description = "The Nixarr Media Server Nixos Module"; 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 = { inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable"; nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
@@ -46,19 +41,16 @@
default = pkgs.mkShell { default = pkgs.mkShell {
packages = with pkgs; [ packages = with pkgs; [
alejandra alejandra
nixd
]; ];
}; };
}); });
packages = forAllSystems ({ pkgs } : { packages = forAllSystems ({ pkgs } : rec {
default = pkgs.mkShell rec {
docs = pkgs.callPackage ./mkDocs.nix {inherit inputs;}; docs = pkgs.callPackage ./mkDocs.nix {inherit inputs;};
default = docs; default = docs;
};
}); });
formatters = forAllSystems ({ pkgs } : { formatter = forAllSystems ({pkgs}: pkgs.alejandra);
default = pkgs.alejandra;
});
}; };
} }