refactor: dendritic principles

This commit is contained in:
2026-05-06 19:45:03 +02:00
parent d6878abc61
commit e33602e879
8 changed files with 23 additions and 7 deletions
+3
View File
@@ -1,6 +1,7 @@
{ inputs, config, ... }:
let
account = config.repo.account;
hmModules = config.flake.modules.homeManager;
sharedContext = ''
# Global Agent Context
@@ -21,6 +22,8 @@ let
in
{
flake.modules.nixos.ai = {
home-manager.sharedModules = [ hmModules.ai ];
nixpkgs.overlays = [ inputs.llm-agents.overlays.default ];
nix.settings = {
+3
View File
@@ -5,6 +5,7 @@
}:
let
repo = config.repo;
hmModules = config.flake.modules.homeManager;
in
{
flake.modules.nixos.niri =
@@ -12,6 +13,8 @@ in
{
imports = [ inputs.niri.nixosModules.niri ];
home-manager.sharedModules = [ hmModules.niri ];
nixpkgs.overlays = [ inputs.niri.overlays.niri ];
programs = {
@@ -1,5 +1,11 @@
{ config, ... }:
let
hmModules = config.flake.modules.homeManager;
in
{
flake.modules.nixos.qbittorrent-client = {
home-manager.sharedModules = [ hmModules.qbittorrent-client ];
networking.firewall = {
allowedTCPPorts = [ 43864 ];
allowedUDPPorts = [ 43864 ];
+3
View File
@@ -5,6 +5,7 @@
let
repo = config.repo;
repoHelpers = repo.helpers;
hmModules = config.flake.modules.homeManager;
in
{
flake.modules.nixos.theme =
@@ -22,6 +23,8 @@ in
};
in
{
home-manager.sharedModules = [ hmModules.theme ];
environment.systemPackages = [ cursorTheme.package ];
services.displayManager.sddm.settings = {
+2 -2
View File
@@ -16,7 +16,7 @@ in
};
};
flake.modules.homeManager.walker =
flake.modules.homeManager.walker-base =
{
config,
...
@@ -33,7 +33,7 @@ in
flake.modules.homeManager.primary-launcher-walker =
{ config, lib, ... }:
{
imports = [ homeModules.walker ];
imports = [ homeModules.walker-base ];
meta.desktop.launcherCommand = lib.getExe config.programs.walker.package;
};