nix fmt rfc

This commit is contained in:
Christoph Hollizeck 2024-04-04 19:31:55 +02:00
parent aa6fff07a9
commit 838139fa72
41 changed files with 430 additions and 351 deletions

View file

@ -5,13 +5,13 @@
...
}:
with lib;
with lib.wyrdgard; {
imports = [./hardware.nix];
with lib.wyrdgard;
{
imports = [ ./hardware.nix ];
environment.systemPackages = with pkgs; [
];
environment.systemPackages = with pkgs; [ ];
environment.pathsToLink = ["/libexec"];
environment.pathsToLink = [ "/libexec" ];
wyrdgard = {
archetypes = {

View file

@ -7,15 +7,24 @@
pkgs,
modulesPath,
...
}: {
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
];
}:
{
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
boot.initrd.availableKernelModules = ["nvme" "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod"];
boot.initrd.kernelModules = [];
boot.kernelModules = ["kvm-amd" "btusb"];
boot.extraModulePackages = [];
boot.initrd.availableKernelModules = [
"nvme"
"xhci_pci"
"ahci"
"usb_storage"
"usbhid"
"sd_mod"
];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [
"kvm-amd"
"btusb"
];
boot.extraModulePackages = [ ];
fileSystems."/" = {
device = "/dev/disk/by-uuid/444a9216-59d1-46e0-9643-0b716a42ba0b";
@ -27,7 +36,7 @@
fsType = "vfat";
};
swapDevices = [];
swapDevices = [ ];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
# (the default) this is the recommended approach. When using systemd-networkd it's