Complete system rework feat. Niri, Noctalia, Helix, Vicinae, Zellij, & Kanshi
This commit is contained in:
21
hosts/hosts.nix
Normal file
21
hosts/hosts.nix
Normal file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
{
|
||||
options.host = {
|
||||
name = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
description = "Logical host name";
|
||||
};
|
||||
|
||||
# Host public SSH key (e.g. /etc/ssh/ssh_host_ed25519_key.pub).
|
||||
# We only set the hostPubkey if one is supplied. For new hosts the pub key will not
|
||||
# exist until it is generated after the first rebuild.
|
||||
pubKey = lib.mkOption {
|
||||
type = lib.types.nullOr lib.types.str;
|
||||
default = null;
|
||||
description = "The public key of the host. Will be null until generated on first rebuild";
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -7,5 +7,11 @@
|
||||
inputs.nixos-hardware.nixosModules.framework-12th-gen-intel
|
||||
./hardware-configuration.nix
|
||||
../../profiles/intel.nix
|
||||
../hosts.nix
|
||||
];
|
||||
|
||||
host = {
|
||||
name = "vanta";
|
||||
pubKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAaDVBJdMDFL8r9NQCbaLe+DPHGhGzRv2N7+7m1/U8DP";
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user