feat: add krembo, the server, NO HARDWARE FILE YET

This commit is contained in:
Teesh 2026-02-01 20:59:43 +02:00
parent 41a019ff5a
commit 7479c6b99f
6 changed files with 49 additions and 0 deletions

View file

@ -0,0 +1,7 @@
{ config, ... }:
{
flake.modules.nixos.krembo = {
home-manager.users.${config.flake.meta.user.name}.imports = [ config.flake.modules.homeManager.krembo ];
};
}

View file

@ -0,0 +1,7 @@
{ ... }:
{
flake.modules.nixos.krembo = {
networking.hostName = "krembo";
};
}

View file

@ -0,0 +1,9 @@
{ inputs, config, ... }:
{
flake.nixosConfigurations.krembo = inputs.nixpkgs.lib.nixosSystem {
modules = with config.flake.modules; [
nixos.krembo
];
};
}

12
modules/hosts/krembo.nix Normal file
View file

@ -0,0 +1,12 @@
{ config, ... }:
{
flake.modules.nixos.krembo.imports = with config.flake.modules.nixos; [
base
server
];
flake.modules.homeManager.krembo.imports = with config.flake.modules.homeManager; [
base
];
}

7
modules/server/soju.nix Normal file
View file

@ -0,0 +1,7 @@
{ ... }:
{
flake.modules.nixos.server = {
services.soju.enable = true;
};
}

7
modules/server/ssh.nix Normal file
View file

@ -0,0 +1,7 @@
{ ... }:
{
flake.modules.nixos.server = {
services.openssh.enable = true;
};
}