mirror of
https://github.com/gburd/nix-config.git
synced 2024-11-20 10:36:25 +00:00
39 lines
963 B
Nix
39 lines
963 B
Nix
{ inputs, pkgs, ... }:
|
|
let
|
|
homepage-bookmarks = pkgs.writeTextFile {
|
|
name = "bookmarks.yaml";
|
|
executable = false;
|
|
destination = "/var/lib/private/homepage-dashboard/bookmarks.yaml";
|
|
text = ''
|
|
---
|
|
# For configuration options and examples, please see:
|
|
# https://gethomepage.dev/en/configs/bookmarks
|
|
|
|
- Developer:
|
|
- Github:
|
|
- abbr: GH
|
|
href: https://github.com/
|
|
|
|
- Social:
|
|
- Twitter:
|
|
- abbr: X
|
|
href: https://twitter.com/
|
|
|
|
- Entertainment:
|
|
- YouTube:
|
|
- abbr: YT
|
|
href: https://youtube.com/
|
|
'';
|
|
};
|
|
in
|
|
{
|
|
imports = [ "${inputs.nixpkgs-unstable}/nixos/modules/services/misc/homepage-dashboard.nix" ];
|
|
|
|
services.homepage-dashboard = {
|
|
enable = true;
|
|
package = pkgs.unstable.homepage-dashboard;
|
|
openFirewall = true;
|
|
};
|
|
|
|
environment.systemPackages = [ homepage-bookmarks ];
|
|
}
|