flake/modules/common-packages.nix
2025-04-12 18:41:09 +03:00

70 lines
1.2 KiB
Nix

{
pkgs,
inputs,
...
}: {
environment.systemPackages = with pkgs; [
inputs.osbm-nvim.packages."${pkgs.stdenv.hostPlatform.system}".default
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
lm_sensors
cloc
neofetch
inxi
jq
onefetch
just
nixd
gh
starship
tree
nix-output-monitor
yazi
ripgrep
nh
comma
nix-inspect
bat
];
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;
}