mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 12:29:19 -08:00
[STYLE/REFACTOR] Deadnix, Alejandra and Statix
This commit is contained in:
parent
8573c4508d
commit
d4242f9dd8
51 changed files with 465 additions and 466 deletions
|
|
@ -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 = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue