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

@ -39,7 +39,7 @@ in
type = types.package;
default = emacsWayland;
};
daemon = mkOption {
description = "Whether to enable emacs daemon";
type = types.bool;

View file

@ -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 = [ ];

View file

@ -8,8 +8,8 @@ in
eboskma = {
users = {
erwin = {
enable = true;
home-manager = true;
enable = true;
home-manager = true;
};
builder.enable = true;
};

View file

@ -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
'';
};
}

View file

@ -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" ];
};