summary refs log tree commit diff
path: root/nixos/modules/system
diff options
context:
space:
mode:
authorrnhmjoj <micheleguerinirocco@me.com>2016-05-21 19:25:21 +0200
committerrnhmjoj <micheleguerinirocco@me.com>2016-05-21 19:25:21 +0200
commit1d9651e723a3e08e52e1ce14ac4e3025e20f90ff (patch)
tree788f6db48bc17a54bd7ac9f47177e9c63d8588fb /nixos/modules/system
parent36b4e612e4a341bf57cfe65694aae6b05156a772 (diff)
downloadnixlib-1d9651e723a3e08e52e1ce14ac4e3025e20f90ff.tar
nixlib-1d9651e723a3e08e52e1ce14ac4e3025e20f90ff.tar.gz
nixlib-1d9651e723a3e08e52e1ce14ac4e3025e20f90ff.tar.bz2
nixlib-1d9651e723a3e08e52e1ce14ac4e3025e20f90ff.tar.lz
nixlib-1d9651e723a3e08e52e1ce14ac4e3025e20f90ff.tar.xz
nixlib-1d9651e723a3e08e52e1ce14ac4e3025e20f90ff.tar.zst
nixlib-1d9651e723a3e08e52e1ce14ac4e3025e20f90ff.zip
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;