add wayland
This commit is contained in:
27
modules/core/tty.nix
Normal file
27
modules/core/tty.nix
Normal file
@@ -0,0 +1,27 @@
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}@attrs:
|
||||
let
|
||||
cfg = config.services.getty;
|
||||
in
|
||||
{
|
||||
environment = {
|
||||
etc = {
|
||||
"inputrc".source = ./config/etc/inputrc;
|
||||
};
|
||||
shellAliases = {
|
||||
ls = "ls --color=auto";
|
||||
ll = "ls --color=auto -lha";
|
||||
grep = "grep --color=auto";
|
||||
ip = "ip -color=auto";
|
||||
vi = "nvim";
|
||||
};
|
||||
variables = {
|
||||
EDITOR = "nvim";
|
||||
HISTSIZE = 20000;
|
||||
HISTTIMEFORMAT = "%F %T ";
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user