wip(home): refactor home modules *WILL NOT BUILD*

This commit is contained in:
ooks-io 2024-06-04 21:19:35 +12:00
parent 2033810429
commit 6a591ecbf7
115 changed files with 1028 additions and 791 deletions

View file

@ -1,16 +0,0 @@
{ lib, config, inputs, ... }:
let
cfg = config.ooknet.desktop.wayland.bar.ags;
in
{
imports = [ inputs.ags.homeManagerModules.default ];
config = lib.mkIf cfg.enable {
programs.ags = {
enable = true;
};
};
}

View file

@ -1,14 +1,16 @@
{ config, lib, pkgs, ... }:
{ config, lib, pkgs, osConfig, ... }:
let
fonts = config.ooknet.theme.fonts;
cfg = config.ooknet.desktop.wayland.bar.waybar;
monitorWidth = (lib.head config.monitors).width - 20;
inherit (config.colorscheme) palette;
inherit (lib) mkIf head;
fonts = config.ooknet.fonts;
wayland = config.ooknet.wayland;
monitors = osConfig.ooknet.host.hardware.monitors;
monitorWidth = (head monitors).width - 20;
in
{
config = lib.mkIf cfg.enable {
config = mkIf (wayland.bar == "waybar") {
programs.waybar = {
enable = true;
systemd.enable = true;