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

shell: fix aliases

This commit is contained in:
RGBCube 2025-07-26 01:12:17 +03:00
parent f673d73cd2
commit 3e466fcaf0
Signed by: RGBCube
SSH key fingerprint: SHA256:CzqbPcfwt+GxFYNnFVCqoN5Itn4YFrshg1TrnACpA5M
3 changed files with 14 additions and 3 deletions

View file

@ -1,5 +1,5 @@
{ config, lib, pkgs, ... }: let
inherit (lib) concatStringsSep const flatten getAttr mapAttrsToList unique;
inherit (lib) concatStringsSep const flatten getAttr mapAttrsToList mkForce unique;
in {
users.defaultUserShell = pkgs.crash;
@ -12,4 +12,9 @@ in {
|> map (drv: "${drv}${drv.shellPath}")
|> unique
|> concatStringsSep ":";
environment.shellAliases = {
ls = mkForce null;
l = mkForce null;
};
}