mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 15:00:13 +01:00
feat: make it so only hosts with gui enabled have dbus/gnome-keyring/gvfs :)
This commit is contained in:
parent
09e6a3a302
commit
3b00c85ad1
7 changed files with 58 additions and 22 deletions
14
roles/gui.nix
Normal file
14
roles/gui.nix
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{ lib, ... }:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.liv.gui;
|
||||
in
|
||||
{
|
||||
config = mkIf cfg.enable {
|
||||
services = {
|
||||
gvfs.enable = true;
|
||||
gnome.gnome-keyring.enable = true;
|
||||
dbus.enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue