Skip to content

Commit

Permalink
Make grobi optional
Browse files Browse the repository at this point in the history
  • Loading branch information
rake5k committed Sep 28, 2024
1 parent c8d0f08 commit 66adbd5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions home/roles/desktop/xserver/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ config, lib, pkgs, ... }:
{ config, lib, inputs, pkgs, ... }:

with lib;

Expand Down Expand Up @@ -50,7 +50,6 @@ in
desktop = {
xserver = {
cursors.enable = true;
grobi.enable = true;
locker.enable = true;
redshift.enable = true;

Expand Down Expand Up @@ -100,7 +99,8 @@ in
xsession = {
enable = true;
initExtra = ''
${lib.getBin pkgs.dbus}/bin/dbus-update-activation-environment --systemd --all
${getBin pkgs.dbus}/bin/dbus-update-activation-environment --systemd --all
${optionalString (!cfg.grobi.enable) "${getExe pkgs.feh} --no-fehbg --bg-fill --randomize ${inputs.wallpapers}"}
'';
numlock.enable = true;
};
Expand Down

0 comments on commit 66adbd5

Please sign in to comment.