193 lines
4.9 KiB
Nix
193 lines
4.9 KiB
Nix
![]() |
{ config, pkgs, ... }:
|
||
|
|
||
|
{
|
||
|
config.time.timeZone = "America/Los_Angeles";
|
||
|
|
||
|
config.services.cron = {
|
||
|
mailto = "niten@fudo.org";
|
||
|
};
|
||
|
|
||
|
services.printing.enable = true;
|
||
|
|
||
|
config.networking = {
|
||
|
domain = "sea.fudo.org";
|
||
|
search = ["sea.fudo.org" "fudo.org"];
|
||
|
firewall.enable = false;
|
||
|
networkmanager.enable = pkgs.lib.mkForce false;
|
||
|
|
||
|
# Until Comcast gets it's shit together... :(
|
||
|
enableIPv6 = false;
|
||
|
};
|
||
|
|
||
|
config.fileSystems."/mnt/documents" = {
|
||
|
device = "whitedwarf.sea.fudo.org:/volume1/Documents";
|
||
|
fsType = "nfs4";
|
||
|
};
|
||
|
config.fileSystems."/mnt/downloads" = {
|
||
|
device = "whitedwarf.sea.fudo.org:/volume1/Downloads";
|
||
|
fsType = "nfs4";
|
||
|
};
|
||
|
config.fileSystems."/mnt/music" = {
|
||
|
device = "doraemon.sea.fudo.org:/volume1/Music";
|
||
|
fsType = "nfs4";
|
||
|
};
|
||
|
config.fileSystems."/mnt/video" = {
|
||
|
device = "doraemon.sea.fudo.org:/volume1/Video";
|
||
|
fsType = "nfs4";
|
||
|
};
|
||
|
# fileSystems."/mnt/security" = {
|
||
|
# device = "panopticon.sea.fudo.org:/srv/kerberos/data";
|
||
|
# fsType = "nfs4";
|
||
|
# };
|
||
|
config.fileSystems."/mnt/cargo_video" = {
|
||
|
device = "cargo.sea.fudo.org:/volume1/video";
|
||
|
fsType = "nfs4";
|
||
|
};
|
||
|
config.fileSystems."/mnt/photo" = {
|
||
|
device = "cargo.sea.fudo.org:/volume1/pictures";
|
||
|
fsType = "nfs4";
|
||
|
};
|
||
|
|
||
|
config.users.extraUsers = {
|
||
|
guest = {
|
||
|
isNormalUser = true;
|
||
|
uid = 1000;
|
||
|
description = "Guest User";
|
||
|
extraGroups = ["audio" "video" "disk" "floppy" "lp" "cdrom" "tape" "input"];
|
||
|
};
|
||
|
ken = {
|
||
|
isNormalUser = true;
|
||
|
uid = 10035;
|
||
|
createHome = true;
|
||
|
description = "Ken Selby";
|
||
|
extraGroups = ["audio" "video" "disk" "floppy" "lp" "cdrom" "tape" "input"];
|
||
|
group = "users";
|
||
|
home = "/home/selby/ken";
|
||
|
hashedPassword = "$6$EwK9fpbH8$gYVzYY1IYw2/G0wCeUxXrZZqvjWCkCZbBqCOhxowbMuYtC5G0vp.AoYhVKWOJcHJM2c7TdPmAdnhLIe2KYStf.";
|
||
|
};
|
||
|
xiaoxuan = {
|
||
|
isNormalUser = true;
|
||
|
uid = 10065;
|
||
|
createHome = true;
|
||
|
description = "Xiaoxuan Jin";
|
||
|
extraGroups = ["audio" "video" "disk" "floppy" "lp" "cdrom" "tape" "input"];
|
||
|
group = "users";
|
||
|
home = "/home/xiaoxuan";
|
||
|
hashedPassword = "$6$C8lYHrK7KvdKm/RE$cHZ2hg5gEOEjTV8Zoayik8sz5h.Vh0.ClCgOlQn8l/2Qx/qdxqZ7xCsAZ1GZ.IEyESfhJeJbjLpykXDwPpfVF0";
|
||
|
};
|
||
|
};
|
||
|
|
||
|
config.fudo.localNetwork = {
|
||
|
masterNameServer = {
|
||
|
ip = "10.0.0.1";
|
||
|
ipReverseDomain = "0.10.in-addr.arpa";
|
||
|
};
|
||
|
|
||
|
domain = "sea.fudo.org";
|
||
|
|
||
|
hostAliases = {
|
||
|
kadmin = "slab";
|
||
|
kdc = "slab";
|
||
|
photo = "doraemon";
|
||
|
music = "doraemon";
|
||
|
panopticon = "hyperion";
|
||
|
hole = "dnshole";
|
||
|
ipfs = "nostromo";
|
||
|
};
|
||
|
|
||
|
hosts = {
|
||
|
slab = {
|
||
|
ipv4Address = "10.0.0.1";
|
||
|
};
|
||
|
volsung = {
|
||
|
ipv4Address = "10.0.0.106";
|
||
|
macAddress = "ac:bc:32:7b:75:a5";
|
||
|
};
|
||
|
nest = {
|
||
|
ipv4Address = "10.0.0.176";
|
||
|
macAddress = "18:b4:30:16:7c:5a";
|
||
|
};
|
||
|
monolith = {
|
||
|
ipv4Address = "10.0.0.100";
|
||
|
macAddress = "6c:62:6d:c8:b0:d8";
|
||
|
};
|
||
|
brother-wireless = {
|
||
|
ipv4Address = "10.0.0.160";
|
||
|
macAddress = "c0:38:96:64:49:65";
|
||
|
};
|
||
|
doraemon = {
|
||
|
ipv4Address = "10.0.0.52";
|
||
|
macAddress = "00:11:32:0a:06:c5";
|
||
|
};
|
||
|
lm = {
|
||
|
ipv4Address = "10.0.0.21";
|
||
|
macAddress = "52:54:00:D8:34:92";
|
||
|
};
|
||
|
ubiquiti-wifi = {
|
||
|
ipv4Address = "10.0.0.126";
|
||
|
macAddress = "04:18:d6:20:48:fb";
|
||
|
};
|
||
|
front-light = {
|
||
|
ipv4Address = "10.0.0.221";
|
||
|
macAddress = "94:10:3e:48:94:ed";
|
||
|
};
|
||
|
ipad = {
|
||
|
ipv4Address = "10.0.0.202";
|
||
|
macAddress = "9c:35:eb:48:6e:71";
|
||
|
};
|
||
|
chromecast-2 = {
|
||
|
ipv4Address = "10.0.0.215";
|
||
|
macAddress = "a4:77:33:59:a2:ba";
|
||
|
};
|
||
|
taipan = {
|
||
|
ipv4Address = "10.0.0.107";
|
||
|
macAddress = "52:54:00:34:c4:78";
|
||
|
};
|
||
|
dns-hole = {
|
||
|
ipv4Address = "10.0.0.185";
|
||
|
macAddress = "b8:27:eb:b2:95:fd";
|
||
|
};
|
||
|
family-tv = {
|
||
|
ipv4Address = "10.0.0.205";
|
||
|
macAddress = "84:a4:66:3a:b1:f8";
|
||
|
};
|
||
|
spark = {
|
||
|
ipv4Address = "10.0.0.108";
|
||
|
macAddress = "78:24:af:04:f7:dd";
|
||
|
};
|
||
|
babycam = {
|
||
|
ipv4Address = "10.0.0.206";
|
||
|
macAddress = "08:ea:40:59:5f:9e";
|
||
|
};
|
||
|
hyperion = {
|
||
|
ipv4Address = "10.0.0.109";
|
||
|
macAddress = "52:54:00:33:46:de";
|
||
|
};
|
||
|
cargo = {
|
||
|
ipv4Address = "10.0.0.50";
|
||
|
macAddress = "00:11:32:75:d8:b7";
|
||
|
};
|
||
|
cam-entrance = {
|
||
|
ipv4Address = "10.0.0.31";
|
||
|
macAddress = "9c:8e:cd:0e:99:7b";
|
||
|
};
|
||
|
cam-driveway = {
|
||
|
ipv4Address = "10.0.0.32";
|
||
|
macAddress = "9c:8e:cd:0d:3b:09";
|
||
|
};
|
||
|
cam-deck = {
|
||
|
ipv4Address = "10.0.0.33";
|
||
|
macAddress = "9c:8e:cd:0e:98:c8";
|
||
|
};
|
||
|
nostromo = {
|
||
|
ipv4Address = "10.0.0.2";
|
||
|
macAddress = "14:fe:b5:ca:a2:c9";
|
||
|
};
|
||
|
zbox = {
|
||
|
ipv4Address = "10.0.0.110";
|
||
|
macAddress = "18:60:24:91:CC:27";
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
}
|