43 lines
1 KiB
Nix
43 lines
1 KiB
Nix
{
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
base16.url = "github:SenchoPens/base16.nix";
|
|
tt-schemes = {
|
|
url = "github:tinted-theming/schemes";
|
|
flake = false;
|
|
};
|
|
home-manager.url = "github:nix-community/home-manager";
|
|
};
|
|
outputs =
|
|
{
|
|
self,
|
|
nixpkgs,
|
|
base16,
|
|
home-manager,
|
|
...
|
|
}@inputs:
|
|
let
|
|
theme = "catppuccin-mocha";
|
|
in
|
|
{
|
|
nixosConfigurations.nerv = nixpkgs.lib.nixosSystem {
|
|
specialArgs = { inherit inputs; };
|
|
modules = [
|
|
base16.nixosModule
|
|
{ scheme = "${inputs.tt-schemes}/base16/${theme}.yaml"; }
|
|
./modules/hosts/nerv/configuration.nix
|
|
home-manager.nixosModules.home-manager
|
|
{
|
|
home-manager.useGlobalPkgs = true;
|
|
home-manager.useUserPackages = true;
|
|
home-manager.extraSpecialArgs = { inherit inputs; };
|
|
imports = [
|
|
./modules/programs/emacs.nix
|
|
];
|
|
}
|
|
];
|
|
};
|
|
|
|
};
|
|
|
|
}
|