break CLI apps into core/extra groups for more granularity

This commit is contained in:
John Bowdre 2023-08-03 16:38:30 -05:00
parent cc9ccca5d1
commit 53541d972b
9 changed files with 30 additions and 14 deletions

View file

@ -28,7 +28,7 @@
}; };
}; };
outputs = { self, nixpkgs, home-manager, ... } @ inputs: outputs = { self, nixpkgs, home-manager, ... } @inputs:
let let
inherit (self) outputs; inherit (self) outputs;
lib = nixpkgs.lib // home-manager.lib; lib = nixpkgs.lib // home-manager.lib;

View file

@ -1,9 +1,7 @@
{ pkgs, ... }: { { pkgs, ... }: {
# Common CLI apps # Core CLI apps
imports = [ imports = [
./direnv.nix
./go.nix
./git.nix ./git.nix
./fish.nix ./fish.nix
./tmux.nix ./tmux.nix
@ -14,16 +12,8 @@
babelfish # Lets fish speak bash babelfish # Lets fish speak bash
bottom # Better top bottom # Better top
httpie # Better curl httpie # Better curl
hugo # Static site generator
jq # JSON pretty printer and manipulator jq # JSON pretty printer and manipulator
nil # Nix LSP
# nix-inspect # See which pkgs are in your Path
nixfmt # Nix formatter
packer # Hashicorp packer
powershell # Powershell powershell # Powershell
terraform # Hashicorp terraform
tldr # TLDR pages tldr # TLDR pages
trekscii # Cute startrek cli printer
vault # Hashicorp vault
]; ];
} }

View file

@ -0,0 +1,20 @@
{ pkgs, ... }: {
# Extra CLI apps
imports = [
../default.nix
./direnv.nix
./go.nix
];
home.packages = with pkgs; [
hugo # Static site generator
nil # Nix LSP
# nix-inspect # See which pkgs are in your Path
nixfmt # Nix formatter
packer # Hashicorp packer
terraform # Hashicorp terraform
trekscii # Cute startrek cli printer
vault # Hashicorp vault
];
}

View file

@ -7,9 +7,12 @@
# username override # username override
username = "jbowdre"; username = "jbowdre";
packages = with pkgs; [ packages = with pkgs; [
packer
terraform
vagrant vagrant
wslu vault
wsl-open wsl-open
wslu
]; ];
}; };
} }

View file

@ -1,8 +1,9 @@
{ pkgs, lib, config, ... }: { { pkgs, lib, config, ... }: {
imports = [ imports = [
./global ./global
./lib/chromeos.nix ./features/cli/extras
./features/desktop/vscode.nix ./features/desktop/vscode.nix
./lib/chromeos.nix
]; ];
# packages # packages

View file

@ -1,6 +1,7 @@
{ inputs, outputs, lib, config, pkgs, ... }: { { inputs, outputs, lib, config, pkgs, ... }: {
imports = [ imports = [
./global ./global
./features/cli/extras
./features/desktop ./features/desktop
./lib/chromeos.nix ./lib/chromeos.nix
]; ];

View file

@ -1,6 +1,7 @@
{ inputs, outputs, lib, config, pkgs, ... }: { { inputs, outputs, lib, config, pkgs, ... }: {
imports = [ imports = [
./global ./global
./features/cli/extras
./features/desktop ./features/desktop
]; ];