chore: routine maintenance

This commit is contained in:
danny 2025-11-23 16:24:38 +08:00
parent c45ba82b90
commit c7743490a7
75 changed files with 1200 additions and 634 deletions

View file

@ -1,6 +1,5 @@
{
inputs,
system,
config,
pkgs,
helper,
@ -8,6 +7,7 @@
...
}:
let
inherit (pkgs.stdenv.hostPlatform) system;
inherit (lib)
mkOption
mkEnableOption
@ -63,6 +63,12 @@ in
description = "Hostname for system";
};
face = mkOption {
type = with types; nullOr path;
description = "User avatar";
default = null;
};
domain = mkOption {
type = types.str;
default = "local";
@ -140,6 +146,7 @@ in
imports = [
inputs.hyprland.homeManagerModules.default
inputs.caelestia-shell.homeManagerModules.default
inputs.sops-nix.homeManagerModules.default
inputs.zen-browser.homeManagerModules.${system}.default
inputs.nvf.homeManagerModules.default
{
@ -148,6 +155,10 @@ in
stateVersion = stateVersion;
};
programs.home-manager.enable = true;
home.file.".face" = mkIf (cfg.face != null) {
source = cfg.face;
};
}
]
++ (optionals cfg.hyprland.enable [