Add cli module
This commit is contained in:
parent
d3d7440ffe
commit
db28c7cf8d
7 changed files with 22 additions and 41 deletions
21
home-manager/modules/cli.nix
Normal file
21
home-manager/modules/cli.nix
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
{ nixosConfig, lib, pkgs, ... }:
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
cached-nix-shell
|
||||
file
|
||||
htop
|
||||
jq
|
||||
lsof
|
||||
ncdu
|
||||
ripgrep
|
||||
] ++ (if ! nixosConfig.myConfig.workstation.enable then [ ] else [
|
||||
direnv
|
||||
dnsutils
|
||||
screen
|
||||
speedtest-cli
|
||||
usbutils
|
||||
wget
|
||||
whois
|
||||
yt-dlp
|
||||
]);
|
||||
}
|
||||
|
|
@ -5,6 +5,7 @@
|
|||
./${nixosConfig.myConfig.terminalEmulator}.nix
|
||||
./aws.nix
|
||||
./claws-mail.nix
|
||||
./cli.nix
|
||||
./communication
|
||||
./direnv.nix
|
||||
./dynamic-colors.nix
|
||||
|
|
|
|||
|
|
@ -196,26 +196,16 @@ in
|
|||
# common
|
||||
asciinema
|
||||
bat
|
||||
cached-nix-shell
|
||||
direnv
|
||||
dnsutils
|
||||
docker-compose
|
||||
envsubst
|
||||
evince
|
||||
exa
|
||||
gnupg
|
||||
lsof
|
||||
ncdu
|
||||
nmap
|
||||
psutils
|
||||
pwgen
|
||||
ripgrep
|
||||
screen
|
||||
speedtest-cli
|
||||
tig
|
||||
vlc
|
||||
wget
|
||||
whois
|
||||
xdg_utils
|
||||
];
|
||||
};
|
||||
|
|
|
|||
|
|
@ -51,30 +51,19 @@
|
|||
qrencode
|
||||
sshfs
|
||||
tmate
|
||||
yt-dlp
|
||||
|
||||
# common
|
||||
asciinema
|
||||
bat
|
||||
cached-nix-shell
|
||||
direnv
|
||||
dnsutils
|
||||
docker-compose
|
||||
envsubst
|
||||
evince
|
||||
exa
|
||||
gnupg
|
||||
lsof
|
||||
ncdu
|
||||
nmap
|
||||
psutils
|
||||
pwgen
|
||||
ripgrep
|
||||
screen
|
||||
speedtest-cli
|
||||
tig
|
||||
wget
|
||||
whois
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -27,17 +27,10 @@
|
|||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
file
|
||||
fzf
|
||||
git
|
||||
gnome3.adwaita-icon-theme
|
||||
htop
|
||||
jq
|
||||
openconnect
|
||||
redir
|
||||
ripgrep
|
||||
tcpdump
|
||||
usbutils
|
||||
];
|
||||
|
||||
environment.variables.EDITOR = "nvim";
|
||||
|
|
|
|||
|
|
@ -32,18 +32,11 @@
|
|||
|
||||
environment.systemPackages = with pkgs; [
|
||||
brightnessctl
|
||||
file
|
||||
firefox-wayland
|
||||
fzf
|
||||
git
|
||||
gnome3.adwaita-icon-theme
|
||||
htop
|
||||
jq
|
||||
openconnect
|
||||
redir
|
||||
ripgrep
|
||||
tcpdump
|
||||
usbutils
|
||||
];
|
||||
|
||||
environment.variables.EDITOR = "nvim";
|
||||
|
|
|
|||
|
|
@ -15,13 +15,7 @@
|
|||
# List packages installed in system profile. To search, run:
|
||||
# $ nix search wget
|
||||
environment.systemPackages = with pkgs; [
|
||||
file
|
||||
fzf
|
||||
git
|
||||
gnome3.adwaita-icon-theme
|
||||
htop
|
||||
jq
|
||||
ripgrep
|
||||
];
|
||||
|
||||
environment.variables.EDITOR = "nvim";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue