From 7c000f96fe6d1101c4a44e59c5b871524e154cfb Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Tue, 22 Sep 2020 19:11:48 -0300 Subject: Move shell aliases into vps-configuration.nix --- vps-configuration.nix | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) (limited to 'vps-configuration.nix') diff --git a/vps-configuration.nix b/vps-configuration.nix index 8122cad..cc7cf3b 100644 --- a/vps-configuration.nix +++ b/vps-configuration.nix @@ -66,12 +66,18 @@ in { interfaces.ens3.useDHCP = true; }; - environment.systemPackages = with pkgs; [ - vim - git - gitAndTools.git-annex - gotop - ]; + environment = { + systemPackages = with pkgs; [ + vim + git + gitAndTools.git-annex + gotop + ]; + + shellAliases = { + l = "ls -lahF"; + }; + }; networking.firewall.allowedTCPPorts = [ config.openSSHPort -- cgit v1.2.3