Compare commits
No commits in common. "5a2c7aa559ff264d619e6e95d0f3daa80a5c2798" and "85a567a7050ec1c69863a96394fd80095c25ee89" have entirely different histories.
5a2c7aa559
...
85a567a705
|
@ -6,9 +6,10 @@
|
||||||
./jellyfin.nix
|
./jellyfin.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
# Use the systemd-boot EFI boot loader.
|
boot.loader.grub = {
|
||||||
boot.loader.systemd-boot.enable = true;
|
enable = true;
|
||||||
boot.loader.efi.canTouchEfiVariables = true;
|
device = "/dev/sda";
|
||||||
|
};
|
||||||
|
|
||||||
beatific.hostName = "backyard";
|
beatific.hostName = "backyard";
|
||||||
beatific.defaults.tvbSync = false;
|
beatific.defaults.tvbSync = false;
|
||||||
|
|
|
@ -8,23 +8,18 @@
|
||||||
[ (modulesPath + "/installer/scan/not-detected.nix")
|
[ (modulesPath + "/installer/scan/not-detected.nix")
|
||||||
];
|
];
|
||||||
|
|
||||||
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" "sr_mod" ];
|
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usb_storage" "usbhid" "sd_mod" "sr_mod" ];
|
||||||
boot.initrd.kernelModules = [ ];
|
boot.initrd.kernelModules = [ ];
|
||||||
boot.kernelModules = [ "kvm-intel" ];
|
boot.kernelModules = [ "kvm-intel" ];
|
||||||
boot.extraModulePackages = [ ];
|
boot.extraModulePackages = [ ];
|
||||||
|
|
||||||
fileSystems."/" =
|
fileSystems."/" =
|
||||||
{ device = "/dev/disk/by-uuid/75addc56-2a0d-431e-a0c5-f6ee0e370e61";
|
{ device = "/dev/disk/by-uuid/798089ca-f249-431d-aa08-65909b85a184";
|
||||||
fsType = "ext4";
|
fsType = "ext4";
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/boot" =
|
|
||||||
{ device = "/dev/disk/by-uuid/610F-1EB7";
|
|
||||||
fsType = "vfat";
|
|
||||||
};
|
|
||||||
|
|
||||||
swapDevices =
|
swapDevices =
|
||||||
[ { device = "/dev/disk/by-uuid/cc464bb4-e1c8-46c0-adbb-ea1a3cfa5b03"; }
|
[ { device = "/dev/disk/by-uuid/5d55f9b7-cde3-403d-9c91-61c4b68c71f9"; }
|
||||||
];
|
];
|
||||||
|
|
||||||
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
||||||
|
@ -35,5 +30,6 @@
|
||||||
# networking.interfaces.eno1.useDHCP = lib.mkDefault true;
|
# networking.interfaces.eno1.useDHCP = lib.mkDefault true;
|
||||||
|
|
||||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||||
|
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
|
||||||
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||||
}
|
}
|
||||||
|
|
|
@ -13,13 +13,13 @@
|
||||||
default = true;
|
default = true;
|
||||||
locations."/".return = "444";
|
locations."/".return = "444";
|
||||||
};
|
};
|
||||||
"jellyfin.home.ktvb.site" = {
|
"jellyfin" = {
|
||||||
listen = [
|
listen = [
|
||||||
# The router should have a static lease for this IP and a host entry naming it
|
# Available on the local network (host managed by router)
|
||||||
{ addr = "192.168.1.236"; port = 80; }
|
{ addr = "jellyfin.backyard.lan"; port = 80; }
|
||||||
# beatific module sends traffic over the vpn
|
# Available by name on beatific (host managed by beatific module)
|
||||||
{ addr = "10.22.20.8"; port = 80; }
|
{ addr = "jellyfin.backyard.home"; port = 80; }
|
||||||
# Also available on an extra port in case of port 80 troubles
|
# Available by port on beatific until I solve DNS for non-NixOS hosts
|
||||||
{ addr = "10.22.20.8"; port = 8096; }
|
{ addr = "10.22.20.8"; port = 8096; }
|
||||||
];
|
];
|
||||||
locations."/".extraConfig = ''
|
locations."/".extraConfig = ''
|
||||||
|
|
Loading…
Reference in New Issue