about summary refs log tree commit diff
path: root/nixosConfigurations/yavanna/default.nix
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>2023-04-12 04:01:46 +0300
committerAzat Bahawi <azat@bahawi.net>2023-04-12 04:01:46 +0300
commitd6368c86bc949371e904eed3d0a6583ebd53b055 (patch)
tree042db513412ba7f1577b1ac690d4e0e0fac22cbf /nixosConfigurations/yavanna/default.nix
parent2023-04-07 (diff)
2023-04-12
Diffstat (limited to 'nixosConfigurations/yavanna/default.nix')
-rw-r--r--nixosConfigurations/yavanna/default.nix13
1 files changed, 13 insertions, 0 deletions
diff --git a/nixosConfigurations/yavanna/default.nix b/nixosConfigurations/yavanna/default.nix
index 84d4493..145a872 100644
--- a/nixosConfigurations/yavanna/default.nix
+++ b/nixosConfigurations/yavanna/default.nix
@@ -8,6 +8,19 @@ with lib; {
     acme.enable = true;
 
     rtorrent.enable = true;
+
+    ipfs.enable = true;
+  };
+
+  # The /nix/var/nix/db/db.sqlite file is currently corrupt. This is technically
+  # fixable with a reinstall, but this system doesn't have a recovery mode
+  # access and I'm too lazy to redo everything with nixos-infect at this point.
+  #
+  # These services fail because of that. Although, updating configuration works
+  # just fine.
+  nix = {
+    gc.automatic = mkForce false;
+    optimise.automatic = mkForce false;
   };
 
   boot = {

Consider giving Nix/NixOS a try! <3