Compare commits
2 commits
8c452a0325
...
e4b94a9999
Author | SHA1 | Date | |
---|---|---|---|
e4b94a9999 | |||
80b9b9a097 |
4 changed files with 25 additions and 9 deletions
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
# gitignore
|
||||||
|
.pre-commit-config.*
|
18
flake.lock
generated
18
flake.lock
generated
|
@ -103,11 +103,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1751810302,
|
"lastModified": 1751816429,
|
||||||
"narHash": "sha256-iV3C4l4XqPFcfJIHWQTOeSTuDgFg+ESdUeiYxCSgebE=",
|
"narHash": "sha256-F9xzryA4OfrGTQS1N8SimJQzoD8qDMj/e2lTFE9V288=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "502d9b7d30a1f5940ecdb786b4f71ebf57b1ac13",
|
"rev": "b4486ff44addd453a64fd8c176ab2fd7ad3f6eb3",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -153,11 +153,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1751271578,
|
"lastModified": 1751637120,
|
||||||
"narHash": "sha256-P/SQmKDu06x8yv7i0s8bvnnuJYkxVGBWLWHaU+tt4YY=",
|
"narHash": "sha256-xVNy/XopSfIG9c46nRmPaKfH1Gn/56vQ8++xWA8itO4=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "3016b4b15d13f3089db8a41ef937b13a9e33a8df",
|
"rev": "5c724ed1388e53cc231ed98330a60eb2f7be4be3",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -199,11 +199,11 @@
|
||||||
},
|
},
|
||||||
"text": {
|
"text": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1751749699,
|
"lastModified": 1751819711,
|
||||||
"narHash": "sha256-eSeb0ERcdldtV1YLzVqi9NxITr4OLiuiGDS6T0t3Yh4=",
|
"narHash": "sha256-Emci++Hknzr2FEZRUbRDD7prI5JwwGsACO/GaU9Pmxg=",
|
||||||
"owner": "rrvsh",
|
"owner": "rrvsh",
|
||||||
"repo": "text.nix",
|
"repo": "text.nix",
|
||||||
"rev": "929c8863a1c323e1264887501e9a7914571654db",
|
"rev": "00ba1e616ef3b761a52d5f7ac32892715cc4bcd1",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
13
nix/files/gitignore.nix
Normal file
13
nix/files/gitignore.nix
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
{ config, ... }:
|
||||||
|
{
|
||||||
|
perSystem =
|
||||||
|
{ pkgs, ... }:
|
||||||
|
{
|
||||||
|
files.files = [
|
||||||
|
{
|
||||||
|
path_ = ".gitignore";
|
||||||
|
drv = pkgs.writeText ".gitignore" config.text.gitignore;
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
|
@ -1,6 +1,7 @@
|
||||||
{ inputs, ... }:
|
{ inputs, ... }:
|
||||||
{
|
{
|
||||||
imports = [ inputs.git-hooks.flakeModule ];
|
imports = [ inputs.git-hooks.flakeModule ];
|
||||||
|
text.gitignore = ".pre-commit-config.*";
|
||||||
perSystem = psArgs: {
|
perSystem = psArgs: {
|
||||||
pre-commit.settings.hooks = {
|
pre-commit.settings.hooks = {
|
||||||
# Nix Linters
|
# Nix Linters
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue