Refactor packages

This commit is contained in:
Dave Gallant
2022-07-05 01:42:15 +00:00
parent 2cd59475de
commit 7323e619c9
7 changed files with 258 additions and 237 deletions

26
packages/linux.nix Normal file
View File

@@ -0,0 +1,26 @@
{
config,
lib,
pkgs,
...
}: let
inherit (pkgs) stdenv;
in {
# System-wide packages to install.
environment.systemPackages = with pkgs; let
linux = [
cryptsetup
glibcLocales
iotop
linuxPackages.perf
netdata
pinentry-curses
rustup
strace
tailscale
];
in
linux;
programs.gnupg.agent.enable = true;
}