mirror of
https://github.com/jbowdre/dotfiles.git
synced 2024-11-22 09:22:19 +00:00
break CLI apps into core/extra groups for more granularity
This commit is contained in:
parent
cc9ccca5d1
commit
53541d972b
9 changed files with 30 additions and 14 deletions
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
];
|
||||
}
|
20
nix/home/features/cli/extras/default.nix
Normal file
20
nix/home/features/cli/extras/default.nix
Normal 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
|
||||
];
|
||||
}
|
|
@ -7,9 +7,12 @@
|
|||
# username override
|
||||
username = "jbowdre";
|
||||
packages = with pkgs; [
|
||||
packer
|
||||
terraform
|
||||
vagrant
|
||||
wslu
|
||||
vault
|
||||
wsl-open
|
||||
wslu
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
{ pkgs, lib, config, ... }: {
|
||||
imports = [
|
||||
./global
|
||||
./lib/chromeos.nix
|
||||
./features/cli/extras
|
||||
./features/desktop/vscode.nix
|
||||
./lib/chromeos.nix
|
||||
];
|
||||
|
||||
# packages
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
{ inputs, outputs, lib, config, pkgs, ... }: {
|
||||
imports = [
|
||||
./global
|
||||
./features/cli/extras
|
||||
./features/desktop
|
||||
./lib/chromeos.nix
|
||||
];
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
{ inputs, outputs, lib, config, pkgs, ... }: {
|
||||
imports = [
|
||||
./global
|
||||
./features/cli/extras
|
||||
./features/desktop
|
||||
];
|
||||
|
||||
|
|
Loading…
Reference in a new issue