mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 15:00:13 +01:00
25 lines
339 B
Nix
25 lines
339 B
Nix
{
|
|
lib,
|
|
pkgs,
|
|
config,
|
|
username,
|
|
home-manager,
|
|
...
|
|
}:
|
|
with lib;
|
|
let
|
|
cfg = config.liv.gui;
|
|
in
|
|
{
|
|
options.liv.gui = {
|
|
enable = mkEnableOption "Enable GUI workflow";
|
|
};
|
|
|
|
config = mkIf cfg.enable {
|
|
services = {
|
|
gvfs.enable = true;
|
|
gnome.gnome-keyring.enable = true;
|
|
dbus.enable = true;
|
|
};
|
|
};
|
|
}
|