Apply nixfmt

This commit is contained in:
qo.is sysadmin 2021-04-10 18:31:42 +02:00
parent 4c9c49f9c9
commit c899616768
4 changed files with 15 additions and 10 deletions

View file

@ -1,9 +1,8 @@
{ config, lib, pkgs, modulesPath, ... }: {
imports =
[ (modulesPath + "/installer/scan/not-detected.nix")
];
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ];
boot.initrd.availableKernelModules =
[ "nvme" "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ];

View file

@ -1,6 +1,5 @@
{ config, pkgs, ... }: {
boot.initrd.luks.devices = {
"system".device = "/dev/disk/by-uuid/ba646016-2618-4d9b-acf2-41986ab76f7e";
"data".device = "/dev/disk/by-uuid/6cfe504d-992f-4b11-be3e-31d00c3e108d";
@ -42,8 +41,16 @@
enable = true;
efiSupport = true;
mirroredBoots = [
{ devices = [ "nodev" ]; path = "/boot-primary"; efiBootloaderId = "NixOS primary"; }
{ devices = [ "nodev" ]; path = "/boot-secondary"; efiBootloaderId = "NixOS secondary";}
{
devices = [ "nodev" ];
path = "/boot-primary";
efiBootloaderId = "NixOS primary";
}
{
devices = [ "nodev" ];
path = "/boot-secondary";
efiBootloaderId = "NixOS secondary";
}
];
};
}

View file

@ -1,7 +1,6 @@
{ config, pkgs, ... }:
let
meta = import ../../meta;
let meta = import ../../meta;
in {
networking.hostName = "lindberg"; # TODO: Extract into meta