From 9575917edbbd9928f2ea213b8c916669ba98f57b Mon Sep 17 00:00:00 2001 From: notohh Date: Sun, 14 May 2023 23:28:26 -0400 Subject: [PATCH] home: move packages from hosts, init bat theme --- home/default.nix | 18 +++++++++++++++++- hosts/hime/default.nix | 3 --- hosts/sakura/default.nix | 2 -- hosts/sutakku/default.nix | 2 -- hosts/tsuki/default.nix | 1 - 5 files changed, 17 insertions(+), 9 deletions(-) diff --git a/home/default.nix b/home/default.nix index 15eb32c..36a87c9 100644 --- a/home/default.nix +++ b/home/default.nix @@ -11,10 +11,11 @@ ]; home.packages = with pkgs; [ - bat croc lazydocker yt-dlp + nfs-utils + pinentry-curses ]; programs.ssh = { @@ -40,4 +41,19 @@ User root ''; }; + programs.bat = { + enable = true; + config = { + theme = "catppuccin-mocha"; + }; + themes = { + catppuccin-mocha = builtins.readFile (pkgs.fetchFromGitHub { + owner = "catppuccin"; + repo = "bat"; + rev = "ba4d16880d63e656acced2b7d4e034e4a93f74b1"; + sha256 = "sha256-6WVKQErGdaqb++oaXnY3i6/GuH2FhTgK0v4TN4Y0Wbw="; + } + + "/Catppuccin-mocha.tmTheme"); + }; + }; } diff --git a/hosts/hime/default.nix b/hosts/hime/default.nix index ea9dcff..99c2af5 100644 --- a/hosts/hime/default.nix +++ b/hosts/hime/default.nix @@ -32,9 +32,6 @@ }; environment.systemPackages = with pkgs; [ - hugo wget - python3Full - nfs-utils ]; } diff --git a/hosts/sakura/default.nix b/hosts/sakura/default.nix index 9b07cea..0be0dc2 100644 --- a/hosts/sakura/default.nix +++ b/hosts/sakura/default.nix @@ -38,8 +38,6 @@ environment.systemPackages = with pkgs; [ wget - nfs-utils - pinentry-curses ]; programs.gnupg.agent = { diff --git a/hosts/sutakku/default.nix b/hosts/sutakku/default.nix index 1415327..ccf7444 100644 --- a/hosts/sutakku/default.nix +++ b/hosts/sutakku/default.nix @@ -37,8 +37,6 @@ environment.systemPackages = with pkgs; [ wget - nfs-utils - pinentry-curses ]; programs.gnupg.agent = { diff --git a/hosts/tsuki/default.nix b/hosts/tsuki/default.nix index e58b7e3..1364079 100755 --- a/hosts/tsuki/default.nix +++ b/hosts/tsuki/default.nix @@ -104,7 +104,6 @@ libvirt qemu_kvm pinentry-gtk2 - nfs-utils jdk17 ]; }