From 0e43ad825bade7772420500e581e330fd5277175 Mon Sep 17 00:00:00 2001 From: jacekpoz Date: Tue, 16 Jul 2024 08:07:53 +0200 Subject: [PATCH] formatting changes --- hosts/chmura/configuration.nix | 2 +- hosts/chmura/services/conduit.nix | 2 +- hosts/chmura/services/firefox-syncserver.nix | 2 +- hosts/chmura/services/owncast.nix | 2 +- hosts/chmura/services/stalwart.nix | 2 +- hosts/chmura/trollface.pl/index.html | 8 ++++---- modules/gui/hypr/land.nix | 8 ++++---- options/desktop/suspend.nix | 2 +- secrets/secrets.nix | 2 +- 9 files changed, 15 insertions(+), 15 deletions(-) diff --git a/hosts/chmura/configuration.nix b/hosts/chmura/configuration.nix index d032ed1..6fbc0c6 100644 --- a/hosts/chmura/configuration.nix +++ b/hosts/chmura/configuration.nix @@ -13,7 +13,7 @@ in { extraGroups = [ "docker" ]; }; - services.caddy = let + services.caddy = let redirToFlake = '' redir https://git.jacekpoz.pl/jacekpoz/niksos ''; diff --git a/hosts/chmura/services/conduit.nix b/hosts/chmura/services/conduit.nix index eb3ae76..0175efb 100644 --- a/hosts/chmura/services/conduit.nix +++ b/hosts/chmura/services/conduit.nix @@ -2,7 +2,7 @@ inputs, pkgs, ... -}: let +}: let port = 6167; in { environment.systemPackages = with pkgs; [ mautrix-discord ]; diff --git a/hosts/chmura/services/firefox-syncserver.nix b/hosts/chmura/services/firefox-syncserver.nix index 45b9c9b..da6e6c6 100644 --- a/hosts/chmura/services/firefox-syncserver.nix +++ b/hosts/chmura/services/firefox-syncserver.nix @@ -2,7 +2,7 @@ config, pkgs, ... -}: let +}: let domain = "ffsync.jacekpoz.pl"; in { age.secrets.firefox-syncserver-secrets.file = ../../../secrets/firefox-syncserver-secrets.age; diff --git a/hosts/chmura/services/owncast.nix b/hosts/chmura/services/owncast.nix index a2553cf..cf3a428 100644 --- a/hosts/chmura/services/owncast.nix +++ b/hosts/chmura/services/owncast.nix @@ -15,6 +15,6 @@ ''; }; - networking.firewall.allowedTCPPorts = [ 80 443 ] + networking.firewall.allowedTCPPorts = [ 80 443 ] ++ [ config.services.owncast.rtmp-port ]; } diff --git a/hosts/chmura/services/stalwart.nix b/hosts/chmura/services/stalwart.nix index 4d3a750..204978c 100644 --- a/hosts/chmura/services/stalwart.nix +++ b/hosts/chmura/services/stalwart.nix @@ -53,5 +53,5 @@ reverse_proxy * localhost:9902 } ''; - }; + }; } diff --git a/hosts/chmura/trollface.pl/index.html b/hosts/chmura/trollface.pl/index.html index f4231c4..6f18580 100644 --- a/hosts/chmura/trollface.pl/index.html +++ b/hosts/chmura/trollface.pl/index.html @@ -1,12 +1,12 @@ - - - + + + trolled !!! - + diff --git a/modules/gui/hypr/land.nix b/modules/gui/hypr/land.nix index 4544198..d58d1a1 100644 --- a/modules/gui/hypr/land.nix +++ b/modules/gui/hypr/land.nix @@ -15,7 +15,7 @@ inherit (lib.attrsets) mapAttrsToList; isAmdGpuPresent = elem "amdgpu" config.boot.initrd.kernelModules; - + smwPresent = elem inputs.split-monitor-workspaces.packages.${pkgs.system}.split-monitor-workspaces cfg.extraPlugins; foot' = inputs.nixpkgs-wayland.packages.${pkgs.system}.foot; @@ -120,9 +120,9 @@ in { SDL_VIDEODRIVER = "wayland"; _JAVA_AWT_WM_NONEREPARENTING = "1"; - + CLUTTER_BACKEND = "wayland"; - + GDK_BACKEND = "wayland"; QT_QPA_PLATFORM = "wayland"; @@ -459,7 +459,7 @@ in { movefocus_cycles_fullscreen = false; }; - exec-once = let + exec-once = let # https://wiki.hyprland.org/IPC/#how-to-use-socket2-with-bash handle_hyprland_events = pkgs.writeShellScript "handle_hyprland_events" '' #!/bin/sh diff --git a/options/desktop/suspend.nix b/options/desktop/suspend.nix index 61631b7..72bb537 100644 --- a/options/desktop/suspend.nix +++ b/options/desktop/suspend.nix @@ -11,7 +11,7 @@ inherit (inputs.hyprland.packages.${pkgs.system}) hyprland; hyprctl = getExe' hyprland "hyprctl"; - in{ + in { enable = true; powerDownCommands = '' ${mpc} pause diff --git a/secrets/secrets.nix b/secrets/secrets.nix index e012a77..814f59c 100644 --- a/secrets/secrets.nix +++ b/secrets/secrets.nix @@ -1,4 +1,4 @@ -let +let niks_user = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEn27EWjZsUbvMVB4ZclriSWq8wa5bxe33pMWTlPriyQ"; chmura_user = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAGwssK9tuGPxhbcCypQjm0NBJ5JwS+iG1IIfiAkgzVH"; del_user = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPnqPo7v9oHTWt0kBUm8rsm2rvX+KJ4nMifiK9KafJoT";