commit db6c121566a01cb63b1b69beae16d7c979303419
parent 9fb32f6a2f1c9fe7f07fb23fc968403f6507195b
Author: Francesco Saccone <francesco@francescosaccone.com>
Date: Thu, 27 Mar 2025 16:40:04 +0100
style: reformat with 'nix fmt'
Signed-off-by: Francesco Saccone <francesco@francescosaccone.com>
Diffstat:
2 files changed, 22 insertions(+), 6 deletions(-)
diff --git a/hardware/git-server/default.nix b/hardware/git-server/default.nix
@@ -1,14 +1,27 @@
# Do not modify this file! It was generated by ‘nixos-generate-config’
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
-{ config, lib, pkgs, modulesPath, ... }:
+{
+ config,
+ lib,
+ pkgs,
+ modulesPath,
+ ...
+}:
{
- imports =
- [ (modulesPath + "/profiles/qemu-guest.nix")
- ];
+ imports = [
+ (modulesPath + "/profiles/qemu-guest.nix")
+ ];
- boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "virtio_pci" "virtio_scsi" "sd_mod" "sr_mod" ];
+ boot.initrd.availableKernelModules = [
+ "ata_piix"
+ "uhci_hcd"
+ "virtio_pci"
+ "virtio_scsi"
+ "sd_mod"
+ "sr_mod"
+ ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ ];
boot.extraModulePackages = [ ];
diff --git a/hosts/common/default.nix b/hosts/common/default.nix
@@ -17,7 +17,10 @@
boot = {
initrd.verbose = false;
consoleLogLevel = 0;
- kernelParams = [ "quiet" "udev.log_level=3" ];
+ kernelParams = [
+ "quiet"
+ "udev.log_level=3"
+ ];
tmp.cleanOnBoot = true;
};