From 955bf3c105fb77b92ccbd30f5571210f509237a1 Mon Sep 17 00:00:00 2001 From: Thiago Sposito Date: Sat, 30 Aug 2025 13:37:54 -0300 Subject: [PATCH] feat: remove systemd annoying errors --- home-manager/home.nix | 18 +++++++++--------- hosts/Nixstation/hardware-configuration.nix | 2 +- hosts/common/network.nix | 6 +++--- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/home-manager/home.nix b/home-manager/home.nix index d126b5d..9c5f7ee 100644 --- a/home-manager/home.nix +++ b/home-manager/home.nix @@ -13,14 +13,14 @@ config = { allowUnfree = true; # Workaround for https://github.com/nix-community/home-manager/issues/2942 - nixpkgs.config.allowUnfreePredicate = - pkg: - builtins.elem (lib.getName pkg) [ - "steam" - "steam-original" - "steam-run" - "steamtinkerlaunch" - ]; + nixpkgs.config.allowUnfreePredicate = + pkg: + builtins.elem (lib.getName pkg) [ + "steam" + "steam-original" + "steam-run" + "steamtinkerlaunch" + ]; }; }; @@ -39,6 +39,7 @@ nerd-fonts.fira-code nil nixpkgs-fmt + nixfmt-rfc-style nordic obsidian pinentry-curses @@ -97,7 +98,6 @@ "ctrl+alt+right" = "resize_window wider"; "ctrl+alt+up" = "resize_window taller"; "ctrl+alt+down" = "resize_window shorter"; - }; settings = { diff --git a/hosts/Nixstation/hardware-configuration.nix b/hosts/Nixstation/hardware-configuration.nix index a30ef9b..fc61cc4 100644 --- a/hosts/Nixstation/hardware-configuration.nix +++ b/hosts/Nixstation/hardware-configuration.nix @@ -20,7 +20,7 @@ "sd_mod" "xhci_pci" ]; - kernelParams = [ "amd_pstate=active" "usbcore.autosuspend=-1"]; + kernelParams = [ "amd_pstate=active" "usbcore.autosuspend=-1" ]; initrd.kernelModules = [ ]; kernelModules = [ "kvm-amd" "iwlwifi" ]; extraModulePackages = [ ]; diff --git a/hosts/common/network.nix b/hosts/common/network.nix index 5d3ea4f..f97adf0 100644 --- a/hosts/common/network.nix +++ b/hosts/common/network.nix @@ -7,8 +7,8 @@ firewall = { enable = true; allowPing = true; - allowedTCPPorts = [2375 4780 11470 25565]; - allowedUDPPorts = [3478 41641 8888 8899]; + allowedTCPPorts = [ 2375 4780 11470 25565 ]; + allowedUDPPorts = [ 3478 41641 8888 8899 ]; }; }; @@ -58,7 +58,7 @@ services.docker.serviceConfig = { StandardOutput = "journal"; StandardError = "journal"; - logFilterPatterns = [ ".*skip loading plugin.*" "skip plugin"]; + logFilterPatterns = [ ".*skip loading plugin.*" "skip plugin" ]; }; tmpfiles.rules = [ "d /usr/local/share/polkit-1 0755 root root -"