fix pre-commit config and run formatter
This commit is contained in:
parent
ed827d4f57
commit
ce97b624e0
5 changed files with 8 additions and 6 deletions
1
.envrc
1
.envrc
|
@ -1 +1,2 @@
|
|||
use flake
|
||||
pre-commit install
|
||||
|
|
|
@ -14,7 +14,6 @@ repos:
|
|||
hooks:
|
||||
- id: run-format
|
||||
name: run-format
|
||||
language: syste
|
||||
language: system
|
||||
types: [ text ]
|
||||
entry: "nix fmt"
|
||||
|
||||
|
|
|
@ -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"
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -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 =
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
{
|
||||
config,
|
||||
modulesPath,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue