summaryrefslogtreecommitdiff
path: root/hm/soft/awww.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hm/soft/awww.nix')
-rw-r--r--hm/soft/awww.nix14
1 files changed, 14 insertions, 0 deletions
diff --git a/hm/soft/awww.nix b/hm/soft/awww.nix
new file mode 100644
index 0000000..e807c9d
--- /dev/null
+++ b/hm/soft/awww.nix
@@ -0,0 +1,14 @@
+{ config, lib, pkgs, inputs, ... }:
+let
+ cfg = config.szpont.hm.soft.awww;
+in
+{
+ options.szpont.hm.soft.awww.enable = lib.mkEnableOption "enables awww";
+
+ config = lib.mkIf cfg.enable {
+ services.swww = {
+ enable = true;
+ package = inputs.awww.packages.${pkgs.stdenv.hostPlatform.system}.awww;
+ };
+ };
+}