110 lines
1.6 KiB
Nix
110 lines
1.6 KiB
Nix
{pkgs, ...}: {
|
|
environment.systemPackages = with pkgs; [
|
|
# Basic utilities
|
|
zsh
|
|
wget
|
|
curl
|
|
rsync
|
|
git
|
|
vim
|
|
jq
|
|
bat
|
|
ripgrep
|
|
ripgrep-all
|
|
zoxide
|
|
file
|
|
fd
|
|
tree
|
|
xdg-utils
|
|
|
|
# nixos util
|
|
nh
|
|
|
|
# compression
|
|
unzip
|
|
zip
|
|
zstd
|
|
|
|
# stats and monitoring
|
|
fastfetch
|
|
pciutils
|
|
usbutils
|
|
lsof
|
|
lm_sensors
|
|
|
|
# network tools
|
|
nmap
|
|
tcpdump
|
|
doggo
|
|
inetutils
|
|
iproute2
|
|
whois
|
|
|
|
# documentation
|
|
man-pages
|
|
man-db
|
|
|
|
# system monitoring
|
|
htop
|
|
bottom
|
|
killall
|
|
|
|
linux-firmware
|
|
linuxHeaders
|
|
];
|
|
|
|
nix.settings.experimental-features = [
|
|
"nix-command"
|
|
"flakes"
|
|
];
|
|
|
|
system = {
|
|
stateVersion = "26.05";
|
|
activationScripts = {
|
|
rfkill-unblock = {
|
|
text = ''
|
|
rfkill unblock all
|
|
'';
|
|
deps = [];
|
|
};
|
|
};
|
|
};
|
|
|
|
time.hardwareClockInLocalTime = true;
|
|
|
|
security = {
|
|
polkit.enable = true;
|
|
rtkit.enable = true;
|
|
sudo.wheelNeedsPassword = false; # Allow sudo without password
|
|
};
|
|
|
|
time.timeZone = "Europe/Amsterdam";
|
|
i18n.defaultLocale = "en_GB.UTF-8";
|
|
|
|
console = {
|
|
font = "Lat2-Terminus16";
|
|
keyMap = "uk";
|
|
};
|
|
|
|
services = {
|
|
dbus.implementation = "broker";
|
|
|
|
pipewire = {
|
|
enable = true;
|
|
pulse.enable = true;
|
|
alsa.enable = true;
|
|
alsa.support32Bit = true;
|
|
};
|
|
|
|
openssh = {
|
|
enable = true;
|
|
settings = {
|
|
PasswordAuthentication = false; # Enable password authentication.
|
|
PermitRootLogin = "yes"; # Allow root login (not recommended for production).
|
|
};
|
|
};
|
|
|
|
libinput.enable = true;
|
|
};
|
|
}
|