added comments

nixos
Moritz Böhme 2021-10-05 13:58:06 +02:00
parent 8c00b252ce
commit a85b35995e
1 changed files with 17 additions and 0 deletions

View File

@ -1,6 +1,10 @@
{
description = "My awesome system config";
##############
### Inputs ###
##############
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/release-21.05";
unstable.url = "github:nixos/nixpkgs/nixos-unstable";
@ -33,6 +37,11 @@
inherit self inputs;
channelsConfig.allowUnfree = true;
################
### Overlays ###
################
overlay = import ./overlays { inherit inputs; };
overlays = utils.lib.exportOverlays { inherit (self) pkgs inputs; };
@ -43,6 +52,9 @@
inputs.nur.overlay
];
###############
### Modules ###
###############
nixosModules = utils.lib.exportModules [
./modules/default.nix
@ -69,6 +81,11 @@
self.nixosModules.containers
self.nixosModules.gaming
];
###############
### Outputs ###
###############
outputsBuilder = channels:
with channels.nixpkgs; {
devShell = mkShell {