refactor: complete overhaul
Complete overhaul of repo structure based on nvix. See https://github.com/niksingh710/nvix Signed-off-by: Lander Van den Bulcke <landervandenbulcke@gmail.com>
This commit is contained in:
parent
ff2c59724a
commit
61feed4086
75 changed files with 2916 additions and 2314 deletions
23
modules/flake/default.nix
Normal file
23
modules/flake/default.nix
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
{ inputs, self, ... }:
|
||||
{
|
||||
debug = true;
|
||||
|
||||
imports = [ ./devshell.nix ];
|
||||
|
||||
perSystem =
|
||||
{ lib, system, ... }:
|
||||
{
|
||||
_module.args = {
|
||||
flake = { inherit inputs self; };
|
||||
pkgs = import inputs.nixpkgs {
|
||||
inherit system;
|
||||
overlays = lib.attrValues self.overlays;
|
||||
config.allowUnfree = true;
|
||||
};
|
||||
};
|
||||
|
||||
imports = [
|
||||
(self + /packages)
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue