summary refs log tree commit diff
path: root/nixos/modules/system
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2016-05-23 10:28:34 +0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2016-05-23 10:28:34 +0200
commit0c5ebbd74477a8715f42c6f246d1e091fc359379 (patch)
tree205d773a49290e88df4046edb42928e523974b14 /nixos/modules/system
parent6a2244e8f453ab6c66dff9411735c81cbad879fa (diff)
parent1d9651e723a3e08e52e1ce14ac4e3025e20f90ff (diff)
downloadnixlib-0c5ebbd74477a8715f42c6f246d1e091fc359379.tar
nixlib-0c5ebbd74477a8715f42c6f246d1e091fc359379.tar.gz
nixlib-0c5ebbd74477a8715f42c6f246d1e091fc359379.tar.bz2
nixlib-0c5ebbd74477a8715f42c6f246d1e091fc359379.tar.lz
nixlib-0c5ebbd74477a8715f42c6f246d1e091fc359379.tar.xz
nixlib-0c5ebbd74477a8715f42c6f246d1e091fc359379.tar.zst
nixlib-0c5ebbd74477a8715f42c6f246d1e091fc359379.zip
Merge pull request #15598 from rnhmjoj/systemd
Remove systemd shell aliases
Diffstat (limited to 'nixos/modules/system')
-rw-r--r--nixos/modules/system/boot/systemd.nix7
1 files changed, 0 insertions, 7 deletions
diff --git a/nixos/modules/system/boot/systemd.nix b/nixos/modules/system/boot/systemd.nix
index e7f892945315..076bbca850d9 100644
--- a/nixos/modules/system/boot/systemd.nix
+++ b/nixos/modules/system/boot/systemd.nix
@@ -753,13 +753,6 @@ in
         "TMPFS_XATTR" "SECCOMP"
       ];
 
-    environment.shellAliases =
-      { start = "systemctl start";
-        stop = "systemctl stop";
-        restart = "systemctl restart";
-        status = "systemctl status";
-      };
-
     users.extraGroups.systemd-journal.gid = config.ids.gids.systemd-journal;
     users.extraUsers.systemd-journal-gateway.uid = config.ids.uids.systemd-journal-gateway;
     users.extraGroups.systemd-journal-gateway.gid = config.ids.gids.systemd-journal-gateway;