diff options
Diffstat (limited to 'roles/home/desktop')
| -rw-r--r-- | roles/home/desktop/default.nix | 2 | ||||
| -rw-r--r-- | roles/home/desktop/fcitx5.nix | 2 | ||||
| -rw-r--r-- | roles/home/desktop/polybar.nix | 2 | ||||
| -rw-r--r-- | roles/home/desktop/theme.nix | 1 |
4 files changed, 3 insertions, 4 deletions
diff --git a/roles/home/desktop/default.nix b/roles/home/desktop/default.nix index 83656c8..1735a9b 100644 --- a/roles/home/desktop/default.nix +++ b/roles/home/desktop/default.nix @@ -1,4 +1,4 @@ -{ config, pkgs, lib, inputs, ... }: +{ config, lib, pkgs, ... }: with lib; let cfg = config.home.roles.desktop; in { diff --git a/roles/home/desktop/fcitx5.nix b/roles/home/desktop/fcitx5.nix index e68312d..3b3e537 100644 --- a/roles/home/desktop/fcitx5.nix +++ b/roles/home/desktop/fcitx5.nix @@ -1,5 +1,5 @@ # This file only handles theming of fcitx5. -{ lib, pkgs, config, ... }: +{ config, lib, pkgs, ... }: lib.mkIf config.home.roles.desktop.enable { xdg.dataFile."fcitx5/themes/nix-theme/theme.conf".source = let c = config.theme.colors; in (pkgs.formats.ini { }).generate "what" { diff --git a/roles/home/desktop/polybar.nix b/roles/home/desktop/polybar.nix index 82d9ee1..396218c 100644 --- a/roles/home/desktop/polybar.nix +++ b/roles/home/desktop/polybar.nix @@ -1,4 +1,4 @@ -{ pkgs, config, ... }: +{ config, pkgs, ... }: { services.polybar = { diff --git a/roles/home/desktop/theme.nix b/roles/home/desktop/theme.nix index 056c8ac..a6e4f43 100644 --- a/roles/home/desktop/theme.nix +++ b/roles/home/desktop/theme.nix @@ -1,5 +1,4 @@ { lib, ... }: - with lib; { |