added comments
This commit is contained in:
parent
8c00b252ce
commit
a85b35995e
1 changed files with 17 additions and 0 deletions
17
flake.nix
17
flake.nix
|
@ -1,6 +1,10 @@
|
||||||
{
|
{
|
||||||
description = "My awesome system config";
|
description = "My awesome system config";
|
||||||
|
|
||||||
|
##############
|
||||||
|
### Inputs ###
|
||||||
|
##############
|
||||||
|
|
||||||
inputs = {
|
inputs = {
|
||||||
nixpkgs.url = "github:nixos/nixpkgs/release-21.05";
|
nixpkgs.url = "github:nixos/nixpkgs/release-21.05";
|
||||||
unstable.url = "github:nixos/nixpkgs/nixos-unstable";
|
unstable.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||||
|
@ -33,6 +37,11 @@
|
||||||
inherit self inputs;
|
inherit self inputs;
|
||||||
|
|
||||||
channelsConfig.allowUnfree = true;
|
channelsConfig.allowUnfree = true;
|
||||||
|
|
||||||
|
################
|
||||||
|
### Overlays ###
|
||||||
|
################
|
||||||
|
|
||||||
overlay = import ./overlays { inherit inputs; };
|
overlay = import ./overlays { inherit inputs; };
|
||||||
overlays = utils.lib.exportOverlays { inherit (self) pkgs inputs; };
|
overlays = utils.lib.exportOverlays { inherit (self) pkgs inputs; };
|
||||||
|
|
||||||
|
@ -43,6 +52,9 @@
|
||||||
inputs.nur.overlay
|
inputs.nur.overlay
|
||||||
];
|
];
|
||||||
|
|
||||||
|
###############
|
||||||
|
### Modules ###
|
||||||
|
###############
|
||||||
|
|
||||||
nixosModules = utils.lib.exportModules [
|
nixosModules = utils.lib.exportModules [
|
||||||
./modules/default.nix
|
./modules/default.nix
|
||||||
|
@ -69,6 +81,11 @@
|
||||||
self.nixosModules.containers
|
self.nixosModules.containers
|
||||||
self.nixosModules.gaming
|
self.nixosModules.gaming
|
||||||
];
|
];
|
||||||
|
|
||||||
|
###############
|
||||||
|
### Outputs ###
|
||||||
|
###############
|
||||||
|
|
||||||
outputsBuilder = channels:
|
outputsBuilder = channels:
|
||||||
with channels.nixpkgs; {
|
with channels.nixpkgs; {
|
||||||
devShell = mkShell {
|
devShell = mkShell {
|
||||||
|
|
Loading…
Reference in a new issue