depot/ops/nixos/lib/client.nix

24 lines
665 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;
2022-09-24 15:40:45 +00:00
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 ])
];
2020-10-25 11:36:16 +00:00
};
}