restructure x11

This commit is contained in:
Natsu Kagami 2022-04-20 13:05:02 -04:00
parent a4a16cc97c
commit 8b6dd79516
Signed by: nki
GPG key ID: 7306B3D3C3AD6E51
19 changed files with 406 additions and 312 deletions

15
home/common-linux.nix Normal file
View file

@ -0,0 +1,15 @@
{ pkgs, config, lib, ... }:
with lib; {
imports = [ ./modules/linux/graphical ./modules/X11/xfce4-notifyd.nix ];
config = (mkIf (strings.hasSuffix "linux" pkgs.system) {
## Gnome-keyring
services.gnome-keyring = {
enable = true;
components = [ "pkcs11" "secrets" "ssh" ];
};
services.gpg-agent.enable = true;
services.gpg-agent.enableSshSupport = true;
services.gpg-agent.pinentryFlavor = "gtk2";
});
}