makefu: move more stuff into base.nix

This commit is contained in:
makefu 2015-08-11 19:00:22 +00:00
parent 450d9e71ff
commit 7a378d230d
3 changed files with 7 additions and 18 deletions

View File

@ -33,11 +33,4 @@
];
networking.firewall.allowedUDPPorts = [ 2003 ];
networking.firewall.rejectPackets = true;
networking.firewall.allowPing = true;
# $ nix-env -qaP | grep wget
environment.systemPackages = with pkgs; [
jq
];
}

View File

@ -1,7 +1,6 @@
# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help).
#
#
#
{ config, pkgs, ... }:
{
@ -28,11 +27,4 @@
};
};
networking.firewall.rejectPackets = true;
networking.firewall.allowPing = true;
environment.systemPackages = with pkgs; [
vim
jq
];
}

View File

@ -50,6 +50,10 @@ with lib;
users.mutableUsers = false;
boot.tmpOnTmpfs = true;
networking.firewall.rejectPackets = true;
networking.firewall.allowPing = true;
systemd.tmpfiles.rules = [
"d /tmp 1777 root root - -"
];