move programs to home-manager modules

This commit is contained in:
lucy 2026-08-31 23:48:18 +02:00
commit 6413f1f1c3
2 changed files with 17 additions and 15 deletions

View file

@ -1,4 +1,12 @@
{ lib, inputs, ...}: {
{
lib,
inputs,
pkgs,
config,
...
}:
{
imports = [ inputs.base16.nixosModule ];
options.theming.theme = lib.mkOption {
type = lib.types.str;
apply = name: "${inputs.tt-schemes}/base16/${name}.yaml";
@ -9,4 +17,9 @@
options.theming.fontPackage = lib.mkOption {
type = lib.types.package;
};
config.theming.theme = "catppuccin-mocha";
config.theming.font = "Iosevka";
config.theming.fontPackage = pkgs.iosevka;
config.scheme = config.theming.theme;
}