mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 14:49:14 +00:00
nix: simply use self other than passing flakeRoot
This commit is contained in:
parent
37a0bbe325
commit
614128f805
2 changed files with 2 additions and 4 deletions
|
|
@ -1,4 +1,4 @@
|
|||
{ inputs, flakeRoot, ... }:
|
||||
{ inputs, self, ... }:
|
||||
{
|
||||
imports = [ inputs.pre-commit-hooks.flakeModule ];
|
||||
|
||||
|
|
@ -17,7 +17,7 @@
|
|||
# lua
|
||||
stylua.enable = true;
|
||||
stylua.entry = "${config.pre-commit.settings.hooks.stylua.package}/bin/stylua --config-path ${
|
||||
flakeRoot + "/.config/nvim/stylua.toml"
|
||||
self + "/.config/nvim/stylua.toml"
|
||||
} --respect-ignores";
|
||||
|
||||
# toml
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue