pain
This commit is contained in:
parent
1bb25bda0e
commit
e0a7e9a533
13 changed files with 451 additions and 4 deletions
12
modules/shell/module2.nix
Normal file
12
modules/shell/module2.nix
Normal file
|
@ -0,0 +1,12 @@
|
|||
# This shell setup was inspired by sioodmy. Check out his setup!
|
||||
{pkgs, ...}: let
|
||||
toml = pkgs.formats.toml {};
|
||||
starship-config = import ./starship.nix;
|
||||
in (pkgs.symlinkJoin {
|
||||
name = "fish-wrapped";
|
||||
paths = [pkgs.fish pkgs.starship pkgs.fzf];
|
||||
buildInputs = [pkgs.makeWrapper];
|
||||
postBuild = ''
|
||||
wrapProgram $out/bin/fish --set STARSHIP_CONFIG "${toml.generate "starship.toml" starship-config}" \
|
||||
'';
|
||||
})
|
Loading…
Add table
Add a link
Reference in a new issue