Merge remote-tracking branch 'refs/remotes/origin/main'

This commit is contained in:
Dragyx 2024-04-12 22:06:41 +02:00
commit b2447f7123
8 changed files with 35 additions and 384 deletions

View file

@ -1,5 +1,6 @@
_: {
imports = [
./pipewire.nix
./ssh.nix
];
}

14
modules/services/ssh.nix Normal file
View file

@ -0,0 +1,14 @@
{ config, lib, pkgs, ... }:
with lib; let
cfg = config.myOptions.programs.ssh;
username = config.myOptions.other.system.username;
in {
options.myOptions.programs.ssh.enable = mkEnableOption "ssh";
config = mkIf cfg.enable {
programs.ssh = {
startAgent = true;
};
};
}