Move common packages from home-manager to nixos

For some admin packages it makes more sense to have them available to all
systems and users.
This commit is contained in:
Andreas Zweili 2024-02-05 21:05:01 +01:00
parent b7a2cc0813
commit d8f1a22cb4
5 changed files with 18 additions and 19 deletions

View File

@ -76,17 +76,5 @@
ls = "ls -lhF"; ls = "ls -lhF";
btm = "btm --color default-light"; btm = "btm --color default-light";
}; };
packages = with pkgs; [
bottom
git
highlight
killall
ncdu
unstable.nixfmt-rfc-style
nmon
tree
unzip
wget
];
}; };
} }

View File

@ -35,12 +35,9 @@ in
}; };
}; };
home.packages = with pkgs; [ home.packages = with pkgs; [
docker-compose
meld meld
nitrogen nitrogen
libreoffice-fresh libreoffice-fresh
nodePackages.prettier # formatting files
nodePackages.prettier-plugin-toml
remmina remmina
]; ];
# raw config files # raw config files

View File

@ -6,8 +6,8 @@
packages = with pkgs; [ packages = with pkgs; [
docker-compose docker-compose
exercism exercism
git
nodePackages.prettier # formatting files nodePackages.prettier # formatting files
xclip
]; ];
shellAliases = { shellAliases = {
unlock-luks = "ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o User=root"; unlock-luks = "ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o User=root";

View File

@ -22,11 +22,18 @@
PATH = "$PATH:$HOME/.local/bin"; PATH = "$PATH:$HOME/.local/bin";
}; };
packages = with pkgs; [ packages = with pkgs; [
keychain bottom
unstable.nixfmt-rfc-style
mosh
gyre-fonts gyre-fonts
highlight
keychain
killall
mosh
ncdu
nmon
source-code-pro source-code-pro
tree
unzip
wget
]; ];
}; };
nix = { nix = {

View File

@ -81,8 +81,15 @@
}; };
systemPackages = [ systemPackages = [
pkgs.bottom pkgs.bottom
pkgs.highlight
pkgs.killall
pkgs.man-pages pkgs.man-pages
pkgs.ncdu
pkgs.nmon
pkgs.tree
pkgs.unzip
pkgs.vim pkgs.vim
pkgs.wget
]; ];
}; };
# Disable the root user # Disable the root user