summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/default.nix1
-rw-r--r--config/nix.nix3
-rw-r--r--config/system.nix6
3 files changed, 7 insertions, 3 deletions
diff --git a/config/default.nix b/config/default.nix
index 3d511f9..9a38757 100644
--- a/config/default.nix
+++ b/config/default.nix
@@ -8,6 +8,7 @@
./networking.nix
./nix.nix
./services
+ ./system.nix
./users.nix
];
diff --git a/config/nix.nix b/config/nix.nix
index 912ee0d..26aa000 100644
--- a/config/nix.nix
+++ b/config/nix.nix
@@ -1,14 +1,11 @@
{...}: {
personal.nix = {
enable = true;
- autoUpgrade.enable = true;
gc.enable = true;
- flake = "git+file:///etc/nixos/";
};
nix.settings.max-jobs = 4;
nixpkgs.flake = {
setNixPath = true;
setFlakeRegistry = true;
};
- system.autoUpgrade.dates = "12:30";
}
diff --git a/config/system.nix b/config/system.nix
new file mode 100644
index 0000000..5a568a2
--- /dev/null
+++ b/config/system.nix
@@ -0,0 +1,6 @@
+{...}: {
+ personal.system = {
+ flake = "git+file:///etc/nixos/";
+ autoUpgrade.enable = true;
+ };
+}