Update loki configuration
This commit is contained in:
parent
091fc65b2f
commit
55c1ffee33
9 changed files with 131 additions and 177 deletions
|
|
@ -1,10 +1,9 @@
|
|||
# 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, modulesPath, ... }:
|
||||
|
||||
{
|
||||
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
|
||||
imports = [
|
||||
(modulesPath + "/installer/scan/not-detected.nix")
|
||||
];
|
||||
|
||||
boot.initrd.availableKernelModules = [
|
||||
"xhci_pci"
|
||||
|
|
@ -29,27 +28,10 @@
|
|||
fsType = "vfat";
|
||||
};
|
||||
|
||||
fileSystems."/mnt/raid1" = {
|
||||
device = "/dev/disk/by-uuid/c84a38dc-9cc7-4762-b509-8fce1c1d95c8";
|
||||
fsType = "btrfs";
|
||||
};
|
||||
|
||||
fileSystems."/var/lib/docker/btrfs" = {
|
||||
device = "/var/lib/docker/btrfs";
|
||||
fsType = "none";
|
||||
options = [ "bind" ];
|
||||
};
|
||||
|
||||
fileSystems."/mnt/raid0/bertof" = {
|
||||
fileSystems."/var/lib/zoneminder/events" = {
|
||||
device = "/dev/disk/by-uuid/7ca4d382-eed7-4b49-b7d8-4b5ca139dd9c";
|
||||
fsType = "btrfs";
|
||||
options = [ "subvol=@bertof" ];
|
||||
};
|
||||
|
||||
fileSystems."/mnt/raid0/tiziano" = {
|
||||
device = "/dev/disk/by-uuid/7ca4d382-eed7-4b49-b7d8-4b5ca139dd9c";
|
||||
fsType = "btrfs";
|
||||
options = [ "subvol=@tiziano" ];
|
||||
options = [ "subvol=@zoneminder" ];
|
||||
};
|
||||
|
||||
fileSystems."/mnt/raid0/condiviso" = {
|
||||
|
|
@ -58,10 +40,58 @@
|
|||
options = [ "subvol=@condiviso" ];
|
||||
};
|
||||
|
||||
fileSystems."/var/lib/zoneminder/events" = {
|
||||
fileSystems."/mnt/raid1/condiviso" = {
|
||||
device = "/dev/disk/by-uuid/c84a38dc-9cc7-4762-b509-8fce1c1d95c8";
|
||||
fsType = "btrfs";
|
||||
options = [ "subvol=@condiviso" ];
|
||||
};
|
||||
|
||||
fileSystems."/home/bertof/raid0" = {
|
||||
device = "/dev/disk/by-uuid/7ca4d382-eed7-4b49-b7d8-4b5ca139dd9c";
|
||||
fsType = "btrfs";
|
||||
options = [ "subvol=@zoneminder" ];
|
||||
options = [ "subvol=@bertof" ];
|
||||
};
|
||||
|
||||
fileSystems."/home/bertof/raid1" = {
|
||||
device = "/dev/disk/by-uuid/c84a38dc-9cc7-4762-b509-8fce1c1d95c8";
|
||||
fsType = "btrfs";
|
||||
options = [ "subvol=@bertof" ];
|
||||
};
|
||||
|
||||
fileSystems."/home/tiziano/raid0" = {
|
||||
device = "/dev/disk/by-uuid/7ca4d382-eed7-4b49-b7d8-4b5ca139dd9c";
|
||||
fsType = "btrfs";
|
||||
options = [ "subvol=@tiziano" ];
|
||||
};
|
||||
|
||||
fileSystems."/home/tiziano/raid1" = {
|
||||
device = "/dev/disk/by-uuid/c84a38dc-9cc7-4762-b509-8fce1c1d95c8";
|
||||
fsType = "btrfs";
|
||||
options = [ "subvol=@tiziano" ];
|
||||
};
|
||||
|
||||
fileSystems."/home/tiziano/Condiviso/raid1" = {
|
||||
device = "/dev/disk/by-uuid/c84a38dc-9cc7-4762-b509-8fce1c1d95c8";
|
||||
fsType = "btrfs";
|
||||
options = [ "subvol=@condiviso" ];
|
||||
};
|
||||
|
||||
fileSystems."/home/tiziano/Condiviso/raid0" = {
|
||||
device = "/dev/disk/by-uuid/7ca4d382-eed7-4b49-b7d8-4b5ca139dd9c";
|
||||
fsType = "btrfs";
|
||||
options = [ "subvol=@condiviso" ];
|
||||
};
|
||||
|
||||
fileSystems."/home/bertof/Condiviso/raid0" = {
|
||||
device = "/dev/disk/by-uuid/7ca4d382-eed7-4b49-b7d8-4b5ca139dd9c";
|
||||
fsType = "btrfs";
|
||||
options = [ "subvol=@condiviso" ];
|
||||
};
|
||||
|
||||
fileSystems."/home/bertof/Condiviso/raid1" = {
|
||||
device = "/dev/disk/by-uuid/c84a38dc-9cc7-4762-b509-8fce1c1d95c8";
|
||||
fsType = "btrfs";
|
||||
options = [ "subvol=@condiviso" ];
|
||||
};
|
||||
|
||||
swapDevices = [ ];
|
||||
|
|
@ -70,12 +100,12 @@
|
|||
# (the default) this is the recommended approach. When using systemd-networkd it's
|
||||
# still possible to use this option, but it's recommended to use it in conjunction
|
||||
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
|
||||
networking.useDHCP = lib.mkDefault false;
|
||||
# networking.useDHCP = lib.mkDefault true;
|
||||
# networking.interfaces.docker0.useDHCP = lib.mkDefault true;
|
||||
networking.interfaces.eno1.useDHCP = lib.mkDefault true;
|
||||
networking.interfaces.wlp7s0.useDHCP = lib.mkDefault true;
|
||||
# networking.interfaces.eno1.useDHCP = lib.mkDefault true;
|
||||
# networking.interfaces.wlp7s0.useDHCP = lib.mkDefault true;
|
||||
# networking.interfaces.ztmjfdwjkp.useDHCP = lib.mkDefault true;
|
||||
|
||||
hardware.cpu.intel.updateMicrocode =
|
||||
lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue