mwahahahaha, got everything building again, deskop is also in working state. so lets hope that my work laptop will also work tomorrow!!!

This commit is contained in:
Chris Kruining 2025-03-24 01:09:06 +01:00
parent b0dc4d9fe4
commit bf3ca86089
Signed by: chris
SSH key fingerprint: SHA256:nG82MUfuVdRVyCKKWqhY+pCrbz9nbX6uzUns4RKa1Pg
6 changed files with 83 additions and 70 deletions

View file

@ -1,16 +1,16 @@
{ config, options, lib, pkgs, ... }:
{ config, lib, ... }:
let
inherit (lib.modules) mkIf;
inherit (lib.attrsets) attrValues;
inherit (lib.options) mkEnableOption;
cfg = config.modules.networking.ssh;
in
{
options.modules.networking.ssh = let
inherit (lib.options) mkEnableOption;
in {
options.modules.networking.ssh = {
enable = mkEnableOption "enable ssh";
};
config = mkIf config.modules.networking.ssh.enable {
config = mkIf cfg.enable {
services.openssh = {
enable = true;
openFirewall = true;