Formatting
This commit is contained in:
parent
58823d7d38
commit
a4c2a4dcf5
5 changed files with 15 additions and 15 deletions
|
@ -39,7 +39,7 @@ in
|
|||
type = types.package;
|
||||
default = emacsWayland;
|
||||
};
|
||||
|
||||
|
||||
daemon = mkOption {
|
||||
description = "Whether to enable emacs daemon";
|
||||
type = types.bool;
|
||||
|
|
|
@ -26,7 +26,7 @@ in
|
|||
assigns = {
|
||||
"1" = [{ app_id = "firefox"; }];
|
||||
"2" = [{ app_id = "Alacritty"; } { app_id = "foot"; }];
|
||||
"3" = [{ class = "Code"; } {app_id = "emacs";}];
|
||||
"3" = [{ class = "Code"; } { app_id = "emacs"; }];
|
||||
};
|
||||
bars = [ ];
|
||||
|
||||
|
|
|
@ -8,8 +8,8 @@ in
|
|||
eboskma = {
|
||||
users = {
|
||||
erwin = {
|
||||
enable = true;
|
||||
home-manager = true;
|
||||
enable = true;
|
||||
home-manager = true;
|
||||
};
|
||||
builder.enable = true;
|
||||
};
|
||||
|
|
|
@ -13,7 +13,7 @@ in
|
|||
};
|
||||
|
||||
imports = [
|
||||
(mkRemovedOptionModule ["eboskma" "nix-common" "disable-cache" ]
|
||||
(mkRemovedOptionModule [ "eboskma" "nix-common" "disable-cache" ]
|
||||
"The option `disable-cache` is no longer used")
|
||||
];
|
||||
|
||||
|
@ -46,7 +46,7 @@ in
|
|||
substituters = [
|
||||
"https://nix-community.cachix.org"
|
||||
"https://marcus7070.cachix.org"
|
||||
];
|
||||
];
|
||||
|
||||
trusted-public-keys = [
|
||||
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
||||
|
@ -62,12 +62,12 @@ in
|
|||
};
|
||||
|
||||
programs.ssh.extraConfig = mkIf cfg.remote-builders ''
|
||||
Host loki
|
||||
HostName 10.0.0.4
|
||||
Port 22
|
||||
User builder
|
||||
IdentitiesOnly yes
|
||||
IdentityFile /root/.ssh/id_builder
|
||||
'';
|
||||
Host loki
|
||||
HostName 10.0.0.4
|
||||
Port 22
|
||||
User builder
|
||||
IdentitiesOnly yes
|
||||
IdentityFile /root/.ssh/id_builder
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ pkgs, config, lib, ...}:
|
||||
{ pkgs, config, lib, ... }:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.eboskma.users.builder;
|
||||
|
@ -18,7 +18,7 @@ in
|
|||
openssh.authorizedKeys.keys = authorizedKeys;
|
||||
};
|
||||
|
||||
users.groups.builder = {};
|
||||
users.groups.builder = { };
|
||||
|
||||
nix.settings.trusted-users = [ "builder" ];
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue