added wpaperd and started on otter

This commit is contained in:
2026-07-04 13:30:24 +01:00
parent cc155d4252
commit 06d93d6e4f
26 changed files with 842 additions and 22 deletions

View File

@@ -0,0 +1,49 @@
{
self,
inputs,
...
}: {
flake.nixosModules.hypr = {
pkgs,
lib,
...
}: {
programs.hypr = {
enable = true;
package = self.packages.${pkgs.stdenv.hostPlatform.system}.hyprland;
};
};
perSystem = {
pkgs,
lib,
self',
...
}: {
packages = {
otter-launcher = let
config-file = ./config.toml;
extra-config = ''
[overlay]
overlay_cmd = """
${pkgs.chafa} -s 20x20 ${./cat.png}
"""
'';
in
inputs.wrappers.lib.wrapPackage ({
config,
wlib,
lib,
...
}: {
inherit pkgs;
package = inputs.otter-launcher.packages.${pkgs.stdenv.hostPlatform.system}.default;
flags = {
"-c" = lib.mkMerge [
config-file
extra-config
];
};
});
};
};
}