makefu: move more stuff into base.nix
This commit is contained in:
parent
9f56789a7d
commit
62325d01d3
|
@ -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
|
|
||||||
];
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
|
|
||||||
];
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -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 - -"
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue