{ description = "Fudo Home Manager Configuration"; inputs = { nixpkgs.url = "nixpkgs/nixos-23.05"; home-manager = { url = "github:nix-community/home-manager/release-23.05"; inputs.nixpkgs.follows = "nixpkgs"; }; doom-emacs.url = "github:vlaci/nix-doom-emacs"; niten-doom-config = { url = "git+https://git.fudo.org/niten/doom-emacs.git"; flake = false; }; }; outputs = { self, home-manager, doom-emacs, niten-doom-config, ... }: { nixosModule = { imports = [ home-manager.nixosModules.home-manager (import ./module.nix { inherit doom-emacs niten-doom-config; }) ]; }; mkModule = { username, user-email, home-dir, enable-gui ? false, ... }: import ./niten.nix { inherit username user-email home-dir enable-gui doom-emacs niten-doom-config; }; }; }