shell: progress towards a working shell
This commit is contained in:
parent
aec3458fb5
commit
0e597cf4ef
3 changed files with 4 additions and 3 deletions
|
@ -20,6 +20,7 @@ in {
|
|||
config = mkIf cfg.enable {
|
||||
programs.fish.enable = true;
|
||||
|
||||
# homix.".config/fish/config.fish".source = fishinit;
|
||||
# users.users.${username}.shell = pkgs.fish;
|
||||
|
||||
environment = {
|
||||
|
|
|
@ -9,10 +9,10 @@
|
|||
aliasesStr =
|
||||
pkgs.lib.concatStringsSep "\n"
|
||||
(pkgs.lib.mapAttrsToList (k: v: "alias ${k}=\"${v}\"") aliases);
|
||||
|
||||
packages = import ./packages.nix pkgs;
|
||||
in (pkgs.symlinkJoin {
|
||||
name = "fish-wrapped";
|
||||
paths = [pkgs.fish pkgs.starship pkgs.fzf];
|
||||
paths = [pkgs.fish] ++ packages;
|
||||
buildInputs = [pkgs.makeWrapper];
|
||||
postBuild = ''
|
||||
wrapProgram $out/bin/fish --set STARSHIP_CONFIG "${toml.generate "starship.toml" starship-config}" \
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{pkgs}: (with pkgs; [
|
||||
pkgs: (with pkgs; [
|
||||
# better cd
|
||||
zoxide
|
||||
#better ls
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue