network/nix/nixos-module/defaults.nix

23 lines
463 B
Nix

{ hostName, inputs, pkgs, ... }:
{
nix = {
package = pkgs.nixFlakes;
extraOptions = "experimental-features = nix-command flakes";
registry = {
nixpkgs.flake = inputs.nixpkgs;
zentralwerk-network.flake = inputs.self;
};
};
environment.systemPackages = with pkgs; [
vim tcpdump iputils mtr traceroute
];
networking.hostName = hostName;
users.users.root.initialHashedPassword = "";
system.stateVersion = "20.09";
}