mirror of
https://github.com/oddlama/nix-config.git
synced 2025-10-11 07:10:39 +02:00
feat: add new machine "sentinel", a Hetzner Cloud server
This commit is contained in:
parent
d18e86f981
commit
97cb4e0ac5
11 changed files with 173 additions and 6 deletions
23
hosts/sentinel/default.nix
Normal file
23
hosts/sentinel/default.nix
Normal file
|
@ -0,0 +1,23 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
../common/core
|
||||
../common/initrd-ssh.nix
|
||||
../common/zfs.nix
|
||||
|
||||
./fs.nix
|
||||
./net.nix
|
||||
./nginx.nix
|
||||
];
|
||||
|
||||
boot.loader.timeout = lib.mkDefault 2;
|
||||
boot.loader.grub = {
|
||||
enable = true;
|
||||
efiSupport = false;
|
||||
devices = ["/dev/disk/by-id/${config.repo.secrets.local.disk.main}"];
|
||||
};
|
||||
console.earlySetup = true;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue