moved files outside of main home file
This commit is contained in:
parent
77a0b9ea24
commit
491e268446
3 changed files with 30 additions and 21 deletions
|
|
@ -1 +1 @@
|
|||
{ }
|
||||
{ }
|
||||
|
|
|
|||
27
hosts/sandalphon/mcsr/home.nix
Normal file
27
hosts/sandalphon/mcsr/home.nix
Normal 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;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue