feat: add krembo, the server, NO HARDWARE FILE YET
This commit is contained in:
parent
41a019ff5a
commit
7479c6b99f
6 changed files with 49 additions and 0 deletions
7
modules/hosts/jank/krembo/home-manager.nix
Normal file
7
modules/hosts/jank/krembo/home-manager.nix
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
{ config, ... }:
|
||||
|
||||
{
|
||||
flake.modules.nixos.krembo = {
|
||||
home-manager.users.${config.flake.meta.user.name}.imports = [ config.flake.modules.homeManager.krembo ];
|
||||
};
|
||||
}
|
||||
7
modules/hosts/jank/krembo/hostname.nix
Normal file
7
modules/hosts/jank/krembo/hostname.nix
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
{ ... }:
|
||||
|
||||
{
|
||||
flake.modules.nixos.krembo = {
|
||||
networking.hostName = "krembo";
|
||||
};
|
||||
}
|
||||
9
modules/hosts/jank/krembo/krembo.nix
Normal file
9
modules/hosts/jank/krembo/krembo.nix
Normal 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
12
modules/hosts/krembo.nix
Normal 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
7
modules/server/soju.nix
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
{ ... }:
|
||||
|
||||
{
|
||||
flake.modules.nixos.server = {
|
||||
services.soju.enable = true;
|
||||
};
|
||||
}
|
||||
7
modules/server/ssh.nix
Normal file
7
modules/server/ssh.nix
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
{ ... }:
|
||||
|
||||
{
|
||||
flake.modules.nixos.server = {
|
||||
services.openssh.enable = true;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue