1
0
Fork 0
mirror of https://github.com/mdlayher/homelab.git synced 2024-12-14 11:47:32 +00:00

nixos/lib: factor out common system packages

This commit is contained in:
Matt Layher 2020-04-26 11:55:40 -04:00
parent 6bbf22c32f
commit 604cc01ad9
3 changed files with 33 additions and 41 deletions

View file

@ -1,4 +1,4 @@
{ config, ... }:
{ config, pkgs, ... }:
{
# Console configuration.
@ -18,6 +18,33 @@
# Assume all NixOS machines are headless.
# TODO: factor out if I ever switch my desktop.
noXlibs = true;
# Packages which should be installed on every machine.
systemPackages = with pkgs; [
byobu
dmidecode
ethtool
gcc
go
git
htop
iftop
iperf3
jq
lm_sensors
lshw
ndisc6
neofetch
nethogs
nixfmt
nmap
pciutils
tcpdump
tmux
usbutils
wget
wireguard-tools
];
};
system = {

View file

@ -61,36 +61,13 @@ in {
};
};
# List packages installed in system profile. To search, run:
# $ nix search wget
# Packages specific to this machine. The base package set is defined in
# lib/system.nix.
environment.systemPackages = with pkgs; [
# Stable packages.
bind
byobu
cbfstool
dmidecode
ethtool
flashrom
gcc
go
git
htop
iftop
iperf3
jq
lm_sensors
lshw
ndisc6
neofetch
nethogs
nixfmt
nmap
pciutils
tcpdump
tmux
usbutils
wget
wireguard-tools
# Unstable packages.
unstable.corerad

View file

@ -48,21 +48,9 @@
# Allow the use of Plex.
nixpkgs.config.allowUnfree = true;
# List packages installed in system profile. To search, run:
# $ nix search wget
environment.systemPackages = with pkgs; [
byobu
git
htop
jq
lm_sensors
lshw
nixfmt
screenfetch
tmux
wget
zfs
];
# Packages specific to this machine. The base package set is defined in
# lib/system.nix.
environment.systemPackages = with pkgs; [ zfs ];
nix = {
# Automatic Nix GC.