depot/ops/nixos/lib/client.nix

21 lines
529 B
Nix
Raw Normal View History

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