move all host-specific configuration to hosts directory
This commit is contained in:
parent
7189fae109
commit
f4da07c4e6
4 changed files with 16 additions and 31 deletions
25
hosts/orm/default.nix
Normal file
25
hosts/orm/default.nix
Normal file
|
@ -0,0 +1,25 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
];
|
||||
|
||||
networking.hostId = "00000000";
|
||||
deployment.targetHost = "orm.birdsong.network";
|
||||
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
||||
users.users.qenya.extraGroups = [ "wheel" ];
|
||||
qenya.base-server.enable = true;
|
||||
|
||||
age.secrets.wireguard-peer-orm.file = ../../secrets/wireguard-peer-orm.age;
|
||||
|
||||
birdsong.peering = {
|
||||
enable = true;
|
||||
privateKeyFile = config.age.secrets.wireguard-peer-orm.path;
|
||||
};
|
||||
|
||||
system.stateVersion = "23.11";
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue