Format nix files with nix-fmt

This commit is contained in:
Marko Korhonen 2024-09-16 20:52:24 +03:00
parent 25a48b5694
commit 53c956d53e
10 changed files with 149 additions and 163 deletions

View file

@ -2,8 +2,8 @@
{
imports = [
./hardware-configuration.nix
../../wifi.nix
./hardware-configuration.nix
../../wifi.nix
];
networking.hostName = "Mirkwood";

View file

@ -5,7 +5,8 @@
{
imports =
[ (modulesPath + "/installer/scan/not-detected.nix")
[
(modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usb_storage" "sd_mod" "rtsx_usb_sdmmc" ];
@ -14,21 +15,22 @@
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/fcb4b991-0704-45c0-9d31-bd858e1476aa";
{
device = "/dev/disk/by-uuid/fcb4b991-0704-45c0-9d31-bd858e1476aa";
fsType = "ext4";
};
boot.initrd.luks.devices."luks-2d20d058-3ea8-41cf-90fa-872f46960add".device = "/dev/disk/by-uuid/2d20d058-3ea8-41cf-90fa-872f46960add";
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/8498-FFAF";
{
device = "/dev/disk/by-uuid/8498-FFAF";
fsType = "vfat";
options = [ "fmask=0077" "dmask=0077" ];
};
swapDevices =
[ { device = "/dev/disk/by-uuid/dba8a94b-d7b6-4ac1-a0bb-82d6538ff331"; }
];
[{ device = "/dev/disk/by-uuid/dba8a94b-d7b6-4ac1-a0bb-82d6538ff331"; }];
# 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