depot/ops/nixos/lib/client.nix

21 lines
565 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.udisks2.enable = true;
networking.networkmanager.extraConfig = lib.mkAfter ''
[connection]
# Enable mDNS resolver/responder by default unless otherwise configured.
connection.mdns=2
'';
};
}