Formatting

This commit is contained in:
Erwin Boskma 2022-08-18 16:37:26 +02:00
parent 58823d7d38
commit a4c2a4dcf5
Signed by: erwin
GPG key ID: 270B20D17394F7E5
5 changed files with 15 additions and 15 deletions

View file

@ -26,7 +26,7 @@ in
assigns = { assigns = {
"1" = [{ app_id = "firefox"; }]; "1" = [{ app_id = "firefox"; }];
"2" = [{ app_id = "Alacritty"; } { app_id = "foot"; }]; "2" = [{ app_id = "Alacritty"; } { app_id = "foot"; }];
"3" = [{ class = "Code"; } {app_id = "emacs";}]; "3" = [{ class = "Code"; } { app_id = "emacs"; }];
}; };
bars = [ ]; bars = [ ];

View file

@ -13,7 +13,7 @@ in
}; };
imports = [ imports = [
(mkRemovedOptionModule ["eboskma" "nix-common" "disable-cache" ] (mkRemovedOptionModule [ "eboskma" "nix-common" "disable-cache" ]
"The option `disable-cache` is no longer used") "The option `disable-cache` is no longer used")
]; ];
@ -62,12 +62,12 @@ in
}; };
programs.ssh.extraConfig = mkIf cfg.remote-builders '' programs.ssh.extraConfig = mkIf cfg.remote-builders ''
Host loki Host loki
HostName 10.0.0.4 HostName 10.0.0.4
Port 22 Port 22
User builder User builder
IdentitiesOnly yes IdentitiesOnly yes
IdentityFile /root/.ssh/id_builder IdentityFile /root/.ssh/id_builder
''; '';
}; };
} }

View file

@ -1,4 +1,4 @@
{ pkgs, config, lib, ...}: { pkgs, config, lib, ... }:
with lib; with lib;
let let
cfg = config.eboskma.users.builder; cfg = config.eboskma.users.builder;
@ -18,7 +18,7 @@ in
openssh.authorizedKeys.keys = authorizedKeys; openssh.authorizedKeys.keys = authorizedKeys;
}; };
users.groups.builder = {}; users.groups.builder = { };
nix.settings.trusted-users = [ "builder" ]; nix.settings.trusted-users = [ "builder" ];
}; };