format all code with alejandra
This commit is contained in:
parent
fa0cda2673
commit
4f0d45e4d5
89 changed files with 1605 additions and 1298 deletions
21
home/ssh.nix
21
home/ssh.nix
|
|
@ -1,15 +1,18 @@
|
|||
{ config, lib, ... }:
|
||||
let
|
||||
inherit (lib)
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}: let
|
||||
inherit
|
||||
(lib)
|
||||
mkEnableOption
|
||||
mkIf
|
||||
;
|
||||
;
|
||||
|
||||
cfg = config.my.home.ssh;
|
||||
in
|
||||
{
|
||||
in {
|
||||
options.my.home.ssh = {
|
||||
enable = (mkEnableOption "ssh configuration") // { default = true; };
|
||||
enable = (mkEnableOption "ssh configuration") // {default = true;};
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
|
|
@ -17,8 +20,8 @@ in
|
|||
enable = true;
|
||||
|
||||
matchBlocks = {
|
||||
boreal = { hostname = "boreal.alarsyo.net"; };
|
||||
poseidon = { hostname = "poseidon.alarsyo.net"; };
|
||||
boreal = {hostname = "boreal.alarsyo.net";};
|
||||
poseidon = {hostname = "poseidon.alarsyo.net";};
|
||||
pi = {
|
||||
hostname = "pi.alarsyo.net";
|
||||
user = "pi";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue