mirror of
https://github.com/srid/nixos-config.git
synced 2026-07-16 22:01:33 +08:00
fuck pc for now
This commit is contained in:
parent
7db72dedcf
commit
434202d1ed
3 changed files with 2 additions and 17 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -1,5 +1,4 @@
|
|||
/result
|
||||
/.direnv
|
||||
/.pre-commit-config.yaml
|
||||
|
||||
/.claude/settings.local.json
|
||||
6
justfile
6
justfile
|
|
@ -26,12 +26,6 @@ activate host="":
|
|||
update:
|
||||
nix run .#update
|
||||
|
||||
# Run all pre-commit hooks on all files
|
||||
[group('main')]
|
||||
lint:
|
||||
pre-commit run --all-files
|
||||
|
||||
|
||||
# Misc commands
|
||||
# --------------------------------------------------------------------------------------------------
|
||||
|
||||
|
|
|
|||
|
|
@ -1,13 +1,9 @@
|
|||
{ inputs, ... }:
|
||||
{ ... }:
|
||||
{
|
||||
imports = [
|
||||
(inputs.git-hooks + /flake-module.nix)
|
||||
];
|
||||
perSystem = { inputs', config, pkgs, ... }: {
|
||||
perSystem = { inputs', pkgs, ... }: {
|
||||
devShells.default = pkgs.mkShell {
|
||||
name = "nixos-config-shell";
|
||||
meta.description = "Dev environment for nixos-config";
|
||||
inputsFrom = [ config.pre-commit.devShell ];
|
||||
packages = with pkgs; [
|
||||
just
|
||||
nixd
|
||||
|
|
@ -15,9 +11,5 @@
|
|||
inputs'.agenix.packages.default
|
||||
];
|
||||
};
|
||||
|
||||
pre-commit.settings = {
|
||||
hooks.nixpkgs-fmt.enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue