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
|
use flake
|
||||||
|
pre-commit install
|
||||||
|
|
|
@ -14,7 +14,6 @@ repos:
|
||||||
hooks:
|
hooks:
|
||||||
- id: run-format
|
- id: run-format
|
||||||
name: run-format
|
name: run-format
|
||||||
language: syste
|
language: system
|
||||||
types: [ text ]
|
types: [ text ]
|
||||||
entry: "nix fmt"
|
entry: "nix fmt"
|
||||||
|
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
"virtio_blk"
|
"virtio_blk"
|
||||||
];
|
];
|
||||||
boot.initrd.kernelModules = [ ];
|
boot.initrd.kernelModules = [ ];
|
||||||
|
|
||||||
boot.kernelModules = [ "kvm-intel" ];
|
boot.kernelModules = [ "kvm-intel" ];
|
||||||
boot.extraModulePackages = [ ];
|
boot.extraModulePackages = [ ];
|
||||||
boot.loader.grub = {
|
boot.loader.grub = {
|
||||||
|
@ -58,7 +58,10 @@
|
||||||
type = "filesystem";
|
type = "filesystem";
|
||||||
format = "ext4";
|
format = "ext4";
|
||||||
mountpoint = "/";
|
mountpoint = "/";
|
||||||
mountOptions = [ "defaults" "noatime" ];
|
mountOptions = [
|
||||||
|
"defaults"
|
||||||
|
"noatime"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{ flake }:
|
{ flake }:
|
||||||
let
|
let
|
||||||
nixpkgs = flake.inputs.nixpkgs;
|
nixpkgs = flake.inputs.nixpkgs;
|
||||||
|
|
||||||
# utility function to create a new nixos configuration
|
# utility function to create a new nixos configuration
|
||||||
# call like `mkSystem "x86_64-linux" "<hostname>.eh22.intern"`
|
# call like `mkSystem "x86_64-linux" "<hostname>.eh22.intern"`
|
||||||
mkSystem =
|
mkSystem =
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
{
|
{
|
||||||
config,
|
config,
|
||||||
modulesPath,
|
modulesPath,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue