depot/ops/nixos/lib/graphical-client.nix

45 lines
1,011 B
Nix
Raw Permalink Normal View History

# SPDX-FileCopyrightText: 2020 Luke Granger-Brown <depot@lukegb.com>
#
# SPDX-License-Identifier: Apache-2.0
{ pkgs, depot, lib, ... }:
let
inherit (lib) mkBefore;
in
{
imports = [
./client.nix
];
2020-10-25 11:36:16 +00:00
config = {
my.home-manager.imports = lib.mkAfter [ ./home-manager/graphical-client.nix ];
fonts.packages = with pkgs; [
iosevka-bin
2020-10-25 11:36:16 +00:00
];
services.udev.packages = [ pkgs.qFlipper ];
2020-10-25 11:36:16 +00:00
services.pcscd.enable = true;
programs._1password.enable = true;
programs._1password-gui = {
enable = true;
polkitPolicyOwners = [ "lukegb" ];
};
2022-01-08 21:41:30 +00:00
hardware.pulseaudio.enable = false;
services.pipewire = {
enable = true;
alsa.enable = true;
alsa.support32Bit = true;
jack.enable = true;
pulse.enable = true;
};
security.rtkit.enable = true;
services.gnome.gnome-keyring.enable = lib.mkDefault true;
services.dbus.packages = [ depot.nix.pkgs.flameshot ];
systemd.packages = [ depot.nix.pkgs.flameshot ];
2020-10-25 11:36:16 +00:00
};
}