Add ornithologist LXC
This commit is contained in:
parent
ecbddad7a7
commit
b23046ea5d
4 changed files with 15 additions and 3 deletions
|
@ -103,5 +103,10 @@
|
||||||
(mkHost "nextcloud" {
|
(mkHost "nextcloud" {
|
||||||
suite = "server/lxc";
|
suite = "server/lxc";
|
||||||
})
|
})
|
||||||
|
|
||||||
|
# Container for managing server flock.
|
||||||
|
(mkHost "ornithologist" {
|
||||||
|
suite = "server/lxc";
|
||||||
|
})
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -39,6 +39,9 @@ with lib; {
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Allow emulating aarch64 to build for Raspberry Pi.
|
||||||
|
boot.binfmt.emulatedSystems = ["aarch64-linux"];
|
||||||
|
|
||||||
# Share Music dir.
|
# Share Music dir.
|
||||||
services.samba = {
|
services.samba = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
7
hosts/ornithologist/default.nix
Normal file
7
hosts/ornithologist/default.nix
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
{pkgs, ...}: {
|
||||||
|
# Allow emulating aarch64 to build for Raspberry Pi.
|
||||||
|
boot.binfmt.emulatedSystems = ["aarch64-linux"];
|
||||||
|
|
||||||
|
# Install some packages.
|
||||||
|
environment.systemPackages = with pkgs; [deploy-rs];
|
||||||
|
}
|
|
@ -26,9 +26,6 @@ with lib; {
|
||||||
"udev.log_priority=3"
|
"udev.log_priority=3"
|
||||||
"rd.systemd.show_status=auto"
|
"rd.systemd.show_status=auto"
|
||||||
];
|
];
|
||||||
|
|
||||||
# Allow emulating aarch64 to build for Raspberry Pi.
|
|
||||||
binfmt.emulatedSystems = ["aarch64-linux"];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
# Enable smart card support (for YubiKey).
|
# Enable smart card support (for YubiKey).
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue