Fixed for deploy again
This commit is contained in:
@@ -149,9 +149,13 @@ let
|
||||
description = "System architecture of the system.";
|
||||
default = "x86_64-linux";
|
||||
};
|
||||
|
||||
android-dev = mkEnableOption "Enable ADB on the host.";
|
||||
};
|
||||
};
|
||||
|
||||
system = import ../system.nix { inherit config lib; };
|
||||
|
||||
in {
|
||||
options.fudo.hosts = with types;
|
||||
mkOption {
|
||||
@@ -246,6 +250,11 @@ in {
|
||||
user = "root";
|
||||
};
|
||||
|
||||
programs.adb.enable = host-cfg.android-dev;
|
||||
users.groups.adbusers = mkIf host-cfg.android-dev {
|
||||
members = system.local-admins;
|
||||
};
|
||||
|
||||
programs.ssh.knownHosts = let
|
||||
keyed-hosts =
|
||||
filterAttrs (host: opts: opts.ssh-pubkey != null) config.fudo.hosts;
|
||||
|
||||
Reference in New Issue
Block a user