Incorporate omarchy-nix.

This commit is contained in:
2026-01-01 16:44:09 +00:00
parent a8147d9ae5
commit d71408b567
30 changed files with 1291 additions and 602 deletions

View File

@@ -1,6 +1,14 @@
{ pkgs, profile ? "cli", ... }:
{ pkgs, lib, profile ? "cli", ... }:
let
# Handle both file and directory imports for profiles
# desktop is a directory, others are files
profilePath =
if builtins.pathExists ./programs/${profile}/default.nix
then ./programs/${profile}
else ./programs/${profile}.nix;
in
{
imports = [ ./programs/${profile}.nix ];
imports = [ profilePath ];
home = {
packages = (import ./packages.nix { inherit pkgs profile; }).packages;