mirror of
https://github.com/RGBCube/ncc
synced 2025-07-27 18:17:44 +00:00
shells: init
This commit is contained in:
parent
4a90dba591
commit
5a699752fd
11 changed files with 99 additions and 55 deletions
9
modules/linux/shell/default.nix
Normal file
9
modules/linux/shell/default.nix
Normal 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 ":";
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue