You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
521 B
Nix
27 lines
521 B
Nix
8 years ago
|
packages: {config, ...}: {
|
||
|
environment.systemPackages = with packages; [
|
||
|
nixpkgs.iptables
|
||
|
|
||
|
nixpkgs.wget
|
||
|
nixpkgs.curl
|
||
|
nixpkgs.httpie
|
||
|
nixpkgs.whois
|
||
|
];
|
||
|
|
||
|
networking = {
|
||
|
networkmanager.enable = true;
|
||
|
};
|
||
|
|
||
|
services = {
|
||
|
ntp = {
|
||
|
enable = true;
|
||
|
servers = [ "server.local" "0.pool.ntp.org" "1.pool.ntp.org" "2.pool.ntp.org" ];
|
||
|
};
|
||
|
|
||
|
avahi = {
|
||
|
enable = true;
|
||
|
nssmdns = true;
|
||
|
};
|
||
|
};
|
||
|
}
|