first attempt at setting up yubikey and commit signing using it (secondary key)

This commit is contained in:
Christoph Hollizeck 2024-06-05 23:14:18 +02:00
parent 0c50d6ccd1
commit a3e36ff53f
Signed by: Daholli
GPG key ID: 1763BB530F50279E
5 changed files with 46 additions and 13 deletions

View file

@ -0,0 +1,27 @@
{
config,
lib,
pkgs,
...
}:
with lib;
with lib.wyrdgard;
let
cfg = config.wyrdgard.graphical-interface.desktop-manager.hyprland;
in
{
options.wyrdgard.graphical-interface.desktop-manager.hyprland = with types; {
enable = mkEnableOption "Whether to enable hyprland";
};
config = mkIf cfg.enable {
environment.systemPackages = with pkgs; [ polkit xdg-desktop-portal-hyprland dconf ];
services.xserver = enabled;
programs.hyprland = {
enable = true;
xwayland.enable = true;
};
};
}