nixos-config

NixOS configs for my systems
Log | Files | Refs

commit 60afc6688d7174d00200cd40c620c2eef7e3e53a
parent fa2ada494f30f290acf318dda05c34747f6de577
Author: vin <vin@vineetk.net>
Date:   Mon,  3 Mar 2025 00:02:40 -0500

demiurge: more stuff

Diffstat:
Mflake.lock | 104++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
Mhosts/demiurge/default.nix | 18++++++++++--------
2 files changed, 113 insertions(+), 9 deletions(-)

diff --git a/flake.lock b/flake.lock @@ -1,5 +1,21 @@ { "nodes": { + "blobs": { + "flake": false, + "locked": { + "lastModified": 1604995301, + "narHash": "sha256-wcLzgLec6SGJA8fx1OEN1yV/Py5b+U5iyYpksUY/yLw=", + "owner": "simple-nixos-mailserver", + "repo": "blobs", + "rev": "2cccdf1ca48316f2cfd1c9a0017e8de5a7156265", + "type": "gitlab" + }, + "original": { + "owner": "simple-nixos-mailserver", + "repo": "blobs", + "type": "gitlab" + } + }, "everblush-gtk": { "inputs": { "flake-parts": "flake-parts", @@ -22,6 +38,22 @@ "type": "github" } }, + "flake-compat": { + "flake": false, + "locked": { + "lastModified": 1696426674, + "narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=", + "owner": "edolstra", + "repo": "flake-compat", + "rev": "0f9255e01c2351cc7d116c072cb317785dd33b33", + "type": "github" + }, + "original": { + "owner": "edolstra", + "repo": "flake-compat", + "type": "github" + } + }, "flake-parts": { "inputs": { "nixpkgs-lib": "nixpkgs-lib" @@ -91,6 +123,21 @@ "type": "github" } }, + "nixpkgs-24_11": { + "locked": { + "lastModified": 1734083684, + "narHash": "sha256-5fNndbndxSx5d+C/D0p/VF32xDiJCJzyOqorOYW4JEo=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "314e12ba369ccdb9b352a4db26ff419f7c49fa84", + "type": "github" + }, + "original": { + "id": "nixpkgs", + "ref": "nixos-24.11", + "type": "indirect" + } + }, "nixpkgs-lib": { "locked": { "dir": "lib", @@ -109,11 +156,66 @@ "type": "github" } }, + "nixpkgs-stable": { + "locked": { + "lastModified": 1740865531, + "narHash": "sha256-h00vGIh/jxcGl8aWdfnVRD74KuLpyY3mZgMFMy7iKIc=", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "5ef6c425980847c78a80d759abc476e941a9bf42", + "type": "github" + }, + "original": { + "owner": "nixos", + "ref": "nixos-24.11", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_2": { + "locked": { + "lastModified": 1732014248, + "narHash": "sha256-y/MEyuJ5oBWrWAic/14LaIr/u5E0wRVzyYsouYY3W6w=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "23e89b7da85c3640bbc2173fe04f4bd114342367", + "type": "github" + }, + "original": { + "id": "nixpkgs", + "ref": "nixos-unstable", + "type": "indirect" + } + }, "root": { "inputs": { "everblush-gtk": "everblush-gtk", "home-manager": "home-manager", - "nixpkgs": "nixpkgs" + "nixpkgs": "nixpkgs", + "nixpkgs-stable": "nixpkgs-stable", + "simple-nixos-mailserver": "simple-nixos-mailserver" + } + }, + "simple-nixos-mailserver": { + "inputs": { + "blobs": "blobs", + "flake-compat": "flake-compat", + "nixpkgs": "nixpkgs_2", + "nixpkgs-24_11": "nixpkgs-24_11" + }, + "locked": { + "lastModified": 1734884447, + "narHash": "sha256-HA9fAmGNGf0cOYrhgoa+B6BxNVqGAYXfLyx8zIS0ZBY=", + "owner": "simple-nixos-mailserver", + "repo": "nixos-mailserver", + "rev": "63209b1def2c9fc891ad271f474a3464a5833294", + "type": "gitlab" + }, + "original": { + "owner": "simple-nixos-mailserver", + "ref": "nixos-24.11", + "repo": "nixos-mailserver", + "type": "gitlab" } } }, diff --git a/hosts/demiurge/default.nix b/hosts/demiurge/default.nix @@ -1,7 +1,3 @@ -# Edit this configuration file to define what should be installed on -# your system. Help is available in the configuration.nix(5) man page, on -# https://search.nixos.org/options and in the NixOS manual (`nixos-help`). - { config, home-manager, lib, pkgs, inputs, ... }: { @@ -143,7 +139,7 @@ # gpg gnupg.agent = { enable = true; - enableSSHSupport = true; + enableSSHSupport = false; pinentryPackage = pkgs.pinentry-rofi; settings.default-cache-ttl = 600; }; @@ -223,6 +219,12 @@ LQIhANgsvYmyCp/Nur2RKaV25CDg3kMYVBXED2HVDy8qa+3i }; }; + # media server + jellyfin = { + enable = true; + openFirewall = true; + }; + # graphical input libinput = { enable = true; @@ -259,13 +261,13 @@ LQIhANgsvYmyCp/Nur2RKaV25CDg3kMYVBXED2HVDy8qa+3i virtualHosts = { "searx.demiurge.vpn" = { enableACME = true; - forceSSL = true; + forceSSL = false; locations."/".proxyPass = "http://127.0.0.1:8081"; }; "redlib.demiurge.vpn" = { enableACME = true; - forceSSL = true; + forceSSL = false; locations."/".proxyPass = "http://127.0.0.1:8082"; }; @@ -277,7 +279,7 @@ LQIhANgsvYmyCp/Nur2RKaV25CDg3kMYVBXED2HVDy8qa+3i "sdui.demiurge.vpn" = { enableACME = true; - forceSSL = true; + forceSSL = false; locations."/" = { proxyPass = "http://127.0.0.1:7860"; proxyWebsockets = true;