From 472aabee2a655f3ab3e69a753fd19a8401398a0f Mon Sep 17 00:00:00 2001 From: William Date: Sun, 15 Feb 2026 17:32:03 -0300 Subject: [PATCH] finalise dendritic migration --- aspects/desktop/media.nix | 2 +- aspects/systems/base.nix | 83 +++++++++++++++++++++---------------- aspects/systems/desktop.nix | 5 ++- 3 files changed, 52 insertions(+), 38 deletions(-) diff --git a/aspects/desktop/media.nix b/aspects/desktop/media.nix index ed6a767..7543c0a 100644 --- a/aspects/desktop/media.nix +++ b/aspects/desktop/media.nix @@ -13,7 +13,7 @@ ]; }; - homeManager.programs-media = + homeManager.media = { pkgs, ... }: { programs.obs-studio = { diff --git a/aspects/systems/base.nix b/aspects/systems/base.nix index 5fef6b9..fdfc525 100644 --- a/aspects/systems/base.nix +++ b/aspects/systems/base.nix @@ -1,44 +1,55 @@ { inputs, ... }: { - flake.modules.nixos.base = - { lib, pkgs, ... }: - { - imports = with inputs.self.modules.nixos; [ - boot - console - firewall - fish - locale - nix - security - ssh - ]; - environment = { - systemPackages = with pkgs; [ - git - fastfetch - nixos-firewall-tool - sysz - wget - yazi + flake.modules = { + nixos.base = + { lib, pkgs, ... }: + { + imports = with inputs.self.modules.nixos; [ + boot + console + firewall + fish + locale + nix + security + ssh ]; - shellAliases = { - cat = "${lib.getExe pkgs.bat} --paging=never --style=plain"; - ls = "${lib.getExe pkgs.eza} --git --icons --group-directories-first"; - tree = "ls --tree"; + environment = { + systemPackages = with pkgs; [ + git + fastfetch + nixos-firewall-tool + sysz + wget + yazi + ]; + shellAliases = { + cat = "${lib.getExe pkgs.bat} --paging=never --style=plain"; + ls = "${lib.getExe pkgs.eza} --git --icons --group-directories-first"; + tree = "ls --tree"; + }; + }; + + programs.command-not-found.enable = false; + + services = { + dbus.implementation = "broker"; + irqbalance.enable = true; + fstrim.enable = true; + tailscale = { + enable = true; + extraUpFlags = [ "--operator=user" ]; + }; }; }; - programs.command-not-found.enable = false; - - services = { - dbus.implementation = "broker"; - irqbalance.enable = true; - fstrim.enable = true; - tailscale = { - enable = true; - extraUpFlags = [ "--operator=user" ]; - }; + homeManager.base = + { ... }: + { + imports = with inputs.self.modules.homeManager; [ + bash + fish + ]; }; - }; + }; } diff --git a/aspects/systems/desktop.nix b/aspects/systems/desktop.nix index 39fd0e0..fb3aa1b 100644 --- a/aspects/systems/desktop.nix +++ b/aspects/systems/desktop.nix @@ -158,7 +158,10 @@ ... }: { - imports = [ inputs.vicinae.homeManagerModules.default ]; + imports = [ + inputs.vicinae.homeManagerModules.default + ] + ++ (with inputs.self.modules.homeManager; [ media ]); fonts.fontconfig.enable = true;