cleaned up configuration structure to have common modules folder
This commit is contained in:
parent
11092d11b5
commit
b1b43bb7f0
13 changed files with 25 additions and 22 deletions
7
modules/default.nix
Normal file
7
modules/default.nix
Normal file
|
@ -0,0 +1,7 @@
|
|||
# this folder is for modules that are common between nixos, home-manager, and darwin
|
||||
{...}: {
|
||||
imports = [
|
||||
./overlays
|
||||
./pkgs
|
||||
];
|
||||
}
|
3
modules/overlays/default.nix
Normal file
3
modules/overlays/default.nix
Normal file
|
@ -0,0 +1,3 @@
|
|||
# this folder is for derivation overlays
|
||||
{...}: {
|
||||
}
|
4
modules/pkgs/default.nix
Normal file
4
modules/pkgs/default.nix
Normal file
|
@ -0,0 +1,4 @@
|
|||
# this folder is for custom derivations
|
||||
{...}: {
|
||||
# package = pkgs.callPackage ./package.nix {};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue