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

40 lines
877 B
Nix
Raw 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.fonts = with pkgs; [
iosevka
];
services.udev.packages = [ pkgs.libu2f-host ];
services.pcscd.enable = true;
2020-10-25 11:36:16 +00:00
sound.enable = true;
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 = true;
services.dbus.packages = [ depot.nix.pkgs.flameshot ];
systemd.packages = [ depot.nix.pkgs.flameshot ];
2020-10-25 11:36:16 +00:00
};
}