fix pre-commit config and run formatter

This commit is contained in:
lilly 2025-02-10 17:30:20 +01:00
parent ed827d4f57
commit ce97b624e0
Signed by: lilly
SSH key fingerprint: SHA256:y9T5GFw2A20WVklhetIxG1+kcg/Ce0shnQmbu1LQ37g
5 changed files with 8 additions and 6 deletions

1
.envrc
View file

@ -1 +1,2 @@
use flake
pre-commit install

View file

@ -14,7 +14,6 @@ repos:
hooks:
- id: run-format
name: run-format
language: syste
language: system
types: [ text ]
entry: "nix fmt"

View file

@ -23,7 +23,7 @@
"virtio_blk"
];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
boot.loader.grub = {
@ -58,7 +58,10 @@
type = "filesystem";
format = "ext4";
mountpoint = "/";
mountOptions = [ "defaults" "noatime" ];
mountOptions = [
"defaults"
"noatime"
];
};
};
};

View file

@ -1,7 +1,7 @@
{ flake }:
let
nixpkgs = flake.inputs.nixpkgs;
# utility function to create a new nixos configuration
# call like `mkSystem "x86_64-linux" "<hostname>.eh22.intern"`
mkSystem =

View file

@ -1,4 +1,3 @@
{
config,
modulesPath,