nix-infra/config/hosts/torrent/configuration.nix

30 lines
510 B
Nix
Raw Normal View History

{ ... }:
{
boot.loader.grub = {
enable = true;
device = "/dev/vda";
};
networking = {
hostName = "torrent";
};
fileSystems = {
"/mnt/media" = {
device = "//10.202.100.5/media";
fsType = "cifs";
options = [
"username=torrent"
"credentials=/secrets/torrent-samba-credentials.secret"
"iocharset=utf8"
"vers=3.1.1"
"uid=torrent"
"gid=torrent"
"_netdev"
];
};
};
system.stateVersion = "23.11";
}