Sync CLI tools across all hosts

This commit is contained in:
Katherina Walshe-Grey 2024-06-05 22:14:32 +01:00
parent 050fe2d1a7
commit c680907894
5 changed files with 32 additions and 4 deletions

5
home/btop.nix Normal file
View file

@ -0,0 +1,5 @@
{ config, lib, pkgs, ... }:
{
programs.btop.enable = true;
}

12
home/cli.nix Normal file
View file

@ -0,0 +1,12 @@
{ config, lib, pkgs, ... }:
{
home.packages = with pkgs; [
tree # like `ls -R` but nicer
# Extremely important
fortune
cowsay
lolcat
];
}

View file

@ -3,15 +3,13 @@
{ {
home-manager.users.qenya = { pkgs, ... }: { home-manager.users.qenya = { pkgs, ... }: {
imports = [ imports = [
../../home/btop.nix
../../home/cli.nix
../../home/gnome ../../home/gnome
../../home/vscode.nix ../../home/vscode.nix
]; ];
home.packages = with pkgs; [ home.packages = with pkgs; [
fortune
htop
tree
bitwarden bitwarden
tor-browser-bundle-bin tor-browser-bundle-bin
]; ];

View file

@ -4,6 +4,7 @@
imports = imports =
[ [
./hardware-configuration.nix ./hardware-configuration.nix
./home.nix
../../services/nginx.nix ../../services/nginx.nix
../../services/openssh.nix ../../services/openssh.nix
]; ];

12
hosts/yevaud/home.nix Normal file
View file

@ -0,0 +1,12 @@
{ config, lib, pkgs, ... }:
{
home-manager.users.qenya = { pkgs, ... }: {
imports = [
../../home/btop.nix
../../home/cli.nix
];
home.stateVersion = "23.11";
};
}