Basic pre-commit hook

This commit is contained in:
Daniel Flanagan 2023-09-19 20:56:24 -05:00
parent ddb4d992ee
commit bd902c7372
Signed by: lytedev
GPG key ID: 5B2020A0F9921EF4
3 changed files with 24 additions and 19 deletions

View file

@ -31,7 +31,7 @@ in
{
# TODO: disko-fy rascal and beefcake?
beefcake = nixosSystem "x86-64-linux" [
beefcake = nixosSystem "x86_64-linux" [
./nixos/beefcake.nix
inputs.api-lyte-dev.nixosModules.x86_64-linux.api-lyte-dev
];

View file

@ -120,24 +120,24 @@ in
useXkbConfig = true;
earlySetup = true;
# colors = [
# "111111"
# "f92672"
# "a6e22e"
# "f4bf75"
# "66d9ef"
# "ae81ff"
# "a1efe4"
# "f8f8f2"
# "75715e"
# "f92672"
# "a6e22e"
# "f4bf75"
# "66d9ef"
# "ae81ff"
# "a1efe4"
# "f9f8f5"
# ];
colors = [
"111111"
"f92672"
"a6e22e"
"f4bf75"
"66d9ef"
"ae81ff"
"a1efe4"
"f8f8f2"
"75715e"
"f92672"
"a6e22e"
"f4bf75"
"66d9ef"
"ae81ff"
"a1efe4"
"f9f8f5"
];
};
networking = {

5
pre-commit.bash Executable file
View file

@ -0,0 +1,5 @@
#!/usr/bin/env bash
set -eux
nix flake check