nixfiles/hosts/bet/default.nix
Sebastian Walz 860d31cee1
Tohu vaBohu
2023-04-21 00:22:52 +02:00

48 lines
1.5 KiB
Nix
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{ peers, profiles, users, ... }:
Host "bet (from hebrew בית: house) is usually installed on localhost."
{
devices
= {
"/" = XFS "system" { uuid = "6ec7d726-6ef6-4e86-b382-2b4b6933f3e9"; };
"/boot" = VFAT "boot" { uuid = "C7DE-E0D7"; };
"swap" = Swap { uuid = "d7553993-772b-4979-abae-9127c65bdb05"; };
};
network
= {
interfaces
= {
enp0s25.useDHCP = true;
wlp3s0.useDHCP = true;
# wwp0s20u4i6.useDHCP = true;
};
peers
= with peers;
[
chaos
deutsche-bahn
eduroam
fluepke
mum
sivizius
tuc
];
tcp.ports
= {
http = 8080;
};
wireless
= {
enable = true;
interfaces = [ "wlp3s0" ];
userControlled.enable = true;
};
};
profile = profiles.desktop;
system = "x86_64-linux";
users
= {
sivizius = users.sivizius // { trusted = true; };
};
version = "23.05";
}