This repository has no description
0

Configure Feed

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

superconfig / tools / menu / flake-module.nix
847 B 31 lines
1{ ... }: 2{ 3 perSystem = 4 { pkgs, ... }: 5 { 6 packages.menu = 7 ( 8 if pkgs.stdenv.hostPlatform.isDarwin then 9 (pkgs.writeShellApplication { 10 name = "menu"; 11 runtimeInputs = [ 12 pkgs.choose-gui 13 pkgs.fzf 14 ]; 15 text = builtins.readFile ./menu-darwin.sh; 16 }) 17 else if pkgs.stdenv.hostPlatform.isLinux then 18 (pkgs.writeShellApplication { 19 name = "menu"; 20 runtimeInputs = [ 21 pkgs.rofi 22 pkgs.wofi 23 pkgs.fzf 24 ]; 25 text = builtins.readFile ./menu-linux.sh; 26 }) 27 else 28 throw "unsupported system" 29 ).overrideAttrs { passthru.usage = builtins.readFile ./usage.kdl; }; 30 }; 31}