auto-discovered host config

This commit is contained in:
Semere Meharena Mebrahtom 2026-07-18 21:46:00 +02:00
parent edbbc0dbc2
commit 3e14a0acb8
Signed by: semere
GPG key ID: 7FC937214DF30488
4 changed files with 40 additions and 30 deletions

View file

@ -1,19 +0,0 @@
{ config, lib, pkgs, ... }:
{
imports = [
./hardware-configuration.nix
../../modules
];
networking.hostName = "nabro";
# Enable host-specific feature branches (dendrites)
dotfiles = {
core.enable = true;
user.enable = true;
desktop.enable = true;
dev.enable = true;
shell.enable = true;
};
}

19
hosts/nabro/default.nix Normal file
View file

@ -0,0 +1,19 @@
{
system = "x86_64-linux";
configModule = { config, lib, pkgs, ... }: {
imports = [
./hardware-configuration.nix
../../modules
];
networking.hostName = "nabro";
dotfiles = {
core.enable = true;
user.enable = true;
desktop.enable = true;
dev.enable = true;
shell.enable = true;
};
};
}