summaryrefslogtreecommitdiff
path: root/config/nix.nix
diff options
context:
space:
mode:
Diffstat (limited to 'config/nix.nix')
-rw-r--r--config/nix.nix12
1 files changed, 12 insertions, 0 deletions
diff --git a/config/nix.nix b/config/nix.nix
new file mode 100644
index 0000000..5c9278f
--- /dev/null
+++ b/config/nix.nix
@@ -0,0 +1,12 @@
+{ lib, ... }:
+
+{
+ personal.nix = {
+ enable = true;
+ autoUpgrade = true;
+ gc.enable = true;
+ flake = "git+file:///etc/nixos/";
+ };
+ nix.settings.max-jobs = lib.mkDefault 1;
+ system.autoUpgrade.flags = [ "--update-input" "personal-webpage/data" ];
+}