fix(gtklock): fix modules not loaded
This commit is contained in:
parent
3efd1626d4
commit
dcfd8d81e9
3 changed files with 5 additions and 8 deletions
|
@ -1,4 +0,0 @@
|
||||||
[main]
|
|
||||||
modules=/nix/var/nix/profiles/system/sw/lib/gtklock/powerbar-module.so;/nix/var/nix/profiles/system/sw/lib/gtklock/playerctl-module.so
|
|
||||||
|
|
||||||
#;/nix/var/nix/profiles/system/sw/lib/gtklock/userinfo-module.so
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ config, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
configDir = "/home/matt/.nix/config";
|
configDir = "/home/matt/.nix/config";
|
||||||
|
@ -8,7 +8,10 @@ in
|
||||||
xdg.configFile = {
|
xdg.configFile = {
|
||||||
"swayosd/style.css".source = config.lib.file.mkOutOfStoreSymlink "${configDir}/swayosd/style.css";
|
"swayosd/style.css".source = config.lib.file.mkOutOfStoreSymlink "${configDir}/swayosd/style.css";
|
||||||
|
|
||||||
"gtklock/config.ini".source = config.lib.file.mkOutOfStoreSymlink "${configDir}/gtklock/config.ini";
|
"gtklock/config.ini".source = pkgs.writeText "config.ini" ''
|
||||||
|
[main]
|
||||||
|
modules=${pkgs.gtklock-powerbar-module}/lib/gtklock/powerbar-module.so;${pkgs.gtklock-playerctl-module}/lib/gtklock/playerctl-module.so
|
||||||
|
'';
|
||||||
"gtklock/style.css".source = config.lib.file.mkOutOfStoreSymlink "${configDir}/gtklock/style.css";
|
"gtklock/style.css".source = config.lib.file.mkOutOfStoreSymlink "${configDir}/gtklock/style.css";
|
||||||
|
|
||||||
"ripgrep".source = config.lib.file.mkOutOfStoreSymlink "${configDir}/ripgrep";
|
"ripgrep".source = config.lib.file.mkOutOfStoreSymlink "${configDir}/ripgrep";
|
||||||
|
|
|
@ -136,8 +136,6 @@
|
||||||
wl-clipboard
|
wl-clipboard
|
||||||
cliphist
|
cliphist
|
||||||
gtklock
|
gtklock
|
||||||
gtklock-playerctl-module
|
|
||||||
gtklock-powerbar-module
|
|
||||||
grim
|
grim
|
||||||
slurp
|
slurp
|
||||||
swappy
|
swappy
|
||||||
|
|
Loading…
Reference in a new issue