28 lines
765 B
Nix
28 lines
765 B
Nix
{
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
wrappers.url = "github:BirdeeHub/nix-wrapper-modules";
|
|
flake-parts.url = "github:hercules-ci/flake-parts";
|
|
|
|
};
|
|
outputs = { self, nixpkgs, wrappers, flake-parts, ... }@inputs:
|
|
flake-parts.lib.mkFlake { inherit inputs; } ({config, ...}: {
|
|
systems = [ "x86_64-linux" ];
|
|
imports = [
|
|
wrappers.flakeModules.wrappers
|
|
./modules/programs/emacs/emacs.nix
|
|
];
|
|
flake.nixosConfigurations.nerv = inputs.nixpkgs.lib.nixosSystem {
|
|
specialArgs = { inherit inputs; };
|
|
modules = [
|
|
./modules/hosts/nerv/configuration.nix
|
|
config.flake.wrappers.emacs.install
|
|
{ wrappers.emacs.enable = true; }
|
|
];
|
|
};
|
|
|
|
});
|
|
|
|
|
|
}
|
|
|