diff --git a/flake.nix b/flake.nix index 99e65ac..c842415 100644 --- a/flake.nix +++ b/flake.nix @@ -113,7 +113,8 @@ ./hosts/Aphelion/filesystems.nix ./hosts/Aphelion/media.nix ./hosts/Aphelion/misc.nix - + ./hosts/Aphelion/networking.nix + ./home/yaroslav/steam.nix lanzaboote.nixosModules.lanzaboote diff --git a/hosts/Aphelion/hardware.nix b/hosts/Aphelion/hardware.nix index 0e9674a..86b9b8f 100644 --- a/hosts/Aphelion/hardware.nix +++ b/hosts/Aphelion/hardware.nix @@ -20,6 +20,21 @@ "L+ /opt/rocm/hip - - - - ${pkgs.rocmPackages.clr}" ]; + services.smartd = { + enable = true; + devices = [ + { + device = "/dev/disk/by-id/ata-ST2000DM008-2FR102_WFL4XPNJ"; # FIXME: Change this to your actual disk + } + { + device = "/dev/disk/by-id/ata-ST2000DM008-2UB102_WFL64DH2"; + } + { + device = "/dev/disk/by-id/nvme-Samsung_SSD_970_EVO_Plus_500GB_S4EVNM0NC08795J"; + } + ]; + }; + # 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