From dd2e0ad7cf920321ad187eca2c5c3866df4ca10e Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Thu, 25 Jan 2024 21:28:48 +0300 Subject: [PATCH] Home : Add drives. --- .config/linux/system/home/Configuration.nix | 25 ++++++++++++++++----- 1 file changed, 20 insertions(+), 5 deletions(-) diff --git a/.config/linux/system/home/Configuration.nix b/.config/linux/system/home/Configuration.nix index 17e5b8d..30cf5f7 100644 --- a/.config/linux/system/home/Configuration.nix +++ b/.config/linux/system/home/Configuration.nix @@ -16,13 +16,28 @@ # Network. networking.hostName = "home"; + networking.extraHosts = '' + 10.1.0.2 git.voronind.com + ''; # Filesystems. - # fileSystems."/storage/cold_1" = { - # device = "/dev/storage/cold_1"; - # fsType = "ext4"; - # options = [ "noauto" "nofail" ]; - # }; + fileSystems."/storage/cold_1" = { + device = "/dev/storage/cold_1"; + fsType = "ext4"; + options = [ "noauto" "nofail" ]; + }; + + fileSystems."/storage/cold_2" = { + device = "/dev/storage/cold_2"; + fsType = "ext4"; + options = [ "noauto" "nofail" ]; + }; + + fileSystems."/storage/hot" = { + device = "/dev/storage/hot"; + fsType = "ext4"; + options = [ "nofail" ]; + }; # Do not touch ever. system.stateVersion = "23.11";