makefu: move more stuff into base.nix

This commit is contained in:
makefu 2015-08-11 19:00:22 +00:00
parent 9f56789a7d
commit 62325d01d3
3 changed files with 7 additions and 18 deletions

View file

@ -33,11 +33,4 @@
]; ];
networking.firewall.allowedUDPPorts = [ 2003 ]; 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, ... }: { 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; users.mutableUsers = false;
boot.tmpOnTmpfs = true; boot.tmpOnTmpfs = true;
networking.firewall.rejectPackets = true;
networking.firewall.allowPing = true;
systemd.tmpfiles.rules = [ systemd.tmpfiles.rules = [
"d /tmp 1777 root root - -" "d /tmp 1777 root root - -"
]; ];