From e8fda52758209438e5b737d25239ed6da3a19019 Mon Sep 17 00:00:00 2001 From: Tim Van Baak Date: Sat, 31 Aug 2024 14:46:14 +0000 Subject: [PATCH] catacomb: Remove more NAS components --- machine/catacomb/default.nix | 19 ------------------- machine/catacomb/hardware-configuration.nix | 8 -------- 2 files changed, 27 deletions(-) diff --git a/machine/catacomb/default.nix b/machine/catacomb/default.nix index 0e0bdfe..820e66b 100644 --- a/machine/catacomb/default.nix +++ b/machine/catacomb/default.nix @@ -15,8 +15,6 @@ # Enables the generation of /boot/extlinux/extlinux.conf generic-extlinux-compatible.enable = true; }; - supportedFilesystems = ["zfs"]; - kernelParams = [ "zfs.zfs_dmu_offset_next_sync=0" ]; }; system.stateVersion = "22.11"; # Read the usual warning @@ -43,29 +41,12 @@ }; }; - services.cron = { - enable = true; - }; - services.openssh.settings.PasswordAuthentication = true; services.rsyncd.enable = true; - services.zfs = { - autoScrub = { - enable = true; - pools = ["catapool"]; - interval = "monthly"; - }; - }; - - users.groups = { - nas = { gid = 1600; }; - }; - users.users.tvb = { uid = 1001; - extraGroups = [ "nas" ]; packages = [ (pkgs.writeShellScriptBin "yt-dlp" '' exec $HOME/.env/bin/yt-dlp "$@" diff --git a/machine/catacomb/hardware-configuration.nix b/machine/catacomb/hardware-configuration.nix index e128b6e..af95981 100644 --- a/machine/catacomb/hardware-configuration.nix +++ b/machine/catacomb/hardware-configuration.nix @@ -18,14 +18,6 @@ fsType = "ext4"; }; - fileSystems."/mnt" = - { device = "catapool/test"; - fsType = "zfs"; - options = [ "nofail" ]; - }; - - swapDevices = [ ]; - # Enables DHCP on each ethernet and wireless interface. In case of scripted networking # (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