mirror of
https://github.com/srid/nixos-config.git
synced 2025-12-28 00:05:00 +08:00
22 lines
432 B
Nix
22 lines
432 B
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
systemd.user.services.polybar = {
|
|
enable = true;
|
|
description = "Polybar";
|
|
wantedBy = [ "graphical-session.target" ];
|
|
serviceConfig = {
|
|
ExecStart = "${pkgs.polybar}/bin/polybar -c /etc/nixos/nixos/desktopish/polybar example";
|
|
Restart = "on-abnormal";
|
|
};
|
|
};
|
|
|
|
environment.systemPackages = [ pkgs.polybar ];
|
|
|
|
fonts = {
|
|
fonts = with pkgs; [
|
|
siji
|
|
];
|
|
};
|
|
|
|
}
|