bikkje: mount home directories

This commit is contained in:
Felix Albrigtsen
2023-12-03 04:18:09 +01:00
parent 5e30f30ac2
commit c683a6d4c2
2 changed files with 29 additions and 4 deletions

View File

@@ -2,9 +2,13 @@
{
containers.bikkje = {
autoStart = true;
interfaces = [ "enp14s0f1" ];
interfaces = [ "enp4s0f0" ];
config = { config, pkgs, ... }: {
imports = [
../../modules/home-areas.nix
];
environment.systemPackages = with pkgs; [
zsh
bash
@@ -87,8 +91,10 @@
useHostResolvConf = lib.mkForce false;
hostName = "bikkje";
};
systemd.network.networks."30-enp14s0f1" = values.defaultNetworkConfig // {
matchConfig.Name = "enp14s0f1";
systemd.network.enable = true;
systemd.network.networks."30-enp4s0f0" = values.defaultNetworkConfig // {
matchConfig.Name = "enp4s0f0";
address = with values.hosts.bikkje; [ (ipv4 + "/25") (ipv6 + "/64") ];
};
@@ -99,6 +105,5 @@
# TODO
# - Kerberos Authentication
# - Home directory mounts
# - Mail Transfer Agent
}