From cc96e7d20e7a7aaa64705c05d92cc27a4f02ad6c Mon Sep 17 00:00:00 2001 From: 4DBug <4DBug@github.com> Date: Mon, 23 Mar 2026 08:34:37 -0500 Subject: [PATCH] push --- flake.lock | 40 +++++++++++++++++++++++++ modules/services/omnisearch.nix | 11 +++++++ modules/services/ports.nix | 1 + modules/software/fish.nix | 2 ++ modules/software/utilities/sshuttle.nix | 2 +- 5 files changed, 55 insertions(+), 1 deletion(-) create mode 100644 modules/services/omnisearch.nix diff --git a/flake.lock b/flake.lock index f23eff4..4645db2 100644 --- a/flake.lock +++ b/flake.lock @@ -68,6 +68,24 @@ "type": "github" } }, + "beaker-src": { + "flake": false, + "locked": { + "lastModified": 1773884524, + "narHash": "sha256-1dnlofWaxI/YRID+WPz2jHZNDyloBubDt/bAQk9ePLU=", + "ref": "refs/heads/master", + "rev": "abc598baf15d6f8a4de395a27ba34b1e769558e1", + "revCount": 21, + "shallow": false, + "type": "git", + "url": "https://git.bwaaa.monster/beaker" + }, + "original": { + "shallow": false, + "type": "git", + "url": "https://git.bwaaa.monster/beaker" + } + }, "cachyos-kernel": { "flake": false, "locked": { @@ -856,6 +874,27 @@ "type": "github" } }, + "omnisearch": { + "inputs": { + "beaker-src": "beaker-src", + "nixpkgs": [ + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1774184185, + "narHash": "sha256-uxvwbXjpJUpWgXLi3Oadd+PqR3UV5MC7B/lm45oluLc=", + "ref": "refs/heads/master", + "rev": "bcee71cbbb0282d84841ba9b8908773ab56decf2", + "revCount": 66, + "type": "git", + "url": "https://git.bwaaa.monster/omnisearch" + }, + "original": { + "type": "git", + "url": "https://git.bwaaa.monster/omnisearch" + } + }, "root": { "inputs": { "catppuccin": "catppuccin", @@ -876,6 +915,7 @@ "nixpkgs-lib": [ "nixpkgs" ], + "omnisearch": "omnisearch", "stylix": "stylix", "systems": "systems_4" } diff --git a/modules/services/omnisearch.nix b/modules/services/omnisearch.nix new file mode 100644 index 0000000..a502807 --- /dev/null +++ b/modules/services/omnisearch.nix @@ -0,0 +1,11 @@ +{ inputs, ... }: { + den.aspects.omnisearch = { + nixos = { + imports = [ inputs.omnisearch.nixosModules.default ]; + + den.tunnels = [ "omnisearch" ]; + + services.omnisearch.enable = true; + }; + }; +} diff --git a/modules/services/ports.nix b/modules/services/ports.nix index d5ae0a3..09f3175 100644 --- a/modules/services/ports.nix +++ b/modules/services/ports.nix @@ -15,6 +15,7 @@ git = 3002; monitor = 61208; matrix = 8008; + omnisearch = 5000; }; }; } diff --git a/modules/software/fish.nix b/modules/software/fish.nix index 06da44d..9fe8156 100644 --- a/modules/software/fish.nix +++ b/modules/software/fish.nix @@ -9,6 +9,8 @@ rebox = "sh -c 'fuser -k \"$1\"/tcp' --"; dock = "sh -c 'ssh -N -D \"$1\" box.bug.tools &' --"; + vpn = "sshuttle --dns --python python3 -r box.bug.tools 0/0"; + pico = "ssh pico.sh"; ns = "nh os switch ~/nix --impure -H (hostname)"; diff --git a/modules/software/utilities/sshuttle.nix b/modules/software/utilities/sshuttle.nix index 8c1d057..1ecbfb6 100644 --- a/modules/software/utilities/sshuttle.nix +++ b/modules/software/utilities/sshuttle.nix @@ -2,7 +2,7 @@ den.aspects.sshuttle = { nixos = { pkgs, ... }: { environment.systemPackages = with pkgs; [ - python + python3 sshuttle ]; };