flake/modules/common-packages.nix
2025-03-17 00:06:23 +03:00

69 lines
1.2 KiB
Nix

{pkgs, ...}: {
environment.systemPackages = with pkgs; [
wget
git
git-lfs
gnumake
zip
fish
trash-cli
tmux
zoxide
htop
unzip
tlrc
(pkgs.writeShellScriptBin "wake-ymir" ''
echo waking up ymir
${pkgs.wakeonlan}/bin/wakeonlan 04:7c:16:e6:d9:13
'')
btop
pciutils
cloc
neofetch
inxi
jq
onefetch
just
nixd
gh
starship
tree
nix-output-monitor
yazi
ripgrep
nh
comma
nix-inspect
bat
];
programs.gnupg.agent = {
enable = true;
enableSSHSupport = true;
};
virtualisation.docker.enable = true;
# Enable the OpenSSH daemon.
services.openssh = {
enable = true;
startWhenNeeded = true;
settings = {
PermitRootLogin = "no";
# only allow key based logins and not password
PasswordAuthentication = false;
KbdInteractiveAuthentication = false;
AuthenticationMethods = "publickey";
PubkeyAuthentication = "yes";
ChallengeResponseAuthentication = "no";
UsePAM = false;
# kick out inactive sessions
ClientAliveCountMax = 5;
ClientAliveInterval = 60;
};
};
services.vscode-server.enable = true;
}