summary refs log tree commit diff
diff options
context:
space:
mode:
-rwxr-xr-xflake.nix8
-rw-r--r--host/Arc/configuration.nix12
-rw-r--r--host/Rory-desktop/configuration.nix12
-rw-r--r--host/Rory-laptop/configuration.nix16
-rw-r--r--host/Rory-laptop/edu/nodejs-dev.nix4
-rw-r--r--host/Rory-laptop/nginx.nix2
-rwxr-xr-xhost/Rory-nginx/configuration.nix12
-rwxr-xr-xhost/Rory-nginx/services/containers/draupnir-cme/container.nix6
-rw-r--r--host/Rory-nginx/services/containers/draupnir-fedora/container.nix6
-rwxr-xr-xhost/Rory-nginx/services/containers/draupnir-linux-mint/container.nix6
-rwxr-xr-xhost/Rory-nginx/services/nginx/rory.gay/jitsi.nix12
-rw-r--r--host/Rory-portable/configuration.nix8
-rw-r--r--modules/monitoring/postgres.nix4
-rw-r--r--modules/monitoring/system.nix4
-rw-r--r--modules/software-templates/dotnet.client.nix5
-rw-r--r--modules/software-templates/dotnet.nix4
-rw-r--r--modules/software-templates/firefox-policy.nix4
-rwxr-xr-xmodules/users/Alice.nix4
-rwxr-xr-xmodules/users/chris.nix4
-rwxr-xr-xmodules/users/db2k.nix4
-rwxr-xr-xmodules/users/ks.nix4
21 files changed, 103 insertions, 38 deletions
diff --git a/flake.nix b/flake.nix

