Files
nixos/Droidnix/generated/modules/traveldroid/system/swaync.nix
T
2026-04-21 22:23:54 +02:00

25 lines
690 B
Nix

# --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. ---
{ lib, config, pkgs, flakeRoot, ... }:
let
username = config.defaultUser or "henrov";
assetPath = "${flakeRoot}/generated/.config/swaync";
in
{
environment.systemPackages = [ pkgs.swaynotificationcenter ];
home-manager.users.${username} = {
services.swaync.enable = true;
home.file = {
".config/swaync/config.json" = {
text = builtins.readFile "${assetPath}/config.json";
force = true;
};
".config/swaync/style.css" = {
text = builtins.readFile "${assetPath}/style.css";
force = true;
};
};
};
}