From b8b4759f17fb8bb769160ce176c796317944c57e Mon Sep 17 00:00:00 2001 From: punkfairie Date: Mon, 4 Nov 2024 21:36:54 -0800 Subject: [PATCH] refactor(just): Give Just it's own programs/ module "It's overkill to give every single package it's own nix module" yeah probably. I do it so that I never have to guess where something's configuration lives again. Just open up marleyos/ in lazyvim, hit , search for program, profit. The only exception is stuff specific to programming languages, such as language servers and aliases to php artisan. Those live under languages/. Eventually I'd like to make dev shells for each. --- home/default.nix | 4 ---- home/programs/default.nix | 1 + home/programs/just.nix | 6 ++++++ 3 files changed, 7 insertions(+), 4 deletions(-) create mode 100644 home/programs/just.nix diff --git a/home/default.nix b/home/default.nix index 797c233..fbb51c9 100644 --- a/home/default.nix +++ b/home/default.nix @@ -45,10 +45,6 @@ # Autostart wanted systemd services. systemd.user.startServices = true; - home.packages = with pkgs; [ - just - ]; - imports = [ ./appearance ./languages diff --git a/home/programs/default.nix b/home/programs/default.nix index b831fdb..a700947 100644 --- a/home/programs/default.nix +++ b/home/programs/default.nix @@ -11,6 +11,7 @@ ./fzf.nix ./gh.nix ./hyfetch.nix + ./just.nix ./lazygit.nix ./less.nix ./man.nix diff --git a/home/programs/just.nix b/home/programs/just.nix new file mode 100644 index 0000000..ec42fc5 --- /dev/null +++ b/home/programs/just.nix @@ -0,0 +1,6 @@ +{ pkgs, ... }: +{ + home.packages = with pkgs; [ + just + ]; +}