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;
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 = { };

View file

@ -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";