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:
parent
9e5eb2222c
commit
eb3c29492b
2 changed files with 11 additions and 11 deletions
|
@ -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";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
|
@ -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";
|
||||||
|
})
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue