depot/ops/nixos/lib/client.nix

21 lines
567 B
Nix

# SPDX-FileCopyrightText: 2020 Luke Granger-Brown <depot@lukegb.com>
#
# SPDX-License-Identifier: Apache-2.0
{ pkgs, config, depot, lib, ... }:
let
inherit (lib) mkBefore;
in
{
config = {
my.home-manager.imports = lib.mkAfter [ ./home-manager/client.nix ];
programs.ssh.startAgent = true;
nix.gc.automatic = false;
services.resolved.llmnr = "true";
networking.networkmanager.extraConfig = lib.mkAfter ''
[connection]
# Enable mDNS resolver/responder by default unless otherwise configured.
connection.mdns=2
'';
};
}