index f01d3d8..27a6392 100755 --- a/flake.nix +++ b/flake.nix
@@ -41,10 +41,10 @@ #conduwuit.url = "github:girlbossceo/conduwuit"; nixos-wsl.url = "github:nix-community/NixOS-WSL"; # - AUR imports -## aur-visual-paradigm = { -# url = "git+https://aur.archlinux.org/visual-paradigm.git"; -# flake = false; -# }; + # aur-visual-paradigm = { + # url = "git+https://aur.archlinux.org/visual-paradigm.git"; + # flake = false; + # }; lix-module = { url = "https://git.lix.systems/lix-project/nixos-module/archive/2.91.1-2.tar.gz"; diff --git a/host/Arc/configuration.nix b/host/Arc/configuration.nix
index 45b1945..7e17758 100644 --- a/host/Arc/configuration.nix +++ b/host/Arc/configuration.nix
@@ -167,9 +167,15 @@ nerd-fonts.jetbrains-mono noto-fonts-monochrome-emoji ]; - fontconfig.defaultFonts.monospace = with pkgs; [ "JetBrainsMonoNL Nerd Font,JetBrainsMonoNL NF:style=Regular" ]; - fontconfig.defaultFonts.sansSerif = with pkgs; [ "JetBrainsMonoNL Nerd Font,JetBrainsMonoNL NF:style=Regular" ]; - fontconfig.defaultFonts.serif = with pkgs; [ "JetBrainsMonoNL Nerd Font,JetBrainsMonoNL NF:style=Regular" ]; + fontconfig.defaultFonts.monospace = with pkgs; [ + "JetBrainsMonoNL Nerd Font,JetBrainsMonoNL NF:style=Regular" + ]; + fontconfig.defaultFonts.sansSerif = with pkgs; [ + "JetBrainsMonoNL Nerd Font,JetBrainsMonoNL NF:style=Regular" + ]; + fontconfig.defaultFonts.serif = with pkgs; [ + "JetBrainsMonoNL Nerd Font,JetBrainsMonoNL NF:style=Regular" + ]; fontconfig.defaultFonts.emoji = with pkgs; [ "freefont" ]; }; diff --git a/host/Rory-desktop/configuration.nix b/host/Rory-desktop/configuration.nix
index d3b8928..6948150 100644 --- a/host/Rory-desktop/configuration.nix +++ b/host/Rory-desktop/configuration.nix
@@ -232,9 +232,15 @@ args@{ nerd-fonts.jetbrains-mono noto-fonts-monochrome-emoji ]; - fontconfig.defaultFonts.monospace = with pkgs; [ "JetBrainsMonoNL Nerd Font,JetBrainsMonoNL NF:style=Regular" ]; - fontconfig.defaultFonts.sansSerif = with pkgs; [ "JetBrainsMonoNL Nerd Font,JetBrainsMonoNL NF:style=Regular" ]; - fontconfig.defaultFonts.serif = with pkgs; [ "JetBrainsMonoNL Nerd Font,JetBrainsMonoNL NF:style=Regular" ]; + fontconfig.defaultFonts.monospace = with pkgs; [ + "JetBrainsMonoNL Nerd Font,JetBrainsMonoNL NF:style=Regular" + ]; + fontconfig.defaultFonts.sansSerif = with pkgs; [ + "JetBrainsMonoNL Nerd Font,JetBrainsMonoNL NF:style=Regular" + ]; + fontconfig.defaultFonts.serif = with pkgs; [ + "JetBrainsMonoNL Nerd Font,JetBrainsMonoNL NF:style=Regular" + ]; fontconfig.defaultFonts.emoji = with pkgs; [ "freefont" ]; enableDefaultPackages = lib.mkForce false; enableGhostscriptFonts = lib.mkForce false; diff --git a/host/Rory-laptop/configuration.nix b/host/Rory-laptop/configuration.nix
index 3eae202..b894208 100644 --- a/host/Rory-laptop/configuration.nix +++ b/host/Rory-laptop/configuration.nix
@@ -19,10 +19,10 @@ args@{ ./postgres.nix ./nginx.nix - + ./edu/vmware.nix ./edu/nodejs-dev.nix - + # hardware-specific imports ./optional/hardware-specific/nvidia.nix ./optional/hardware-specific/intel.nix @@ -224,9 +224,15 @@ args@{ nerd-fonts.jetbrains-mono noto-fonts-monochrome-emoji ]; - fontconfig.defaultFonts.monospace = with pkgs; [ "JetBrainsMonoNL Nerd Font,JetBrainsMonoNL NF:style=Regular" ]; - fontconfig.defaultFonts.sansSerif = with pkgs; [ "JetBrainsMonoNL Nerd Font,JetBrainsMonoNL NF:style=Regular" ]; - fontconfig.defaultFonts.serif = with pkgs; [ "JetBrainsMonoNL Nerd Font,JetBrainsMonoNL NF:style=Regular" ]; + fontconfig.defaultFonts.monospace = with pkgs; [ + "JetBrainsMonoNL Nerd Font,JetBrainsMonoNL NF:style=Regular" + ]; + fontconfig.defaultFonts.sansSerif = with pkgs; [ + "JetBrainsMonoNL Nerd Font,JetBrainsMonoNL NF:style=Regular" + ]; + fontconfig.defaultFonts.serif = with pkgs; [ + "JetBrainsMonoNL Nerd Font,JetBrainsMonoNL NF:style=Regular" + ]; fontconfig.defaultFonts.emoji = with pkgs; [ "freefont" ]; enableDefaultPackages = lib.mkForce false; enableGhostscriptFonts = lib.mkForce false; diff --git a/host/Rory-laptop/edu/nodejs-dev.nix b/host/Rory-laptop/edu/nodejs-dev.nix
index ce02770..4a98c2e 100644 --- a/host/Rory-laptop/edu/nodejs-dev.nix +++ b/host/Rory-laptop/edu/nodejs-dev.nix
@@ -6,9 +6,9 @@ }: { - environment.systemPackages = with pkgs;[ + environment.systemPackages = with pkgs; [ nodejs_latest - + ]; } diff --git a/host/Rory-laptop/nginx.nix b/host/Rory-laptop/nginx.nix
index 98ef48b..d28dd33 100644 --- a/host/Rory-laptop/nginx.nix +++ b/host/Rory-laptop/nginx.nix
@@ -13,7 +13,7 @@ recommendedProxySettings = true; #recommendedTlsSettings = true; recommendedZstdSettings = true; -# recommendedGzipSettings = true; + # recommendedGzipSettings = true; recommendedBrotliSettings = true; recommendedOptimisation = true; #defaultMimeTypes = ../../../../packages/nginx/mime.types; diff --git a/host/Rory-nginx/configuration.nix b/host/Rory-nginx/configuration.nix
index 961f7da..f6375a9 100755 --- a/host/Rory-nginx/configuration.nix +++ b/host/Rory-nginx/configuration.nix
@@ -83,7 +83,9 @@ # conduit = grapevine; #}; - containers."matrixunittests" = import ./services/containers/matrixunittests/container.nix { inherit pkgs lib grapevine; }; + containers."matrixunittests" = import ./services/containers/matrixunittests/container.nix { + inherit pkgs lib grapevine; + }; # #containers."matrixunittests-conduit" = import ./services/containers/matrixunittests-conduit/container.nix { # inherit pkgs lib; @@ -95,8 +97,12 @@ initialEmail = "root@localhost.localdomain"; initialPasswordFile = "/etc/matrix-user-pass"; }; - containers."draupnir-cme" = import ./services/containers/draupnir-cme/container.nix { inherit pkgs lib nixpkgs-Draupnir; }; - containers."draupnir-fedora" = import ./services/containers/draupnir-fedora/container.nix { inherit pkgs lib nixpkgs-Draupnir; }; + containers."draupnir-cme" = import ./services/containers/draupnir-cme/container.nix { + inherit pkgs lib nixpkgs-Draupnir; + }; + containers."draupnir-fedora" = import ./services/containers/draupnir-fedora/container.nix { + inherit pkgs lib nixpkgs-Draupnir; + }; #containers."draupnir-linux-mint" = import ./services/containers/draupnir-linux-mint/container.nix { inherit pkgs lib nixpkgs-Draupnir; }; diff --git a/host/Rory-nginx/services/containers/draupnir-cme/container.nix b/host/Rory-nginx/services/containers/draupnir-cme/container.nix
index b8936ac..7b87264 100755 --- a/host/Rory-nginx/services/containers/draupnir-cme/container.nix +++ b/host/Rory-nginx/services/containers/draupnir-cme/container.nix
@@ -15,7 +15,11 @@ ./services/draupnir.nix "${nixpkgs-Draupnir}/nixos/modules/services/matrix/draupnir.nix" ]; - nixpkgs.overlays = [ (final: prev: { draupnir = nixpkgs-Draupnir.legacyPackages.${pkgs.stdenv.hostPlatform.system}.draupnir; }) ]; + nixpkgs.overlays = [ + (final: prev: { + draupnir = nixpkgs-Draupnir.legacyPackages.${pkgs.stdenv.hostPlatform.system}.draupnir; + }) + ]; }; hostAddress = "192.168.100.1"; localAddress = "192.168.100.17"; diff --git a/host/Rory-nginx/services/containers/draupnir-fedora/container.nix b/host/Rory-nginx/services/containers/draupnir-fedora/container.nix
index 4ab9009..82683d7 100644 --- a/host/Rory-nginx/services/containers/draupnir-fedora/container.nix +++ b/host/Rory-nginx/services/containers/draupnir-fedora/container.nix
@@ -15,7 +15,11 @@ ./services/draupnir.nix "${nixpkgs-Draupnir}/nixos/modules/services/matrix/draupnir.nix" ]; - nixpkgs.overlays = [ (final: prev: { draupnir = nixpkgs-Draupnir.legacyPackages.${pkgs.stdenv.hostPlatform.system}.draupnir; }) ]; + nixpkgs.overlays = [ + (final: prev: { + draupnir = nixpkgs-Draupnir.legacyPackages.${pkgs.stdenv.hostPlatform.system}.draupnir; + }) + ]; }; hostAddress = "192.168.100.1"; localAddress = "192.168.100.18"; diff --git a/host/Rory-nginx/services/containers/draupnir-linux-mint/container.nix b/host/Rory-nginx/services/containers/draupnir-linux-mint/container.nix
index 17c981a..41d25c5 100755 --- a/host/Rory-nginx/services/containers/draupnir-linux-mint/container.nix +++ b/host/Rory-nginx/services/containers/draupnir-linux-mint/container.nix
@@ -15,7 +15,11 @@ ./services/draupnir.nix "${nixpkgs-Draupnir}/nixos/modules/services/matrix/draupnir.nix" ]; - nixpkgs.overlays = [ (final: prev: { draupnir = nixpkgs-Draupnir.legacyPackages.${pkgs.stdenv.hostPlatform.system}.draupnir; }) ]; + nixpkgs.overlays = [ + (final: prev: { + draupnir = nixpkgs-Draupnir.legacyPackages.${pkgs.stdenv.hostPlatform.system}.draupnir; + }) + ]; }; hostAddress = "192.168.100.1"; localAddress = "192.168.100.19"; diff --git a/host/Rory-nginx/services/nginx/rory.gay/jitsi.nix b/host/Rory-nginx/services/nginx/rory.gay/jitsi.nix
index f6091bc..9469087 100755 --- a/host/Rory-nginx/services/nginx/rory.gay/jitsi.nix +++ b/host/Rory-nginx/services/nginx/rory.gay/jitsi.nix
@@ -39,7 +39,13 @@ in proxy_set_header Host $host; ''; }; - locations."=/external_api.js" = lib.mkDefault { alias = "${pkgs.jitsi-meet}/libs/external_api.min.js"; }; - locations."=/config.js" = lib.mkDefault { alias = overrideJs "${pkgs.jitsi-meet}/config.js" "config" (lib.recursiveUpdate defaultCfg cfg.config) cfg.extraConfig; }; - locations."=/interface_config.js" = lib.mkDefault { alias = overrideJs "${pkgs.jitsi-meet}/interface_config.js" "interfaceConfig" cfg.interfaceConfig ""; }; + locations."=/external_api.js" = lib.mkDefault { + alias = "${pkgs.jitsi-meet}/libs/external_api.min.js"; + }; + locations."=/config.js" = lib.mkDefault { + alias = overrideJs "${pkgs.jitsi-meet}/config.js" "config" (lib.recursiveUpdate defaultCfg cfg.config) cfg.extraConfig; + }; + locations."=/interface_config.js" = lib.mkDefault { + alias = overrideJs "${pkgs.jitsi-meet}/interface_config.js" "interfaceConfig" cfg.interfaceConfig ""; + }; } diff --git a/host/Rory-portable/configuration.nix b/host/Rory-portable/configuration.nix
index 936055a..1982205 100644 --- a/host/Rory-portable/configuration.nix +++ b/host/Rory-portable/configuration.nix
@@ -176,8 +176,12 @@ (nerdfonts.override { fonts = [ "JetBrainsMono" ]; }) noto-fonts-monochrome-emoji ]; - fontconfig.defaultFonts.monospace = [ "JetBrainsMonoNL Nerd Font,JetBrainsMonoNL NF:style=Regular" ]; - fontconfig.defaultFonts.sansSerif = [ "JetBrainsMonoNL Nerd Font,JetBrainsMonoNL NF:style=Regular" ]; + fontconfig.defaultFonts.monospace = [ + "JetBrainsMonoNL Nerd Font,JetBrainsMonoNL NF:style=Regular" + ]; + fontconfig.defaultFonts.sansSerif = [ + "JetBrainsMonoNL Nerd Font,JetBrainsMonoNL NF:style=Regular" + ]; fontconfig.defaultFonts.serif = [ "JetBrainsMonoNL Nerd Font,JetBrainsMonoNL NF:style=Regular" ]; fontconfig.defaultFonts.emoji = [ "freefont" ]; enableDefaultPackages = lib.mkForce false; 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 = {