i fucking hate this shit already
This commit is contained in:
commit
69ad8d41af
5 changed files with 295 additions and 0 deletions
28
flake.nix
Normal file
28
flake.nix
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
{
|
||||
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; }
|
||||
];
|
||||
};
|
||||
|
||||
});
|
||||
|
||||
|
||||
}
|
||||
|
||||
Loading…
Reference in a new issue