mirror of
https://codeberg.org/jopejoe1/nix-conf.git
synced 2025-06-07 21:39:23 +02:00
run nix fmt
This commit is contained in:
parent
eab8e4b1d8
commit
d5cbe31c02
61 changed files with 1299 additions and 830 deletions
|
@ -1,8 +1,18 @@
|
|||
{ config, lib, pkgs, self, ... }:
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
self,
|
||||
...
|
||||
}:
|
||||
|
||||
let cfg = config.jopejoe1.ssh;
|
||||
in {
|
||||
options.jopejoe1.ssh = { enable = lib.mkEnableOption "Enable ssh"; };
|
||||
let
|
||||
cfg = config.jopejoe1.ssh;
|
||||
in
|
||||
{
|
||||
options.jopejoe1.ssh = {
|
||||
enable = lib.mkEnableOption "Enable ssh";
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
services.openssh = {
|
||||
|
@ -15,4 +25,3 @@ in {
|
|||
};
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue