From e6cc44d62b747d20e34503d85ef753e4259d3cf0 Mon Sep 17 00:00:00 2001 From: Filippo Berto Date: Fri, 17 Mar 2023 19:25:51 +0100 Subject: [PATCH] Loki: disable raid --- loki/configuration.nix | 56 ++++++++++++++++----------------- loki/hardware-configuration.nix | 30 +++++++++--------- 2 files changed, 43 insertions(+), 43 deletions(-) diff --git a/loki/configuration.nix b/loki/configuration.nix index 8bca4a4..1281b1c 100644 --- a/loki/configuration.nix +++ b/loki/configuration.nix @@ -94,13 +94,13 @@ with lib; { gnome.gnome-keyring.enable = true; gvfs.enable = true; jackett = { - enable = true; + # enable = true; # package = pkgs.unstable.jackett; openFirewall = true; group = "users"; }; jellyfin = { - enable = true; + # enable = true; # package = pkgs.unstable.jellyfin; openFirewall = true; group = "users"; @@ -114,7 +114,7 @@ with lib; { # plex = { enable = true; openFirewall = true; group = "users"; }; power-profiles-daemon.enable = true; radarr = { - enable = true; + # enable = true; openFirewall = true; group = "users"; }; @@ -123,7 +123,7 @@ with lib; { discovery = true; }; samba = { - enable = true; + # enable = true; enableNmbd = true; enableWinbindd = true; nsswins = true; @@ -171,13 +171,13 @@ with lib; { }; smartd.enable = true; sonarr = { - enable = true; + # enable = true; openFirewall = true; group = "users"; }; thermald.enable = true; transmission = { - enable = true; + # enable = true; openFirewall = true; group = "users"; settings = { @@ -249,27 +249,27 @@ with lib; { ''; in { - bertof = { - subvolume = "/home/bertof/"; - extraConfig = '' - ALLOW_USERS="bertof" - ${commonExtraConfig} - ''; - }; - tiziano = { - subvolume = "/home/tiziano/"; - extraConfig = '' - ALLOW_USERS="tiziano" - ${commonExtraConfig} - ''; - }; - condiviso = { - subvolume = "/mnt/condiviso"; - extraConfig = '' - ALLOW_USERS="bertof tiziano" - ${commonExtraConfig} - ''; - }; + # bertof = { + # subvolume = "/home/bertof/"; + # extraConfig = '' + # ALLOW_USERS="bertof" + # ${commonExtraConfig} + # ''; + # }; + # tiziano = { + # subvolume = "/home/tiziano/"; + # extraConfig = '' + # ALLOW_USERS="tiziano" + # ${commonExtraConfig} + # ''; + # }; + # condiviso = { + # subvolume = "/mnt/condiviso"; + # extraConfig = '' + # ALLOW_USERS="bertof tiziano" + # ${commonExtraConfig} + # ''; + # }; }; }; @@ -312,7 +312,7 @@ with lib; { }; services.home-assistant = { - enable = true; + # enable = true; # openFirewall = true; config = { default_config = { }; diff --git a/loki/hardware-configuration.nix b/loki/hardware-configuration.nix index 34547d8..2425796 100644 --- a/loki/hardware-configuration.nix +++ b/loki/hardware-configuration.nix @@ -22,23 +22,23 @@ fsType = "vfat"; }; - fileSystems."/home/bertof" = { - device = "/dev/disk/by-partlabel/5T"; - fsType = "btrfs"; - options = [ "subvol=@bertof" "compress=lzo" ]; - }; + # fileSystems."/home/bertof" = { + # device = "/dev/disk/by-partlabel/5T"; + # fsType = "btrfs"; + # options = [ "subvol=@bertof" "compress=lzo" ]; + # }; - fileSystems."/home/tiziano" = { - device = "/dev/disk/by-partlabel/5T"; - fsType = "btrfs"; - options = [ "subvol=@tiziano" "compress=lzo" ]; - }; + # fileSystems."/home/tiziano" = { + # device = "/dev/disk/by-partlabel/5T"; + # fsType = "btrfs"; + # options = [ "subvol=@tiziano" "compress=lzo" ]; + # }; - fileSystems."/mnt/condiviso" = { - device = "/dev/disk/by-partlabel/5T"; - fsType = "btrfs"; - options = [ "subvol=@condiviso" "compress=lzo" ]; - }; + # fileSystems."/mnt/condiviso" = { + # device = "/dev/disk/by-partlabel/5T"; + # fsType = "btrfs"; + # options = [ "subvol=@condiviso" "compress=lzo" ]; + # }; swapDevices = [{ device = "/swapfile";