add code formatter and reformat

This commit is contained in:
Tim Schubert 2022-08-04 21:05:37 +02:00
parent a055f4fa40
commit 8cd6ed1502
Signed by: dadada
GPG key ID: EEB8D1CE62C4DFEA
69 changed files with 1016 additions and 797 deletions

View file

@ -1,7 +1,11 @@
{ config, pkgs, lib, ... }:
with lib;
{
imports = [ ./hardware-configuration.nix ];
config,
pkgs,
lib,
...
}:
with lib; {
imports = [./hardware-configuration.nix];
networking.hostName = "pruflas";
@ -12,7 +16,7 @@ with lib;
package = pkgs.hydra-unstable;
hydraURL = "https://hydra.dadada.li";
notificationSender = "hydra@localhost";
buildMachinesFiles = [ ];
buildMachinesFiles = [];
useSubstitutes = true;
listenHost = "hydra.dadada.li";
port = 3000;
@ -22,7 +26,7 @@ with lib;
{
hostName = "localhost";
system = "x86_64-linux";
supportedFeatures = [ "kvm" "nixos-test" "big-parallel" "benchmark" ];
supportedFeatures = ["kvm" "nixos-test" "big-parallel" "benchmark"];
maxJobs = 8;
}
];
@ -61,7 +65,7 @@ with lib;
];
};
boot.kernelModules = [ "kvm-intel" ];
boot.kernelModules = ["kvm-intel"];
# Use the systemd-boot EFI boot loader.
boot.loader.systemd-boot.enable = true;
@ -91,12 +95,12 @@ with lib;
hardware.pulseaudio.enable = false;
environment.systemPackages = [ pkgs.spotify pkgs.mpv ];
environment.systemPackages = [pkgs.spotify pkgs.mpv];
users.users."media" = {
isNormalUser = true;
description = "Media playback user";
extraGroups = [ "users" "video" ];
extraGroups = ["users" "video"];
};
networking.domain = "dadada.li";