8 lines
359 B
Nix
Executable file
8 lines
359 B
Nix
Executable file
inputs: _: prev: {
|
|
wlogout_style_base = dots/wlogout/style.css;
|
|
wlogout_style = prev.runCommandLocal "wlogout_style_base" {wlogpath = lib.strings.escape ["/"] "${pkgs.wlogout}";} ''
|
|
cp ${wlogout_style_base} $out
|
|
sed -i "s/\/usr\/share\/wlogout/$wlogpath\/share\/wlogout/g" $out
|
|
sed -i "s/\/etc\/wlogout/$wlogpath\/etc\/wlogout/g" $out
|
|
'';
|
|
}
|