nix/host/home/Configuration.nix

44 lines
812 B
Nix
Raw Normal View History

{ config, pkgs, lib, ... }: {
imports = [
./Backup.nix
./GnomeRdp.nix
./Nextcloud.nix
./PhotosProcess.nix
./YandexMusic.nix
];
# Network.
networking.networkmanager.insertNameservers = [
"1.1.1.1"
"8.8.8.8"
];
networking.extraHosts = ''
10.1.0.2 git.voronind.com
10.1.0.2 iot.voronind.com
10.1.0.2 pass.voronind.com
2024-03-09 17:35:26 +03:00
10.1.0.2 nixcache.voronind.com
'';
2024-03-04 12:37:20 +03:00
# Extra binaries.
environment.etc.bin.source = ./bin;
# Filesystems.
fileSystems."/storage/cold_1" = {
device = "/dev/storage/cold_1";
fsType = "ext4";
2024-03-04 04:19:39 +03:00
options = [ "nofail" ];
};
fileSystems."/storage/cold_2" = {
device = "/dev/storage/cold_2";
fsType = "ext4";
2024-03-04 04:19:39 +03:00
options = [ "nofail" ];
};
fileSystems."/storage/hot" = {
device = "/dev/storage/hot";
fsType = "ext4";
2024-03-04 04:19:39 +03:00
options = [ "nofail" ];
};
}