feat(ci): shell-customization #32

Merged
rlahfa merged 3 commits from lbailly/liminix:shell-customization into main 2024-10-04 11:22:44 +02:00
Showing only changes of commit eec7a6e985 - Show all commits

View file

@ -4,7 +4,7 @@
{ lib, pkgs, config, ...}: { lib, pkgs, config, ...}:
let let
inherit (lib) mkEnableOption mkOption types isDerivation hasAttr concatStringsSep; inherit (lib) mkEnableOption mkOption types isDerivation hasAttr concatStringsSep mapAttrsToList;
inherit (pkgs.pseudofile) dir symlink; inherit (pkgs.pseudofile) dir symlink;
inherit (pkgs.liminix.networking) address interface; inherit (pkgs.liminix.networking) address interface;
inherit (pkgs.liminix.services) bundle; inherit (pkgs.liminix.services) bundle;
@ -205,7 +205,7 @@ in {
(pkgs.writeScript ".profile" '' (pkgs.writeScript ".profile" ''
PATH=${lib.makeBinPath config.defaultProfile.packages}:/bin PATH=${lib.makeBinPath config.defaultProfile.packages}:/bin
export PATH export PATH
${concatStringsSep "\n" (map exportVar config.defaultProfile.environmentVariables)} ${concatStringsSep "\n" (mapAttrsToList exportVar config.defaultProfile.environmentVariables)}
''); '');
in dir { in dir {
inherit profile; inherit profile;