* fix format

* make pre-push hook into pre-commit-hook
This commit is contained in:
Tim Schubert 2022-11-01 19:38:55 +01:00 committed by GitHub
parent f70053b110
commit 16666b8adf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View file

@ -51,6 +51,6 @@
];
git.hooks = {
pre-push.text = "nix flake check";
pre-commit.text = "nix flake check";
};
})

View file

@ -1,7 +1,8 @@
{ config, pkgs, lib, ... }:
let
cfg = config.dadada.home.helix;
in {
in
{
options.dadada.home.helix.enable = lib.mkEnableOption "Enable helix editor";
config = lib.mkIf cfg.enable {