moved files outside of main home file

This commit is contained in:
Dea 2026-01-10 12:32:53 -05:00
parent 77a0b9ea24
commit 491e268446
3 changed files with 30 additions and 21 deletions

View file

@ -1 +1 @@
{ }
{ }

View file

@ -0,0 +1,27 @@
# mcsr credit to uku: https://git.uku3lig.net/uku/flake/src/branch/main/programs/mcsr
{
lib,
pkgs,
...
}:
let
ninjabrain-bot = pkgs.callPackage ./ninjabrain.nix { };
waywork = pkgs.callPackage ./waywork.nix { };
in
{
home.file.dea.target = ".config/waywall/init.lua";
home.file.dea.text = ''
package.path = package.path .. ";${waywork}/?.lua"
local ninb_path = "${lib.getExe ninjabrain-bot}"
local resolution = { w = ${toString 1920}, h = ${toString 1080} }
local images = {
eye_overlay = "${./eye-overlay.png}",
thin = "${./yukata.jpg}",
wide = "${./yukata.jpg}",
tall = "${./yukata.jpg}",
}
-- end globals
''
+ builtins.readFile ./waywall.lua;
}