Added fish terminal and aliases.

This commit is contained in:
Raphaël Numbus
2026-02-16 12:50:51 +01:00
parent 34b153c6c2
commit 1d820d4f87
2 changed files with 45 additions and 10 deletions
+2 -10
View File
@@ -10,6 +10,7 @@
./misc/mail.nix
./misc/networking.nix
./misc/smart.nix
./misc/terminal.nix
# ./disks/pcr-check.nix
# ./disks/snapraid.nix
# ./pcie-coral/coral.nix
@@ -141,6 +142,7 @@
# User account
users.users.numbus-admin = {
shell = pkgs.fish;
isNormalUser = true;
description = "Numbus Admin";
extraGroups = [ "wheel" ];
@@ -152,16 +154,6 @@
autoSubUidGidRange = true;
};
# Login message
environment.loginShellInit = ''
if [ "$(id -u)" -eq 1000 ]; then
if [ -n "$SSH_TTY" ]; then
fastfetch
echo -e "\n\nWelcome to your Numbus-Server !\n\n- This system is managed by NixOS\n- All changes are futile\n- Please consider buying support if you can't get your server running\n- Have a nice day and enjoy !"
fi
fi
'';
# Enable auto updates
system.autoUpgrade = {
enable = true;