about summary refs log tree commit diff
path: root/nixosConfigurations/yavanna/default.nix
blob: 2d52f53bddd7ed4992680bf8dea96e462c73c07a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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;
  };
}

Consider giving Nix/NixOS a try! <3