Regenerated

This commit is contained in:
2026-04-21 22:23:54 +02:00
parent 37fdb75bd9
commit 8aea9c3ee6
3 changed files with 428 additions and 407 deletions
+396 -389
View File
File diff suppressed because it is too large Load Diff
+16 -9
View File
@@ -2026,19 +2026,26 @@ in
** =generated/modules/traveldroid/system/swaync.nix=
This sets the dbus implementation
#+BEGIN_SRC nix :tangle generated/modules/traveldroid/system/swaync.nix :noweb yes :mkdirp yes :eval never
{ config, pkgs, lib, ... }:
{ lib, config, pkgs, flakeRoot, ... }:
let
username = config.defaultUser or "henrov";
assetPath = "${flakeRoot}/generated/.config/swaync";
in
{
environment.systemPackages = [ pkgs.swaynotificationcenter ];
home-manager.users.${config.mainUser} = {
home-manager.users.${username} = {
services.swaync.enable = true;
services.swaync = {
enable = true;
# Neither settings nor style are managed by Nix.
# Swaync will read both from ~/.config/swaync/ directly:
# ~/.config/swaync/config.json
# ~/.config/swaync/style.css
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;
};
};
};
}
@@ -1,17 +1,24 @@
# --- This file has been auto-generated. For permanent changes alter the appropriate block in the README.org. ---
{ config, pkgs, lib, ... }:
{ lib, config, pkgs, flakeRoot, ... }:
let
username = config.defaultUser or "henrov";
assetPath = "${flakeRoot}/generated/.config/swaync";
in
{
environment.systemPackages = [ pkgs.swaynotificationcenter ];
home-manager.users.${config.mainUser} = {
home-manager.users.${username} = {
services.swaync.enable = true;
services.swaync = {
enable = true;
# Neither settings nor style are managed by Nix.
# Swaync will read both from ~/.config/swaync/ directly:
# ~/.config/swaync/config.json
# ~/.config/swaync/style.css
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;
};
};
};
}