depot/ops/nixos/lib/client.nix

23 lines
665 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;
# Enable mDNS resolver/responder by default unless otherwise configured.
networking.networkmanager.settings.connection."connection.mdns" = 2;
environment.systemPackages = with pkgs; lib.mkMerge [
(lib.mkIf config.virtualisation.podman.enable [ podman-compose ])
];
};
}