From f6de449758339dcf4cc9c690dd91aeaa6a0b3cb4 Mon Sep 17 00:00:00 2001 From: Stefan Imhoff Date: Fri, 5 Jul 2024 16:39:37 +0200 Subject: [PATCH] feat(nix): migrate lazydocker --- .dotbot.conf.yaml | 2 -- Brewfile | 2 -- nix/home/default.nix | 1 + nix/home/lazydocker/default.nix | 11 +++++++++++ {docker => nix/home/lazydocker}/lazydocker.yml | 0 5 files changed, 12 insertions(+), 4 deletions(-) create mode 100644 nix/home/lazydocker/default.nix rename {docker => nix/home/lazydocker}/lazydocker.yml (100%) diff --git a/.dotbot.conf.yaml b/.dotbot.conf.yaml index 65d26c0..291fdd4 100644 --- a/.dotbot.conf.yaml +++ b/.dotbot.conf.yaml @@ -7,7 +7,6 @@ - create: - ~/.config/gh - ~/.config/gh-dash - - ~/.config/lazydocker - ~/.config/tmux - ~/.gnupg @@ -19,7 +18,6 @@ ~/.config/gh-dash/config.yml: github/gh-dash/config.yml ~/.config/gh/config.yml: github/gh/config.yml ~/.config/karabiner: karabiner - ~/.config/lazydocker/config.yml: docker/lazydocker.yml ~/.config/lf: lf ~/.config/nvim: nvim ~/.config/oatmeal: oatmeal diff --git a/Brewfile b/Brewfile index 424ca5d..00c1434 100644 --- a/Brewfile +++ b/Brewfile @@ -237,8 +237,6 @@ brew "jless" brew "jpeg", link: true # Lightweight and flexible command-line JSON processor brew "jq" -# Lazier way to manage everything docker -brew "lazydocker" # Terminal file manager brew "lf" # Access DVDs as block devices without the decryption diff --git a/nix/home/default.nix b/nix/home/default.nix index 43a8441..cff7d05 100644 --- a/nix/home/default.nix +++ b/nix/home/default.nix @@ -10,6 +10,7 @@ in ./ag ./bat ./ctags + ./lazydocker ./lazygit ./ripgrep ./skhd diff --git a/nix/home/lazydocker/default.nix b/nix/home/lazydocker/default.nix new file mode 100644 index 0000000..d0d10b4 --- /dev/null +++ b/nix/home/lazydocker/default.nix @@ -0,0 +1,11 @@ +{ pkgs, ... }: + +{ + home.file.".config/lazydocker/config.yml" = { + source = ./lazydocker.yml; + }; + + home.packages = [ + pkgs.lazydocker + ]; +} diff --git a/docker/lazydocker.yml b/nix/home/lazydocker/lazydocker.yml similarity index 100% rename from docker/lazydocker.yml rename to nix/home/lazydocker/lazydocker.yml