Regenerated
This commit is contained in:
+396
-389
File diff suppressed because it is too large
Load Diff
+16
-9
@@ -2026,19 +2026,26 @@ in
|
|||||||
** =generated/modules/traveldroid/system/swaync.nix=
|
** =generated/modules/traveldroid/system/swaync.nix=
|
||||||
This sets the dbus implementation
|
This sets the dbus implementation
|
||||||
#+BEGIN_SRC nix :tangle generated/modules/traveldroid/system/swaync.nix :noweb yes :mkdirp yes :eval never
|
#+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 ];
|
environment.systemPackages = [ pkgs.swaynotificationcenter ];
|
||||||
|
|
||||||
home-manager.users.${config.mainUser} = {
|
home-manager.users.${username} = {
|
||||||
|
services.swaync.enable = true;
|
||||||
|
|
||||||
services.swaync = {
|
home.file = {
|
||||||
enable = true;
|
".config/swaync/config.json" = {
|
||||||
# Neither settings nor style are managed by Nix.
|
text = builtins.readFile "${assetPath}/config.json";
|
||||||
# Swaync will read both from ~/.config/swaync/ directly:
|
force = true;
|
||||||
# ~/.config/swaync/config.json
|
};
|
||||||
# ~/.config/swaync/style.css
|
".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. ---
|
# --- 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 ];
|
environment.systemPackages = [ pkgs.swaynotificationcenter ];
|
||||||
|
|
||||||
home-manager.users.${config.mainUser} = {
|
home-manager.users.${username} = {
|
||||||
|
services.swaync.enable = true;
|
||||||
|
|
||||||
services.swaync = {
|
home.file = {
|
||||||
enable = true;
|
".config/swaync/config.json" = {
|
||||||
# Neither settings nor style are managed by Nix.
|
text = builtins.readFile "${assetPath}/config.json";
|
||||||
# Swaync will read both from ~/.config/swaync/ directly:
|
force = true;
|
||||||
# ~/.config/swaync/config.json
|
};
|
||||||
# ~/.config/swaync/style.css
|
".config/swaync/style.css" = {
|
||||||
|
text = builtins.readFile "${assetPath}/style.css";
|
||||||
|
force = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user