initial migration

This commit is contained in:
Chris Kruining 2026-03-24 14:09:46 +00:00
parent 01fb98ba10
commit 59a1fbaf0f
54 changed files with 522 additions and 613 deletions

View file

@ -1,8 +1,11 @@
{ config, lib, pkgs, namespace, ... }:
{ config, lib, pkgs, namespace, repoRoot, erosanixLib, ... }:
let
inherit (lib) mkIf mkEnableOption;
cfg = config.${namespace}.application.studio;
studioPackage = pkgs.callPackage (repoRoot + "/packages/studio/default.nix") {
inherit erosanixLib;
};
in
{
options.${namespace}.application.studio = {
@ -10,6 +13,6 @@ in
};
config = mkIf cfg.enable {
home.packages = with pkgs.${namespace}; [ studio ];
home.packages = [ studioPackage ];
};
}

View file

@ -14,7 +14,7 @@ in
enable = true;
package = pkgs.thunderbird-latest;
profiles.${config.snowfallorg.user.name} = {
profiles.chris = {
isDefault = true;
};
};
@ -30,7 +30,7 @@ in
};
thunderbird = {
enable = true;
profiles = [ config.snowfallorg.user.name ];
profiles = [ "chris" ];
};
};

View file

@ -1,14 +1,10 @@
{ inputs, config, lib, pkgs, namespace, ... }:
{ config, lib, pkgs, namespace, ... }:
let
inherit (lib) mkIf mkEnableOption;
cfg = config.${namespace}.application.zen;
in
{
imports = [
inputs.zen-browser.homeModules.default
];
options.${namespace}.application.zen = {
enable = mkEnableOption "enable zen";
};