Formatting
This commit is contained in:
parent
58823d7d38
commit
a4c2a4dcf5
5 changed files with 15 additions and 15 deletions
|
@ -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 = [ ];
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -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" ];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue