Compare commits
No commits in common. "f0a1b294e90bdacd747965fb9a839eb426cff0da" and "98ef1506d1bed597ae5c5a32c9375437f5cfe22c" have entirely different histories.
f0a1b294e9
...
98ef1506d1
3 changed files with 27 additions and 1768 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -1,5 +1,3 @@
|
||||||
tags
|
tags
|
||||||
.luarc.json
|
.luarc.json
|
||||||
/result
|
/result
|
||||||
.devenv
|
|
||||||
.pre-commit-config.yaml
|
|
||||||
|
|
1745
flake.lock
1745
flake.lock
File diff suppressed because it is too large
Load diff
48
flake.nix
48
flake.nix
|
@ -7,9 +7,6 @@
|
||||||
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
|
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
|
||||||
nixCats.url = "github:BirdeeHub/nixCats-nvim";
|
nixCats.url = "github:BirdeeHub/nixCats-nvim";
|
||||||
|
|
||||||
devenv.url = "github:cachix/devenv";
|
|
||||||
marleyos.url = "git+https://codewith.babesonthe.net/punkfairie/marleyos";
|
|
||||||
|
|
||||||
neovim-nightly-overlay = {
|
neovim-nightly-overlay = {
|
||||||
url = "github:nix-community/neovim-nightly-overlay";
|
url = "github:nix-community/neovim-nightly-overlay";
|
||||||
};
|
};
|
||||||
|
@ -30,16 +27,10 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
nixConfig = {
|
|
||||||
extra-trusted-public-keys = "devenv.cachix.org-1:w1cLUi8dv3hnoSPGAuibQv+f9TZLr6cv/Hm9XgU50cw=";
|
|
||||||
extra-substituters = "https://devenv.cachix.org";
|
|
||||||
};
|
|
||||||
|
|
||||||
outputs = {
|
outputs = {
|
||||||
self,
|
self,
|
||||||
nixpkgs,
|
nixpkgs,
|
||||||
nixCats,
|
nixCats,
|
||||||
devenv,
|
|
||||||
...
|
...
|
||||||
} @ inputs: let
|
} @ inputs: let
|
||||||
inherit (nixCats) utils;
|
inherit (nixCats) utils;
|
||||||
|
@ -375,36 +366,17 @@
|
||||||
defaultPackage = nixCatsBuilder defaultPackageName;
|
defaultPackage = nixCatsBuilder defaultPackageName;
|
||||||
pkgs = import nixpkgs {inherit system;};
|
pkgs = import nixpkgs {inherit system;};
|
||||||
in {
|
in {
|
||||||
packages =
|
packages = utils.mkAllWithDefault defaultPackage;
|
||||||
(utils.mkAllWithDefault defaultPackage)
|
|
||||||
// {
|
# Choose your package for devShell and add whatever else you want in it.
|
||||||
devenv-up = self.devShells.${system}.default.config.procfileScript;
|
devShells = {
|
||||||
devenv-test = self.devShells.${system}.default.config.test;
|
default = pkgs.mkShell {
|
||||||
|
name = defaultPackageName;
|
||||||
|
packages = [defaultPackage];
|
||||||
|
inputsFrom = [];
|
||||||
|
shellHook = ''
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
devShells.default = devenv.lib.mkShell {
|
|
||||||
inherit inputs pkgs;
|
|
||||||
modules = [
|
|
||||||
({
|
|
||||||
pkgs,
|
|
||||||
config,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
packages = [
|
|
||||||
defaultPackage
|
|
||||||
];
|
|
||||||
|
|
||||||
pre-commit.hooks = {
|
|
||||||
alejandra.enable = true;
|
|
||||||
deadnix.enable = true;
|
|
||||||
statix.enable = true;
|
|
||||||
stylua.enable = true;
|
|
||||||
end-of-file-fixer.enable = true;
|
|
||||||
trim-trailing-whitespace.enable = true;
|
|
||||||
no-commit-to-branch.enable = true;
|
|
||||||
};
|
|
||||||
})
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
// (let
|
// (let
|
||||||
|
|
Loading…
Reference in a new issue