[STYLE/REFACTOR] Deadnix, Alejandra and Statix

This commit is contained in:
Kat Inskip 2023-04-25 16:48:32 -07:00
parent 8573c4508d
commit d4242f9dd8
Signed by: kat
GPG key ID: 465E64DECEA8CF0F
51 changed files with 465 additions and 466 deletions

View file

@ -1,7 +1,11 @@
_: let
hostConfig = { lib, tree, ... }: let
inherit (lib.modules) mkDefault;
in {
hostConfig = {
lib,
tree,
...
}: let
inherit (lib.modules) mkDefault;
in {
imports = with tree; [
nixos.rosetta
nixos.roles.bootable
@ -9,7 +13,7 @@ _: let
boot = {
loader.systemd-boot.enable = true;
initrd.availableKernelModules = ["virtio_pci" "xhci_pci" "usb_storage" "usbhid" ];
initrd.availableKernelModules = ["virtio_pci" "xhci_pci" "usb_storage" "usbhid"];
};
fileSystems = {
@ -24,8 +28,8 @@ _: let
};
"/run/rosetta" = {
device = "rosetta";
fsType = "virtiofs";
device = "rosetta";
fsType = "virtiofs";
};
};
swapDevices = [