nix fmt rfc

This commit is contained in:
Christoph Hollizeck 2024-04-04 19:31:55 +02:00
parent c42abbc902
commit c549839b19
42 changed files with 438 additions and 352 deletions

View file

@ -5,14 +5,14 @@
...
}:
with lib;
with lib.wyrdgard; {
imports = [./hardware.nix];
with lib.wyrdgard;
{
imports = [ ./hardware.nix ];
boot.blacklistedKernelModules = ["hyperv-fb"];
boot.blacklistedKernelModules = [ "hyperv-fb" ];
virtualisation.hypervGuest.videoMode = "1920x1080";
environment.systemPackages = with pkgs; [
];
environment.systemPackages = with pkgs; [ ];
environment.variables.EDITOR = "nvim";
environment.variables.SUDOEDITOR = "nvim";

View file

@ -7,13 +7,17 @@
pkgs,
modulesPath,
...
}: {
imports = [];
}:
{
imports = [ ];
boot.initrd.availableKernelModules = ["sd_mod" "sr_mod"];
boot.initrd.kernelModules = [];
boot.kernelModules = [];
boot.extraModulePackages = [];
boot.initrd.availableKernelModules = [
"sd_mod"
"sr_mod"
];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ ];
boot.extraModulePackages = [ ];
fileSystems."/" = {
device = "/dev/disk/by-uuid/c58c66b3-4e0f-4393-8d7b-871d934856e3";
@ -25,7 +29,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