diff options
author | Azat Bahawi <azat@bahawi.net> | 2023-11-23 04:20:34 +0300 |
---|---|---|
committer | Azat Bahawi <azat@bahawi.net> | 2023-11-23 04:20:34 +0300 |
commit | 67b82386d8ad8ae3eea5083bd22809f6192d92a8 (patch) | |
tree | 41829a0b3e05a9dbb4b0189e34a7b53e401f489e /modules/nixos/docker.nix | |
parent | 2023-11-19 (diff) |
2023-11-23
Diffstat (limited to 'modules/nixos/docker.nix')
-rw-r--r-- | modules/nixos/docker.nix | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/modules/nixos/docker.nix b/modules/nixos/docker.nix index 31c0dda..3b38ff1 100644 --- a/modules/nixos/docker.nix +++ b/modules/nixos/docker.nix @@ -18,6 +18,8 @@ in { } ]; + nixfiles.modules.common.shell.aliases.d = "docker"; + secrets.containers-auth = { file = "${inputs.self}/secrets/containers-auth"; path = "${config.my.home}/.docker/config.json"; @@ -30,12 +32,5 @@ in { environment.systemPackages = with pkgs; [docker-compose]; my.extraGroups = ["docker"]; - - hm.programs.bash = { - shellAliases.d = "docker"; - initExtra = mkAfter '' - _complete_alias d _docker docker - ''; - }; }; } |