diff --git a/flake.nix b/flake.nix index 44b3474..f66a4b7 100644 --- a/flake.nix +++ b/flake.nix @@ -91,11 +91,7 @@ jq ]; }; - devShells.ci = pkgs.mkShell { - buildInputs = with pkgs; [ - nodejs - ]; - }; + devShells.ci = pkgs.mkShell { buildInputs = with pkgs; [ nodejs ]; }; }; flake = diff --git a/hosts/tankstelle/configuration.nix b/hosts/tankstelle/configuration.nix index c207fdb..2b1a177 100644 --- a/hosts/tankstelle/configuration.nix +++ b/hosts/tankstelle/configuration.nix @@ -5,15 +5,12 @@ ... }: { - imports = - [ - ./hardware-configuration.nix - ]; + imports = [ ./hardware-configuration.nix ]; boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; - boot.binfmt.emulatedSystems = ["aarch64-linux"]; + boot.binfmt.emulatedSystems = [ "aarch64-linux" ]; system.stateVersion = "23.11"; } diff --git a/hosts/tankstelle/forgejo-actions-runner.nix b/hosts/tankstelle/forgejo-actions-runner.nix index 3f7e0fe..7ea8b86 100644 --- a/hosts/tankstelle/forgejo-actions-runner.nix +++ b/hosts/tankstelle/forgejo-actions-runner.nix @@ -37,9 +37,7 @@ name = config.networking.hostName; url = "https://git.pub.solar"; tokenFile = config.age.secrets.tankstelle-forgejo-actions-runner-token.path; - labels = [ - "self-hosted:host://-self-hosted" - ]; + labels = [ "self-hosted:host://-self-hosted" ]; }; }; } diff --git a/hosts/tankstelle/hardware-configuration.nix b/hosts/tankstelle/hardware-configuration.nix index b1e302a..ec9b465 100644 --- a/hosts/tankstelle/hardware-configuration.nix +++ b/hosts/tankstelle/hardware-configuration.nix @@ -10,28 +10,30 @@ }: { - imports = - [ (modulesPath + "/profiles/qemu-guest.nix") - ]; + imports = [ (modulesPath + "/profiles/qemu-guest.nix") ]; - boot.initrd.availableKernelModules = [ "ahci" "xhci_pci" "virtio_pci" "sr_mod" "virtio_blk" ]; + boot.initrd.availableKernelModules = [ + "ahci" + "xhci_pci" + "virtio_pci" + "sr_mod" + "virtio_blk" + ]; boot.initrd.kernelModules = [ ]; boot.kernelModules = [ "kvm-intel" ]; boot.extraModulePackages = [ ]; - fileSystems."/" = - { device = "/dev/disk/by-uuid/17531ffc-46bd-4259-8287-2dea73804b5b"; - fsType = "ext4"; - }; + fileSystems."/" = { + device = "/dev/disk/by-uuid/17531ffc-46bd-4259-8287-2dea73804b5b"; + fsType = "ext4"; + }; - fileSystems."/boot" = - { device = "/dev/disk/by-uuid/AF98-AA5C"; - fsType = "vfat"; - }; + fileSystems."/boot" = { + device = "/dev/disk/by-uuid/AF98-AA5C"; + fsType = "vfat"; + }; - swapDevices = - [ { device = "/dev/disk/by-uuid/7aee04b5-1ef9-43de-acb4-70ac1238b58a"; } - ]; + swapDevices = [ { device = "/dev/disk/by-uuid/7aee04b5-1ef9-43de-acb4-70ac1238b58a"; } ]; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; powerManagement.cpuFreqGovernor = lib.mkDefault "ondemand"; diff --git a/hosts/tankstelle/networking.nix b/hosts/tankstelle/networking.nix index 83d60e1..2c8f760 100644 --- a/hosts/tankstelle/networking.nix +++ b/hosts/tankstelle/networking.nix @@ -17,7 +17,10 @@ address = "2001:4d88:1ffa:26::1"; interface = "enp1s0"; }; - nameservers = [ "95.129.51.51" "80.244.244.244" ]; + nameservers = [ + "95.129.51.51" + "80.244.244.244" + ]; interfaces."enp1s0" = { ipv4.addresses = [ {