From 2bb96b280b22c4858c7b16905f0b396020935d00 Mon Sep 17 00:00:00 2001 From: Daniel Patterson Date: Tue, 26 Jul 2022 19:04:17 +0100 Subject: [PATCH] Run alejandra --- hosts/bigding/hardware-configuration.nix | 32 +++++++++++++----------- modules/synapse/default.nix | 2 +- 2 files changed, 19 insertions(+), 15 deletions(-) diff --git a/hosts/bigding/hardware-configuration.nix b/hosts/bigding/hardware-configuration.nix index 6964f02..f35ae65 100644 --- a/hosts/bigding/hardware-configuration.nix +++ b/hosts/bigding/hardware-configuration.nix @@ -1,24 +1,28 @@ # Do not modify this file! It was generated by ‘nixos-generate-config’ # and may be overwritten by future invocations. Please make changes # to /etc/nixos/configuration.nix instead. -{ config, lib, pkgs, modulesPath, ... }: - { - imports = - [ (modulesPath + "/profiles/qemu-guest.nix") - ]; + config, + lib, + pkgs, + modulesPath, + ... +}: { + imports = [ + (modulesPath + "/profiles/qemu-guest.nix") + ]; - boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "virtio_pci" "virtio_scsi" "sd_mod" "sr_mod" ]; - boot.initrd.kernelModules = [ ]; - boot.kernelModules = [ ]; - boot.extraModulePackages = [ ]; + boot.initrd.availableKernelModules = ["ata_piix" "uhci_hcd" "virtio_pci" "virtio_scsi" "sd_mod" "sr_mod"]; + boot.initrd.kernelModules = []; + boot.kernelModules = []; + boot.extraModulePackages = []; - fileSystems."/" = - { device = "/dev/disk/by-uuid/46ba1313-3910-4adc-b949-0f63bb8a6d60"; - fsType = "ext4"; - }; + fileSystems."/" = { + device = "/dev/disk/by-uuid/46ba1313-3910-4adc-b949-0f63bb8a6d60"; + fsType = "ext4"; + }; - 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 diff --git a/modules/synapse/default.nix b/modules/synapse/default.nix index 442b716..ae8d476 100644 --- a/modules/synapse/default.nix +++ b/modules/synapse/default.nix @@ -12,7 +12,7 @@ in { { name = "matrix-synapse"; ensurePermissions = { - "DATABASE synapse" = "ALL PRIVILEGES"; + "DATABASE synapse" = "ALL PRIVILEGES"; }; } ];