From f10285de4d0b5c69d026e948a9d9d7278a2ffb64 Mon Sep 17 00:00:00 2001 From: Preston Pan Date: Tue, 11 Feb 2025 04:06:11 -0800 Subject: add resume --- nix/flake.nix | 10 ++++------ nix/modules/configuration.nix | 4 ++++ nix/modules/home/default.nix | 1 + nix/modules/home/pantalaimon.nix | 17 +++++++++++++++++ nix/modules/nginx.nix | 10 +++++----- 5 files changed, 31 insertions(+), 11 deletions(-) create mode 100644 nix/modules/home/pantalaimon.nix (limited to 'nix') diff --git a/nix/flake.nix b/nix/flake.nix index bab8574..3c56a49 100644 --- a/nix/flake.nix +++ b/nix/flake.nix @@ -53,11 +53,6 @@ ]; }; }); - - pkgs = import nixpkgs { - inherit system; - overlays = [ nix-topology.overlays.default ]; - }; in { nixosConfigurations = builtins.listToAttrs (mkConfigs [ "affinity" @@ -67,7 +62,10 @@ ]); topology."${system}" = import nix-topology { - inherit pkgs; + pkgs = import nixpkgs { + inherit system; + overlays = [ nix-topology.overlays.default ]; + }; modules = [ ./topology/default.nix { nixosConfigurations = self.nixosConfigurations; } diff --git a/nix/modules/configuration.nix b/nix/modules/configuration.nix index 1d175dc..6f8f314 100644 --- a/nix/modules/configuration.nix +++ b/nix/modules/configuration.nix @@ -310,6 +310,10 @@ }; }; + nixpkgs.config.permittedInsecurePackages = [ + "olm-3.2.16" + ]; + nix.settings.experimental-features = "nix-command flakes"; time.timeZone = config.monorepo.vars.timeZone; i18n.defaultLocale = "en_CA.UTF-8"; diff --git a/nix/modules/home/default.nix b/nix/modules/home/default.nix index 13966da..06c43dc 100644 --- a/nix/modules/home/default.nix +++ b/nix/modules/home/default.nix @@ -20,6 +20,7 @@ ./mpd.nix ./mako.nix ./user.nix + ./pantalaimon.nix ]; options = { diff --git a/nix/modules/home/pantalaimon.nix b/nix/modules/home/pantalaimon.nix new file mode 100644 index 0000000..4645687 --- /dev/null +++ b/nix/modules/home/pantalaimon.nix @@ -0,0 +1,17 @@ +{ lib, config, ... }: +{ + services.pantalaimon = { + enable = lib.mkDefault config.monorepo.profiles.graphics.enable; + settings = { + Default = { + LogLevel = "Debug"; + SSL = true; + }; + local-matrix = { + Homeserver = "https://social.nullring.xyz"; + ListenAddress = "127.0.0.1"; + ListenPort = "8008"; + }; + }; + }; +} diff --git a/nix/modules/nginx.nix b/nix/modules/nginx.nix index bcc213a..18becfe 100644 --- a/nix/modules/nginx.nix +++ b/nix/modules/nginx.nix @@ -37,11 +37,11 @@ ''; virtualHosts = { - "ret2pop.net" = { - # addSSL = true; - # enableACME = true; - root = "/home/preston/ret2pop-website/"; - }; + "ret2pop.nullring.xyz" = { + # addSSL = true; + # enableACME = true; + root = "/home/preston/ret2pop-website/"; + }; }; }; } -- cgit