shell: progress towards a working shell

This commit is contained in:
Charlie Root 2024-11-01 14:27:18 +01:00
commit 0e597cf4ef
Signed by: faukah
SSH key fingerprint: SHA256:jpYIt4Vkz1NBTQcks/N9OPTfTFxE6KF2W/rV7hrfrIw
3 changed files with 4 additions and 3 deletions

View file

@ -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 = {

View file

@ -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}" \

View file

@ -1,4 +1,4 @@
{pkgs}: (with pkgs; [
pkgs: (with pkgs; [
# better cd
zoxide
#better ls