network/nix/nixos-module/defaults.nix

25 lines
507 B
Nix
Raw Normal View History

{ hostName, inputs, pkgs, ... }:
2021-03-05 20:05:50 +01:00
{
nix = {
package = pkgs.nixFlakes;
extraOptions = "experimental-features = nix-command flakes";
registry = {
nixpkgs.flake = inputs.nixpkgs;
zentralwerk-network.flake = inputs.self;
};
2021-03-05 20:05:50 +01:00
};
environment.systemPackages = with pkgs; [
vim screen git wget
tcpdump iputils bridge-utils mtr traceroute
dhcpcd
2021-03-05 20:05:50 +01:00
];
networking.hostName = hostName;
2021-03-22 23:37:25 +01:00
users.users.root.initialHashedPassword = "";
system.stateVersion = "20.09";
2021-03-05 20:05:50 +01:00
}