diff --git a/clusters/fs0/default.nix b/clusters/fs0/default.nix index d1d44c1..cbc2379 100644 --- a/clusters/fs0/default.nix +++ b/clusters/fs0/default.nix @@ -7,7 +7,6 @@ let clusterName = "fs0"; hosts = [ { name = "fs0-0"; address = "10.253.18.106"; } - { name = "fs0-1"; address = "10.1.2.83"; } ]; clusterHosts = '' 10.253.18.106 fs0-0 fs0-0.itpartner.no fs0-0.itpartner.intern @@ -58,7 +57,7 @@ let }; services.glusterfs = { - enable = true; + enable = false; tlsSettings = { caCert = base.pki.ca.cert; tlsKeyPath = cert.key; @@ -67,8 +66,8 @@ let }; services.nfs.server = { - enable=true; - exports= '' + enable = true; + exports = '' /vol/brick0/nfs0 10.253.18.0/24(insecure,rw,sync,no_subtree_check,crossmnt,fsid=0,no_root_squash) ''; }; @@ -78,5 +77,4 @@ let in base.baseDeployment { fs0-0 = fsConfig "fs0-0" {}; - fs0-1 = fsConfig "fs0-1" {}; } diff --git a/clusters/fs0/fs0-1.nix b/clusters/fs0/fs0-1.nix deleted file mode 100644 index 5637542..0000000 --- a/clusters/fs0/fs0-1.nix +++ /dev/null @@ -1,30 +0,0 @@ -# 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, ... }: - -{ - imports = [ ]; - - boot.initrd.availableKernelModules = [ "ata_piix" "mptspi" "floppy" "sd_mod" "sr_mod" ]; - boot.kernelModules = [ ]; - boot.extraModulePackages = [ ]; - - fileSystems."/" = - { device = "/dev/disk/by-uuid/06d94528-b248-490a-81ee-e83668c68afc"; - fsType = "ext4"; - }; - # fileSystems."/var/log" = - # { device = "/dev/disk/by-uuid/c130b88c-0699-4836-b967-47bdee0a5453"; - # fsType = "ext4"; - # }; - fileSystems."/vol/brick0" = - { device = "/dev/gfs_vg/brick0"; - fsType = "ext4"; - }; - - swapDevices = [ ]; - - nix.maxJobs = lib.mkDefault 1; -} -