Initial commit
This commit is contained in:
29
modules/hosts.nix
Normal file
29
modules/hosts.nix
Normal file
@@ -0,0 +1,29 @@
|
||||
{ den, ... }:
|
||||
{
|
||||
den.hosts.x86_64-linux = {
|
||||
polaris.users.kiri = {
|
||||
syncthingId = "6HBAKXB-DB3B4H2-BODCAXF-KD23H5W-6X5LGLC-ZJHZHLG-7U7YMGO-BB6IXQ3";
|
||||
};
|
||||
orion.users.kiri = {
|
||||
syncthingId = "NNRNQKZ-OWPHSVA-B6KKBHE-SDYLSTV-7SVHGPR-NEWLKPL-4MWNJG4-G5FHUAI";
|
||||
};
|
||||
altair.users.kiri = {
|
||||
syncthingId = "";
|
||||
};
|
||||
};
|
||||
|
||||
# Set hostname for each host
|
||||
den.default.includes =
|
||||
let
|
||||
setHostname =
|
||||
{ host, ... }:
|
||||
{
|
||||
nixos = {
|
||||
networking.hostName = host.hostName;
|
||||
};
|
||||
};
|
||||
in
|
||||
[
|
||||
setHostname
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user