Loki: disable raid

This commit is contained in:
Filippo Berto 2023-03-17 19:25:51 +01:00
parent 838748a46b
commit e6cc44d62b
Signed by: bertof
GPG key ID: 9DBF7E6A1D2CE9ED
2 changed files with 43 additions and 43 deletions

View file

@ -94,13 +94,13 @@ with lib; {
gnome.gnome-keyring.enable = true; gnome.gnome-keyring.enable = true;
gvfs.enable = true; gvfs.enable = true;
jackett = { jackett = {
enable = true; # enable = true;
# package = pkgs.unstable.jackett; # package = pkgs.unstable.jackett;
openFirewall = true; openFirewall = true;
group = "users"; group = "users";
}; };
jellyfin = { jellyfin = {
enable = true; # enable = true;
# package = pkgs.unstable.jellyfin; # package = pkgs.unstable.jellyfin;
openFirewall = true; openFirewall = true;
group = "users"; group = "users";
@ -114,7 +114,7 @@ with lib; {
# plex = { enable = true; openFirewall = true; group = "users"; }; # plex = { enable = true; openFirewall = true; group = "users"; };
power-profiles-daemon.enable = true; power-profiles-daemon.enable = true;
radarr = { radarr = {
enable = true; # enable = true;
openFirewall = true; openFirewall = true;
group = "users"; group = "users";
}; };
@ -123,7 +123,7 @@ with lib; {
discovery = true; discovery = true;
}; };
samba = { samba = {
enable = true; # enable = true;
enableNmbd = true; enableNmbd = true;
enableWinbindd = true; enableWinbindd = true;
nsswins = true; nsswins = true;
@ -171,13 +171,13 @@ with lib; {
}; };
smartd.enable = true; smartd.enable = true;
sonarr = { sonarr = {
enable = true; # enable = true;
openFirewall = true; openFirewall = true;
group = "users"; group = "users";
}; };
thermald.enable = true; thermald.enable = true;
transmission = { transmission = {
enable = true; # enable = true;
openFirewall = true; openFirewall = true;
group = "users"; group = "users";
settings = { settings = {
@ -249,27 +249,27 @@ with lib; {
''; '';
in in
{ {
bertof = { # bertof = {
subvolume = "/home/bertof/"; # subvolume = "/home/bertof/";
extraConfig = '' # extraConfig = ''
ALLOW_USERS="bertof" # ALLOW_USERS="bertof"
${commonExtraConfig} # ${commonExtraConfig}
''; # '';
}; # };
tiziano = { # tiziano = {
subvolume = "/home/tiziano/"; # subvolume = "/home/tiziano/";
extraConfig = '' # extraConfig = ''
ALLOW_USERS="tiziano" # ALLOW_USERS="tiziano"
${commonExtraConfig} # ${commonExtraConfig}
''; # '';
}; # };
condiviso = { # condiviso = {
subvolume = "/mnt/condiviso"; # subvolume = "/mnt/condiviso";
extraConfig = '' # extraConfig = ''
ALLOW_USERS="bertof tiziano" # ALLOW_USERS="bertof tiziano"
${commonExtraConfig} # ${commonExtraConfig}
''; # '';
}; # };
}; };
}; };
@ -312,7 +312,7 @@ with lib; {
}; };
services.home-assistant = { services.home-assistant = {
enable = true; # enable = true;
# openFirewall = true; # openFirewall = true;
config = { config = {
default_config = { }; default_config = { };

View file

@ -22,23 +22,23 @@
fsType = "vfat"; fsType = "vfat";
}; };
fileSystems."/home/bertof" = { # fileSystems."/home/bertof" = {
device = "/dev/disk/by-partlabel/5T"; # device = "/dev/disk/by-partlabel/5T";
fsType = "btrfs"; # fsType = "btrfs";
options = [ "subvol=@bertof" "compress=lzo" ]; # options = [ "subvol=@bertof" "compress=lzo" ];
}; # };
fileSystems."/home/tiziano" = { # fileSystems."/home/tiziano" = {
device = "/dev/disk/by-partlabel/5T"; # device = "/dev/disk/by-partlabel/5T";
fsType = "btrfs"; # fsType = "btrfs";
options = [ "subvol=@tiziano" "compress=lzo" ]; # options = [ "subvol=@tiziano" "compress=lzo" ];
}; # };
fileSystems."/mnt/condiviso" = { # fileSystems."/mnt/condiviso" = {
device = "/dev/disk/by-partlabel/5T"; # device = "/dev/disk/by-partlabel/5T";
fsType = "btrfs"; # fsType = "btrfs";
options = [ "subvol=@condiviso" "compress=lzo" ]; # options = [ "subvol=@condiviso" "compress=lzo" ];
}; # };
swapDevices = [{ swapDevices = [{
device = "/swapfile"; device = "/swapfile";