mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
chore(gengetsu): common nixos.hw.c4130
This commit is contained in:
parent
64efbaf503
commit
3c5e7179bb
18 changed files with 217 additions and 132 deletions
|
|
@ -1,10 +1,11 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
inherit (lib.modules) mkDefault;
|
||||
inherit (lib.modules) mkIf mkDefault;
|
||||
inherit (lib.lists) head;
|
||||
cfg = config.services.openssh;
|
||||
publicPort = 62954;
|
||||
in {
|
||||
/*
|
||||
|
|
@ -33,4 +34,8 @@ in {
|
|||
};
|
||||
|
||||
programs.mosh.enable = true;
|
||||
|
||||
boot.initrd.network.ssh = mkIf cfg.enable {
|
||||
port = mkDefault (head cfg.ports);
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue