43 lines
873 B
Nix
43 lines
873 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
{
|
|
boot.loader.grub = {
|
|
enable = true;
|
|
device = "/dev/sda";
|
|
};
|
|
|
|
networking.hostName = "prin-server"; # Define your hostname.
|
|
|
|
# Configure network connections interactively with nmcli or nmtui.
|
|
networking.networkmanager.enable = true;
|
|
|
|
# Set your time zone.
|
|
time.timeZone = "Europe/Amsterdam";
|
|
|
|
users.users.prever = {
|
|
isNormalUser = true;
|
|
extraGroups = [ "wheel" ];
|
|
packages = with pkgs; [
|
|
git
|
|
tree
|
|
];
|
|
};
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
neovim
|
|
wget
|
|
];
|
|
|
|
services.openssh.enable = true;
|
|
|
|
networking.firewall.allowedTCPPorts = [ 22 80 443 ];
|
|
# networking.firewall.allowedUDPPorts = [ ... ];
|
|
|
|
nix = {
|
|
settings.experimental-features = [ "nix-command" "flakes" ];
|
|
};
|
|
|
|
home-manager.users.prever.home.stateVersion = "25.11";
|
|
system.stateVersion = "25.11";
|
|
}
|
|
|