aphelion net fix

This commit is contained in:
yaroslav
2026-05-15 23:59:36 +03:00
parent 79483c0b9b
commit d60cfc1385
2 changed files with 17 additions and 1 deletions
+2 -1
View File
@@ -113,7 +113,8 @@
./hosts/Aphelion/filesystems.nix ./hosts/Aphelion/filesystems.nix
./hosts/Aphelion/media.nix ./hosts/Aphelion/media.nix
./hosts/Aphelion/misc.nix ./hosts/Aphelion/misc.nix
./hosts/Aphelion/networking.nix
./home/yaroslav/steam.nix ./home/yaroslav/steam.nix
lanzaboote.nixosModules.lanzaboote lanzaboote.nixosModules.lanzaboote
+15
View File
@@ -20,6 +20,21 @@
"L+ /opt/rocm/hip - - - - ${pkgs.rocmPackages.clr}" "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 # 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 # (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 # still possible to use this option, but it's recommended to use it in conjunction