25 lines
690 B
Nix
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;
|
|
};
|
|
};
|
|
};
|
|
}
|