alpha
Login
or
Join now
lass.pds.lassul.us
/
superconfig
Star
0
Fork
1
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
This repository has no description
Star
0
Fork
1
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
1
Pipelines
flake: add le_menu entrypoint
author
lassulus
date
2 years ago
(Oct 22, 2024, 1:42 PM CEST)
commit
085ecd51
085ecd51e5e3976d6655e7a44406225328c3b81f
parent
14233e8f
14233e8f969a755af1410faa52affd04a91ccdd9
+20
-3
1 changed file
Expand all
Collapse all
Unified
Split
flake.nix
+20
-3
flake.nix
View file
Reviewed
···
118
118
...
119
119
}:
120
120
{
121
121
-
packages = lib.mapAttrs (name: _v_: pkgs.callPackage ./5pkgs/${name} { }) (
122
122
-
builtins.readDir ./5pkgs
123
123
-
);
121
121
+
packages =
122
122
+
(lib.mapAttrs (name: _v_: pkgs.callPackage ./5pkgs/${name} { }) (builtins.readDir ./5pkgs))
123
123
+
// {
124
124
+
default = inputs.le_menu.lib.buildMenu {
125
125
+
inherit pkgs;
126
126
+
menuConfig = {
127
127
+
vim.run = "nix run ${self}#nvim";
128
128
+
shell.run = "nix run ${self}#shell";
129
129
+
machines.submenu = lib.mapAttrs (name: _machine: {
130
130
+
submenu.ssh.submenu = {
131
131
+
retiolum.run = "ssh -t ${name}.r";
132
132
+
spora.run = "ssh ${name}.s";
133
133
+
nether.run = "ssh ${name}.n";
134
134
+
tor.run = "torify ssh $(pass show machines/${name}/tor-hostname)";
135
135
+
};
136
136
+
}) self.nixosConfigurations;
137
137
+
debug.run = "env";
138
138
+
};
139
139
+
};
140
140
+
};
124
141
devShells.default = pkgs.mkShell {
125
142
packages = [
126
143
clan-core.packages.${system}.clan-cli