33 lines
906 B
Nix
33 lines
906 B
Nix
{
|
|
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, pkgs, ... }:
|
|
import ./niten.nix {
|
|
inherit username user-email home-dir enable-gui doom-emacs niten-doom-config;
|
|
};
|
|
};
|
|
}
|