Compare commits
2 Commits
2894eaf108
...
0a1b0fbe51
Author | SHA1 | Date | |
---|---|---|---|
0a1b0fbe51 | |||
1639675eac |
@ -12,9 +12,9 @@
|
|||||||
# ./exports.nix
|
# ./exports.nix
|
||||||
./filesystems.nix
|
./filesystems.nix
|
||||||
|
|
||||||
./services/archivebox.nix
|
# ./services/archivebox.nix
|
||||||
./services/calibre.nix
|
./services/calibre.nix
|
||||||
./services/ersatztv.nix
|
# ./services/ersatztv.nix
|
||||||
./services/jellyfin.nix
|
./services/jellyfin.nix
|
||||||
./services/komga.nix
|
./services/komga.nix
|
||||||
./services/navidrome.nix
|
./services/navidrome.nix
|
||||||
@ -26,7 +26,7 @@
|
|||||||
|
|
||||||
networking = {
|
networking = {
|
||||||
hostName = "challenger";
|
hostName = "challenger";
|
||||||
bridges.br0.interfaces = [ "enp5s0" ];
|
bridges.br0.interfaces = [ "ens18" ];
|
||||||
interfaces.br0.useDHCP = false;
|
interfaces.br0.useDHCP = false;
|
||||||
interfaces.br0.ipv4.addresses = [
|
interfaces.br0.ipv4.addresses = [
|
||||||
{ address = "192.168.10.161"; prefixLength = 24; }
|
{ address = "192.168.10.161"; prefixLength = 24; }
|
||||||
@ -41,7 +41,6 @@
|
|||||||
environment.variables = { EDITOR = "vim"; };
|
environment.variables = { EDITOR = "vim"; };
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
zfs
|
zfs
|
||||||
ncdu
|
|
||||||
];
|
];
|
||||||
|
|
||||||
virtualisation.docker.enable = true;
|
virtualisation.docker.enable = true;
|
||||||
|
@ -1,31 +1,22 @@
|
|||||||
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
|
||||||
# and may be overwritten by future invocations. Please make changes
|
|
||||||
# to /etc/nixos/configuration.nix instead.
|
|
||||||
{ config, lib, pkgs, modulesPath, ... }:
|
{ config, lib, pkgs, modulesPath, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports =
|
imports =
|
||||||
[ (modulesPath + "/installer/scan/not-detected.nix")
|
[ (modulesPath + "/profiles/qemu-guest.nix")
|
||||||
];
|
];
|
||||||
|
|
||||||
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usb_storage" "usbhid" "sd_mod" ];
|
boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "virtio_pci" "sr_mod" "virtio_blk" ];
|
||||||
boot.initrd.kernelModules = [ ];
|
boot.initrd.kernelModules = [ ];
|
||||||
boot.kernelModules = [ "kvm-amd" ];
|
boot.kernelModules = [ ];
|
||||||
boot.extraModulePackages = [ ];
|
boot.extraModulePackages = [ ];
|
||||||
boot.kernelParams = [
|
|
||||||
# https://wiki.gentoo.org/wiki/Ryzen#Ryzen_Threadripper
|
|
||||||
"processor.max_cstate=1"
|
|
||||||
"rcu_nocbs=0-11"
|
|
||||||
"idle=nomwait"
|
|
||||||
];
|
|
||||||
|
|
||||||
fileSystems."/" =
|
fileSystems."/" =
|
||||||
{ device = "/dev/disk/by-uuid/ea31d0ea-2949-420a-99ea-7f77c4b7091e";
|
{ device = "/dev/disk/by-uuid/7101364b-9056-4309-afeb-3c17b220684f";
|
||||||
fsType = "ext4";
|
fsType = "ext4";
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/boot" =
|
fileSystems."/boot" =
|
||||||
{ device = "/dev/disk/by-uuid/169B-94E2";
|
{ device = "/dev/disk/by-uuid/FDCE-A287";
|
||||||
fsType = "vfat";
|
fsType = "vfat";
|
||||||
options = [ "fmask=0077" "dmask=0077" ];
|
options = [ "fmask=0077" "dmask=0077" ];
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user