From c41f787ecf94fce14b684a42e521ad620ea80844 Mon Sep 17 00:00:00 2001 From: Rory& Date: Sat, 8 Feb 2025 19:36:41 +0100 Subject: Format files --- modules/monitoring/postgres.nix | 4 +++- modules/monitoring/system.nix | 4 +++- modules/software-templates/dotnet.client.nix | 5 ++++- modules/software-templates/dotnet.nix | 4 +++- modules/software-templates/firefox-policy.nix | 4 +++- modules/users/Alice.nix | 4 +++- modules/users/chris.nix | 4 +++- modules/users/db2k.nix | 4 +++- modules/users/ks.nix | 4 +++- 9 files changed, 28 insertions(+), 9 deletions(-) (limited to 'modules') diff --git a/modules/monitoring/postgres.nix b/modules/monitoring/postgres.nix index 25266fa..63f536b 100644 --- a/modules/monitoring/postgres.nix +++ b/modules/monitoring/postgres.nix @@ -23,7 +23,9 @@ in { job_name = "postgres"; scrape_interval = "${toString cfg.prometheusScrapeInterval}s"; - static_configs = [ { targets = [ "localhost:${toString config.services.prometheus.exporters.postgres.port}" ]; } ]; + static_configs = [ + { targets = [ "localhost:${toString config.services.prometheus.exporters.postgres.port}" ]; } + ]; } ]; diff --git a/modules/monitoring/system.nix b/modules/monitoring/system.nix index 34f35c4..7e2634b 100644 --- a/modules/monitoring/system.nix +++ b/modules/monitoring/system.nix @@ -50,7 +50,9 @@ in { job_name = "node"; scrape_interval = "5s"; - static_configs = [ { targets = [ "localhost:${toString config.services.prometheus.exporters.node.port}" ]; } ]; + static_configs = [ + { targets = [ "localhost:${toString config.services.prometheus.exporters.node.port}" ]; } + ]; } ]; diff --git a/modules/software-templates/dotnet.client.nix b/modules/software-templates/dotnet.client.nix index 2c043db..8b3d13f 100644 --- a/modules/software-templates/dotnet.client.nix +++ b/modules/software-templates/dotnet.client.nix @@ -17,6 +17,9 @@ in #imports = [ ./dotnet.nix ]; environment.systemPackages = with pkgs; [ #`jetbrains.rider - (jetbrains.plugins.addPlugins jetbrains.rider [ "github-copilot" "nixidea" ]) + (jetbrains.plugins.addPlugins jetbrains.rider [ + "github-copilot" + "nixidea" + ]) ]; } diff --git a/modules/software-templates/dotnet.nix b/modules/software-templates/dotnet.nix index edbcca3..4ab30d5 100644 --- a/modules/software-templates/dotnet.nix +++ b/modules/software-templates/dotnet.nix @@ -1,7 +1,9 @@ { pkgs, ... }: { - environment.systemPackages = with pkgs; [ (callPackage ../packages/dotnet-pack.nix { inherit pkgs; }) ]; + environment.systemPackages = with pkgs; [ + (callPackage ../packages/dotnet-pack.nix { inherit pkgs; }) + ]; environment.sessionVariables = { DOTNET_CLI_TELEMETRY_OPTOUT = "1"; DOTNET_ROOT = "${(pkgs.callPackage ../packages/dotnet-pack.nix { inherit pkgs; })}"; diff --git a/modules/software-templates/firefox-policy.nix b/modules/software-templates/firefox-policy.nix index 83d0a47..b8155fd 100644 --- a/modules/software-templates/firefox-policy.nix +++ b/modules/software-templates/firefox-policy.nix @@ -36,7 +36,9 @@ Enabled = false; }; Extensions = { - Install = [ "https://github.com/gorhill/uBlock/releases/download/1.52.2/uBlock0_1.52.2.firefox.signed.xpi" ]; + Install = [ + "https://github.com/gorhill/uBlock/releases/download/1.52.2/uBlock0_1.52.2.firefox.signed.xpi" + ]; }; ExtensionUpdate = false; FirefoxHome = { diff --git a/modules/users/Alice.nix b/modules/users/Alice.nix index b3a3cb8..7692950 100755 --- a/modules/users/Alice.nix +++ b/modules/users/Alice.nix @@ -9,6 +9,8 @@ group = "Alice"; home = "/group/bugmine-contrib"; shell = "${pkgs.git}/bin/git-shell"; - openssh.authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPb52m1rnJSffSOJvN6OYkKgK0TmiRKE4SbOKlkT8Tvn" ]; + openssh.authorizedKeys.keys = [ + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPb52m1rnJSffSOJvN6OYkKgK0TmiRKE4SbOKlkT8Tvn" + ]; }; } diff --git a/modules/users/chris.nix b/modules/users/chris.nix index ea939b6..43399ac 100755 --- a/modules/users/chris.nix +++ b/modules/users/chris.nix @@ -13,6 +13,8 @@ #nodejs-slim ]; #initialPassword = "password"; - openssh.authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMd9U0+wKjBG3Q9Qg249xJY+ybYeRV9/VMPjuwKvFBEI" ]; + openssh.authorizedKeys.keys = [ + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMd9U0+wKjBG3Q9Qg249xJY+ybYeRV9/VMPjuwKvFBEI" + ]; }; } diff --git a/modules/users/db2k.nix b/modules/users/db2k.nix index 8bc43e2..3e5addb 100755 --- a/modules/users/db2k.nix +++ b/modules/users/db2k.nix @@ -8,6 +8,8 @@ group = "db2k"; home = "/data/nginx/html_git/.ocp"; shell = "${pkgs.git}/bin/git-shell"; - openssh.authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMfXA4Oh0LZqY8LAS/lnANKVDBlemHGPWdtep1GE/LId garyzipperer09@gmail.com" ]; + openssh.authorizedKeys.keys = [ + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMfXA4Oh0LZqY8LAS/lnANKVDBlemHGPWdtep1GE/LId garyzipperer09@gmail.com" + ]; }; } diff --git a/modules/users/ks.nix b/modules/users/ks.nix index 0e2d36c..ea2eb10 100755 --- a/modules/users/ks.nix +++ b/modules/users/ks.nix @@ -9,7 +9,9 @@ "ocp" ]; #initialPassword = "password"; - openssh.authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPUDh1WPUF6mPQ1E38ozUjY/DZhEbwZL37eZ51DgpuLo ks" ]; + openssh.authorizedKeys.keys = [ + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPUDh1WPUF6mPQ1E38ozUjY/DZhEbwZL37eZ51DgpuLo ks" + ]; }; home-manager.users.ks = { -- cgit 1.5.1