Update docker & kubernetes settings
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
@@ -4,8 +4,7 @@
|
||||
}:
|
||||
{
|
||||
config,
|
||||
inputs,
|
||||
utils,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
@@ -28,6 +27,9 @@
|
||||
};
|
||||
};
|
||||
|
||||
home-manager.users.${user}.home.packages = with pkgs; [ docker-compose ];
|
||||
}
|
||||
// lib.mkIf config.virtualisation.docker.rootless.enable {
|
||||
environment.persistence."/persist"."${home}/.local/share/docker" = { };
|
||||
|
||||
systemd.user = {
|
||||
@@ -38,6 +40,7 @@
|
||||
config.environment.persistence."/persist"."${home}/.local/share/docker".mount
|
||||
];
|
||||
};
|
||||
|
||||
home-manager.users.${user}.home.packages = with pkgs; [ docker-compose ];
|
||||
}
|
||||
// lib.mkIf (!config.virtualisation.docker.rootless.enable) {
|
||||
users.users.${user}.extraGroups = [ "docker" ];
|
||||
}
|
||||
|
@@ -6,8 +6,9 @@
|
||||
{
|
||||
home-manager.users.${user} = {
|
||||
home.packages = with pkgs; [
|
||||
kubernetes-helm
|
||||
kubectl
|
||||
kubernetes-helm
|
||||
kind
|
||||
];
|
||||
|
||||
programs.zsh.p10k.extraRightPromptElements = [ "kubecontext" ];
|
||||
|
Reference in New Issue
Block a user