1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-27 18:17:44 +00:00

shells: init

This commit is contained in:
RGBCube 2025-07-19 21:01:54 +03:00
parent 4a90dba591
commit 5a699752fd
Signed by: RGBCube
SSH key fingerprint: SHA256:CzqbPcfwt+GxFYNnFVCqoN5Itn4YFrshg1TrnACpA5M
11 changed files with 99 additions and 55 deletions

View file

@ -0,0 +1,9 @@
{ config, lib, pkgs, ... }: let
inherit (lib) concatStringsSep;
in {
users.defaultUserShell = pkgs.crash;
environment.sessionVariables.SHELLS = config.shellsByPriority
|> map (drv: "${drv}${drv.shellPath}")
|> concatStringsSep ":";
}