about summary refs log blame commit diff
path: root/configurations/yavanna/default.nix
blob: b9de05ee855e00105fbc8507686d267449b2ac01 (plain) (tree)
1
2
3
4
5
6
7
8
9
    
                      
                                   
 
                            

                       
                           
                         
                          
    


                           

                     
                         
                    
                            
    
                                              

                  
                       
    
 
_: {
  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 = 50;
  };
}

Consider giving Nix/NixOS a try! <3