This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

flake: add le_menu entrypoint

+20 -3
+20 -3
flake.nix
··· 118 118 ... 119 119 }: 120 120 { 121 - packages = lib.mapAttrs (name: _v_: pkgs.callPackage ./5pkgs/${name} { }) ( 122 - builtins.readDir ./5pkgs 123 - ); 121 + packages = 122 + (lib.mapAttrs (name: _v_: pkgs.callPackage ./5pkgs/${name} { }) (builtins.readDir ./5pkgs)) 123 + // { 124 + default = inputs.le_menu.lib.buildMenu { 125 + inherit pkgs; 126 + menuConfig = { 127 + vim.run = "nix run ${self}#nvim"; 128 + shell.run = "nix run ${self}#shell"; 129 + machines.submenu = lib.mapAttrs (name: _machine: { 130 + submenu.ssh.submenu = { 131 + retiolum.run = "ssh -t ${name}.r"; 132 + spora.run = "ssh ${name}.s"; 133 + nether.run = "ssh ${name}.n"; 134 + tor.run = "torify ssh $(pass show machines/${name}/tor-hostname)"; 135 + }; 136 + }) self.nixosConfigurations; 137 + debug.run = "env"; 138 + }; 139 + }; 140 + }; 124 141 devShells.default = pkgs.mkShell { 125 142 packages = [ 126 143 clan-core.packages.${system}.clan-cli