nix-config/modules/system.nix

81 lines
1.6 KiB
Nix
Raw Normal View History

2025-03-24 12:11:44 +01:00
{
pkgs,
lib,
username,
...
2025-04-05 15:40:23 +02:00
}:
{
2025-03-26 15:17:45 +01:00
# ============================= User related =============================
# Define a user account. Don't forget to set a password with passwd.
users.users.${username} = {
isNormalUser = true;
description = username;
2025-03-26 15:36:46 +01:00
extraGroups = ["networkmanager" "wheel" "podman"];
2025-03-26 15:17:45 +01:00
};
programs.dconf.enable = true;
# List packages installed in system profile. To search, run:
# $ nix search wget
2025-04-05 15:40:23 +02:00
environment.systemPackages = with pkgs; [
# Bare minimum
2025-03-26 15:17:45 +01:00
neovim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
wget
git
2025-04-05 15:40:23 +02:00
# System tools
2025-03-26 15:17:45 +01:00
sysstat
lm_sensors # for `sensors` command
ethtool
pciutils # lspci
usbutils # lsusb
2025-04-07 11:42:30 +02:00
lshw
# Graphics
libGL
glxinfo
2025-03-26 15:17:45 +01:00
2025-04-05 15:40:23 +02:00
# Rizz
2025-03-26 15:17:45 +01:00
fastfetch
2025-04-05 15:40:23 +02:00
cpufetch
hyfetch
ramfetch
neofetch
ghfetch
2025-03-26 16:06:17 +01:00
libnotify
2025-03-26 15:17:45 +01:00
2025-04-05 15:40:23 +02:00
# Terminal
2025-03-26 15:17:45 +01:00
yazi # file manager
jq # JSON Parser
yq-go # YAML Parser
glow # Markdown Reader
btop # system monitor
iotop # iomonitor
iftop # network monitor
iperf3 # network tester
nmap # network discovery
eza # ls replacement
curl
dnsutils
ldns
file
which
tree
gnused
gnutar
gawk
zstd
gnupg
2025-04-05 15:40:23 +02:00
# Archives
2025-03-26 15:17:45 +01:00
zip
unzip
p7zip
xz
];
security.polkit.enable = true;
2025-04-07 23:13:13 +02:00
security.rtkit.enable = true;
2025-04-05 15:40:23 +02:00
}