From 24637dfdfdd6dc8d116542f16a07d808c9e43c36 Mon Sep 17 00:00:00 2001 From: tzlil Date: Tue, 13 Dec 2022 02:15:50 +0200 Subject: first commit --- profiles/core.nix | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 profiles/core.nix (limited to 'profiles/core.nix') diff --git a/profiles/core.nix b/profiles/core.nix new file mode 100644 index 0000000..01ec85a --- /dev/null +++ b/profiles/core.nix @@ -0,0 +1,26 @@ +{ pkgs, lib, config, inputs, ... }: + +{ + imports = [ + ../profiles/security.nix + ../profiles/network.nix + ]; + config = { + system.stateVersion = "22.5"; + nix = { + registry.nixpgs.flake = inputs.nixpkgs; + gc.automatic = true; + optimise.automatic = true; + settings = { + allowed-users = ["root"]; + trusted-users = ["root"]; + sandbox = true; + }; + extraOptions = '' + experimental-features = nix-command flakes + ''; + }; + users.mutableUsers = false; + environment.defaultPackages = lib.mkForce []; + }; +} \ No newline at end of file -- cgit 1.4.1