mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2026-04-14 13:19:09 +02:00
24 lines
519 B
Nix
24 lines
519 B
Nix
{ lib, config, pkgs, withHomeManager, ... }:
|
|
{
|
|
options.swarselmodules.server.packages = lib.mkEnableOption "enable packages on server";
|
|
config = lib.mkIf config.swarselmodules.server.packages {
|
|
environment.systemPackages = with pkgs; [
|
|
gnupg
|
|
nvd
|
|
nix-output-monitor
|
|
ssh-to-age
|
|
git
|
|
emacs
|
|
vim
|
|
sops
|
|
tmux
|
|
busybox
|
|
ndisc6
|
|
tcpdump
|
|
swarsel-deploy
|
|
] ++ lib.optionals withHomeManager [
|
|
swarsel-gens
|
|
swarsel-switch
|
|
];
|
|
};
|
|
}
|