summaryrefslogtreecommitdiff
path: root/configurations/yavanna
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>2024-05-01 03:36:55 +0300
committerAzat Bahawi <azat@bahawi.net>2024-05-01 03:36:55 +0300
commit9a20404924fda2587ce4f9769f75369799f34643 (patch)
treea953941a22d6c031e67b267e35a11db72bdd25e3 /configurations/yavanna
parentc1353bb04b594a8b11fa7e28dbf29d0a6cb08275 (diff)
2024-05-01
Diffstat (limited to 'configurations/yavanna')
-rw-r--r--configurations/yavanna/default.nix32
1 files changed, 32 insertions, 0 deletions
diff --git a/configurations/yavanna/default.nix b/configurations/yavanna/default.nix
new file mode 100644
index 0000000..2d52f53
--- /dev/null
+++ b/configurations/yavanna/default.nix
@@ -0,0 +1,32 @@
+_: {
+ nixfiles.modules = {
+ wireguard.client.enable = true;
+
+ syncthing.enable = true;
+
+ acme.enable = true;
+
+ rtorrent.enable = true;
+ lidarr.enable = true;
+ jackett.enable = true;
+ };
+
+ boot.loader.grub = {
+ enable = true;
+ device = "/dev/sda";
+ configurationLimit = 5;
+ };
+
+ fileSystems."/" = {
+ device = "/dev/sda2";
+ fsType = "ext4";
+ options = [ "noatime" ];
+ };
+
+ swapDevices = [ { device = "/dev/sda3"; } ];
+
+ zramSwap = {
+ enable = true;
+ memoryPercent = 25;
+ };
+}