Ran nixfmt again. Added nginx to be able to access my media share over HTTP. Torrenting service rework.

This commit is contained in:
kat witch 2020-12-05 18:49:04 +00:00 committed by kat
parent bfcc1c74e1
commit 31d8f7ed65
9 changed files with 148 additions and 86 deletions

View file

@ -4,52 +4,49 @@
{ config, lib, pkgs, modulesPath, ... }:
{
imports =
[ (modulesPath + "/installer/scan/not-detected.nix")
];
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usbhid" "sd_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "zroot/safe/root";
fsType = "zfs";
};
fileSystems."/" = {
device = "zroot/safe/root";
fsType = "zfs";
};
fileSystems."/home" =
{ device = "zroot/safe/home";
fsType = "zfs";
};
fileSystems."/home" = {
device = "zroot/safe/home";
fsType = "zfs";
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/50C3-BE99";
fsType = "vfat";
};
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/50C3-BE99";
fsType = "vfat";
};
fileSystems."/disks/pool-protect" =
{ device = "zstore/protect";
fsType = "zfs";
};
fileSystems."/disks/pool-protect" = {
device = "zstore/protect";
fsType = "zfs";
};
fileSystems."/disks/pool-raw" =
{ device = "zstore/raw";
fsType = "zfs";
};
fileSystems."/disks/pool-raw" = {
device = "zstore/raw";
fsType = "zfs";
};
fileSystems."/disks/pool-compress" =
{ device = "zstore/compress";
fsType = "zfs";
};
fileSystems."/disks/pool-compress" = {
device = "zstore/compress";
fsType = "zfs";
};
fileSystems."/disks/excess" =
{ device = "/dev/disk/by-uuid/0af88a48-ccfd-4e54-9652-a5ae7f74e21d";
fsType = "xfs";
};
fileSystems."/disks/excess" = {
device = "/dev/disk/by-uuid/0af88a48-ccfd-4e54-9652-a5ae7f74e21d";
fsType = "xfs";
};
swapDevices =
[ { device = "/dev/disk/by-uuid/88595373-9566-401b-8c9b-03bbc8314f1b"; }
];
[{ device = "/dev/disk/by-uuid/88595373-9566-401b-8c9b-03bbc8314f1b"; }];
}