nix fmt rcf-style

This commit is contained in:
Vinzenz Schroeter 2024-10-27 12:33:35 +01:00
parent b78e40ad6a
commit b9adba3225
35 changed files with 270 additions and 238 deletions

View file

@ -23,7 +23,7 @@ nixpkgs.lib.nixosSystem {
{
networking.hostName = "vinzenz-lpt2";
nix.settings.extra-platforms = ["aarch64-linux"];
nix.settings.extra-platforms = [ "aarch64-linux" ];
}
{

View file

@ -1,10 +1,9 @@
{lib, ...}: {
imports = [
../../modules/intel-graphics.nix
];
{ lib, ... }:
{
imports = [ ../../modules/intel-graphics.nix ];
config = {
# intel cpu
boot.kernelModules = ["kvm-intel"];
boot.kernelModules = [ "kvm-intel" ];
hardware.cpu.intel.updateMicrocode = true;
boot.loader = {
@ -23,7 +22,11 @@
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
boot.initrd = {
availableKernelModules = ["xhci_pci" "thunderbolt" "nvme"];
availableKernelModules = [
"xhci_pci"
"thunderbolt"
"nvme"
];
luks.devices = {
"luks-2c654ff2-3c42-48d3-a1e3-9545679afaa3" = {
device = "/dev/disk/by-uuid/2c654ff2-3c42-48d3-a1e3-9545679afaa3";
@ -35,7 +38,7 @@
"/" = {
device = "/dev/disk/by-uuid/e4dad0c8-26a1-45e9-bbd9-48565eb6574e";
fsType = "btrfs";
options = ["subvol=@"];
options = [ "subvol=@" ];
};
"/boot" = {

View file

@ -1,4 +1,5 @@
{...}: {
{ ... }:
{
services.nginx = {
enable = true;
@ -14,13 +15,17 @@
proxyWebsockets = true;
};
serverAliases = ["172.23.42.96"];
serverAliases = [ "172.23.42.96" ];
};
};
};
networking.firewall = {
allowedTCPPorts = [80 8001 3000];
allowedUDPPorts = [2342];
allowedTCPPorts = [
80
8001
3000
];
allowedUDPPorts = [ 2342 ];
};
}