treewide: format all files

This commit is contained in:
DavHau authored and lassulus committed 2025-02-15 10:08:56 +00:00
1 parent c23ac2891c
commit ff2d853a84
82 files changed
+2929 -1993

No files matched your search

+16 -6
View File
@@ -1,4 +1,10 @@
{ lib, pkgs, modulesPath, ... }: {
{
lib,
pkgs,
modulesPath,
...
}:
{
imports = [
(modulesPath + "/testing/test-instrumentation.nix")
(modulesPath + "/profiles/qemu-guest.nix")
@@ -13,11 +19,15 @@
hashed-mirrors = null;
connect-timeout = 3;
flake-registry = pkgs.writeText "flake-registry" ''{"flakes":[],"version":2}'';
experimental-features = [ "nix-command" "flakes" ];
experimental-features = [
"nix-command"
"flakes"
];
};
services.openssh.enable = true;
boot.kernelParams = [ "console=tty0" ] ++
(lib.optional (pkgs.stdenv.hostPlatform.isAarch) "ttyAMA0,115200") ++
(lib.optional (pkgs.stdenv.hostPlatform.isRiscV64) "ttySIF0,115200") ++
[ "console=ttyS0,115200" ];
boot.kernelParams =
[ "console=tty0" ]
++ (lib.optional (pkgs.stdenv.hostPlatform.isAarch) "ttyAMA0,115200")
++ (lib.optional (pkgs.stdenv.hostPlatform.isRiscV64) "ttySIF0,115200")
++ [ "console=ttyS0,115200" ];
}
+5 -1
View File
@@ -1,4 +1,8 @@
{ pkgs ? import <nixpkgs> { }, self, diskoVersion }:
{
pkgs ? import <nixpkgs> { },
self,
diskoVersion,
}:
let
disko = pkgs.callPackage ../../package.nix { inherit diskoVersion; };