aboutsummaryrefslogtreecommitdiff
path: root/vps-configuration.nix
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2020-09-22 19:11:48 -0300
committerEuAndreh <eu@euandre.org>2020-09-22 19:12:02 -0300
commit7c000f96fe6d1101c4a44e59c5b871524e154cfb (patch)
treec7b720775434b329eca921911037033e7e88bf8e /vps-configuration.nix
parentRefactor: simplify configuration.nix and put everything under /data/ (diff)
downloadtoph-7c000f96fe6d1101c4a44e59c5b871524e154cfb.tar.gz
toph-7c000f96fe6d1101c4a44e59c5b871524e154cfb.tar.xz
Move shell aliases into vps-configuration.nix
Diffstat (limited to 'vps-configuration.nix')
-rw-r--r--vps-configuration.nix18
1 files changed, 12 insertions, 6 deletions
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