wip: dnsc-machine setup

This commit is contained in:
Dennis Schoepf 2025-11-24 01:20:49 +01:00
parent 199007d0ad
commit a91167b34e
6 changed files with 91 additions and 43 deletions

View file

@ -1,42 +1,7 @@
{ pkgs, inputs, ... }:
{
programs.ironbar = {
enable = true;
systemd = true;
config = {
# An example:
monitors = {
DP-3 = {
anchor_to_edges = true;
position = "left";
height = 16;
start = [
{ type = "workspaces"; }
];
center = [
{ type = "focused"; }
];
end = [
{ type = "volume"; }
{
type = "tray";
icon_size = 16;
}
{ type = "clock"; }
];
};
};
};
style = /* css */ ''
/* An example */
* {
/* font-family: Noto Sans Nerd Font, sans-serif; */
font-size: 14px;
border: none;
border-radius: 0;
}
'';
package = inputs.ironbar;
xdg.configFile."ironbar" = {
source = config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/dev/nix-config/modules/wm/ironbar/config";
};
}