1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-30 11:37:44 +00:00

Undo global aliases, doesn't work

This commit is contained in:
RGBCube 2023-11-06 12:34:32 +03:00
parent 9e5eb2222c
commit eb3c29492b
No known key found for this signature in database
2 changed files with 11 additions and 11 deletions

View file

@ -2,12 +2,6 @@
(systemConfiguration { (systemConfiguration {
users.users.nixos.shell = pkgs.nushell; users.users.nixos.shell = pkgs.nushell;
environment.shellAliases = {
la = "ls --all";
lla = "ls --long --all";
sl = "ls";
};
}) })
(homeConfiguration "nixos" { (homeConfiguration "nixos" {
@ -16,6 +10,12 @@
programs.nushell = enabled { programs.nushell = enabled {
configFile.source = ./configuration.nu; configFile.source = ./configuration.nu;
envFile.source = ./environment.nu; envFile.source = ./environment.nu;
shellAliases = {
la = "ls --all";
lla = "ls --long --all";
sl = "ls";
};
}; };
}) })

View file

@ -1,9 +1,9 @@
{ lib, pkgs, systemConfiguration, systemPackages, ... }: lib.recursiveUpdate3 { lib, pkgs, systemPackages, homeConfiguration, ... }: lib.recursiveUpdate
(systemConfiguration {
environment.shellAliases.share = "steck paste";
})
(with pkgs; systemPackages [ (with pkgs; systemPackages [
steck steck
]) ])
(homeConfiguration "nixos" {
programs.nushell.shellAliases = "steck paste";
})