feat: Unify lxc and systems config
This commit is contained in:
committed by
Hunter Halloran
parent
01d1a36650
commit
bcacfd2ca1
36
sw/headless/programs.nix
Normal file
36
sw/headless/programs.nix
Normal file
@@ -0,0 +1,36 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
inputs,
|
||||
...
|
||||
}:
|
||||
|
||||
with lib;
|
||||
|
||||
let
|
||||
cfg = config.modules.sw;
|
||||
basePackages = with pkgs; [
|
||||
uv
|
||||
perl
|
||||
openssh
|
||||
ncurses
|
||||
tmux
|
||||
htop
|
||||
binutils
|
||||
man
|
||||
git
|
||||
oh-my-posh
|
||||
zsh
|
||||
lm_sensors
|
||||
];
|
||||
in
|
||||
{
|
||||
environment.systemPackages = subtractLists cfg.excludePackages (basePackages ++ cfg.extraPackages);
|
||||
|
||||
programs.mtr.enable = true;
|
||||
programs.gnupg.agent = {
|
||||
enable = true;
|
||||
enableSSHSupport = true;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user