summaryrefslogtreecommitdiff
path: root/profiles/base/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'profiles/base/default.nix')
-rw-r--r--profiles/base/default.nix20
1 files changed, 20 insertions, 0 deletions
diff --git a/profiles/base/default.nix b/profiles/base/default.nix
new file mode 100644
index 0000000..dbaabe8
--- /dev/null
+++ b/profiles/base/default.nix
@@ -0,0 +1,20 @@
+{pkgs, ...}: {
+ imports = [
+ ./documentation.nix
+ ./packages.nix
+ ];
+
+ nix = {
+ package = pkgs.nixFlakes;
+ gc = {
+ automatic = true;
+ dates = "weekly";
+ options = "--delete-older-than 7d";
+ };
+ settings = {
+ auto-optimise-store = true;
+ warn-dirty = false;
+ experimental-features = ["nix-command" "flakes"];
+ };
+ };
+}