chore: format everything

This commit is contained in:
oddlama 2024-11-26 13:34:55 +01:00
parent deca311c68
commit 7ccd7856ee
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
162 changed files with 4750 additions and 3718 deletions

View file

@ -2,7 +2,8 @@
inputs,
pkgs,
...
}: {
}:
{
imports = [
inputs.nixos-hardware.nixosModules.common-cpu-intel
inputs.nixos-hardware.nixosModules.common-pc-laptop
@ -29,11 +30,18 @@
nixpkgs.hostPlatform = "x86_64-linux";
boot.mode = "efi";
boot.initrd.availableKernelModules = ["xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod"];
boot.initrd.availableKernelModules = [
"xhci_pci"
"ahci"
"nvme"
"usbhid"
"usb_storage"
"sd_mod"
];
console = {
font = "ter-v28n";
packages = [pkgs.terminus_font];
packages = [ pkgs.terminus_font ];
};
# FIXME: fuck optional modules and make this more adjustable via settings

View file

@ -2,9 +2,11 @@
config,
lib,
...
}: let
}:
let
inherit (config.repo.secrets.local) disks;
in {
in
{
disko.devices = {
disk = {
m2-ssd = {
@ -30,7 +32,7 @@ in {
};
};
zpool = {
rpool = lib.disko.zfs.mkZpool {datasets = lib.disko.zfs.impermanenceZfsDatasets;};
rpool = lib.disko.zfs.mkZpool { datasets = lib.disko.zfs.impermanenceZfsDatasets; };
};
};
}

View file

@ -1,4 +1,5 @@
{config, ...}: {
{ config, ... }:
{
networking = {
inherit (config.repo.secrets.local.networking) hostId;
wireless.iwd.enable = true;
@ -6,7 +7,9 @@
boot.initrd.systemd.network = {
enable = true;
networks = {inherit (config.systemd.network.networks) "10-lan1";};
networks = {
inherit (config.systemd.network.networks) "10-lan1";
};
};
systemd.network.networks = {
@ -33,6 +36,9 @@
};
networking.nftables.firewall = {
zones.untrusted.interfaces = ["lan1" "wlan1"];
zones.untrusted.interfaces = [
"lan1"
"wlan1"
];
};
}