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
inherit (self) outputs;
lib = nixpkgs.lib // home-manager.lib;

View file

@ -1,9 +1,7 @@
{ pkgs, ... }: {
# Common CLI apps
# Core CLI apps
imports = [
./direnv.nix
./go.nix
./git.nix
./fish.nix
./tmux.nix
@ -14,16 +12,8 @@
babelfish # Lets fish speak bash
bottom # Better top
httpie # Better curl
hugo # Static site generator
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
terraform # Hashicorp terraform
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 = "jbowdre";
packages = with pkgs; [
packer
terraform
vagrant
wslu
vault
wsl-open
wslu
];
};
}

View file

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

View file

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

View file

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