first commit
This commit is contained in:
commit
8e878042dd
16 changed files with 1204 additions and 0 deletions
23
flake.nix
Normal file
23
flake.nix
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
{
|
||||
description = "Flake to manage lnxlink on nixos";
|
||||
inputs = {
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||
flake-utils.url = "github:numtide/flake-utils";
|
||||
pre-commit-hooks.url = "github:cachix/pre-commit-hooks.nix";
|
||||
};
|
||||
|
||||
outputs = {
|
||||
self,
|
||||
nixpkgs,
|
||||
flake-utils,
|
||||
pre-commit-hooks,
|
||||
...
|
||||
}: let
|
||||
system = "x86_64-linux";
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
in {
|
||||
devShells.x86_64-linux.default =
|
||||
import ./shell.nix {inherit pkgs pre-commit-hooks;};
|
||||
packages.x86_64-linux.default = import ./default.nix {inherit pkgs;};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue