70 lines
1.2 KiB
Nix
70 lines
1.2 KiB
Nix
{pkgs, ...}: {
|
|
environment.systemPackages = with pkgs; [
|
|
# Basic utilities
|
|
zsh
|
|
wget
|
|
curl
|
|
git
|
|
vim
|
|
|
|
htop
|
|
|
|
linux-firmware
|
|
linuxHeaders
|
|
];
|
|
|
|
nix.settings.experimental-features = [
|
|
"nix-command"
|
|
"flakes"
|
|
];
|
|
|
|
system = {
|
|
stateVersion = "25.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 = true; # Enable password authentication.
|
|
PermitRootLogin = "yes"; # Allow root login (not recommended for production).
|
|
};
|
|
};
|
|
|
|
libinput.enable = true;
|
|
};
|
|
}
|