Merge remote-tracking branch 'refs/remotes/origin/main'
This commit is contained in:
commit
b2447f7123
8 changed files with 35 additions and 384 deletions
|
@ -1,5 +1,6 @@
|
|||
_: {
|
||||
imports = [
|
||||
./pipewire.nix
|
||||
./ssh.nix
|
||||
];
|
||||
}
|
||||
|
|
14
modules/services/ssh.nix
Normal file
14
modules/services/ssh.nix
Normal 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;
|
||||
};
|
||||
};
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue