Nix-Config/modules/home/default.nix
2026-10-03 22:30:09 -05:00

21 lines
No EOL
474 B
Nix

{ inputs, config, lib, pkgs, ... }:
with lib;
let
cfg = config.nyxs-nix.services.home;
in {
options.nyxs-nix.services.home = with lib.types; {
enable = mkEnableOption "Enable Home Manager";
};
config = mkIf cfg.enable {
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
backupFileExtension = ".bak";
users = {
"nyxerinys" = import ./nyxerinys;
};
extraSpecialArgs = { inherit inputs; };
};
};
}