1
0
Fork 0
nix-configuration/modules/nixos/default.nix

38 lines
710 B
Nix
Raw Normal View History

2024-12-06 18:04:47 +00:00
# Modules common to all systems
{
pkgs,
namespace,
...
}:
{
${namespace} = {
# Install base packages
packages = with pkgs; [
fastfetch # Show a neat system statistics screen when opening a terminal
htop # System monitor
lm_sensors # System temperature monitoring
zellij # Terminal multiplexer
];
# Install the nos helper script
nix.nixos-operations-script.enable = true;
2024-12-06 18:04:47 +00:00
};
programs = {
# Install ZSH for all users
zsh.enable = true;
# Configure nano
nano.nanorc = ''
set tabsize 4
set softwrap
set autoindent
set indicator
'';
};
# Set ZSH as the default shell
users.defaultUserShell = pkgs.zsh;
}