Last active
December 4, 2017 05:56
-
-
Save LisannaAtHome/4227bcd2a5cf8d962fbd61b76f2bf234 to your computer and use it in GitHub Desktop.
Using a custom channel in a custom module with NixOS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ config, pkgs, ... }: | |
let | |
myCustomChannel = import <myCustomChannel> | |
{ inherit pkgs; }; | |
in { | |
imports = [ (import <myCustomChannel/myCustomModule.nix> { inherit myCustomChannel; }) ]; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ myCustomChannel }: | |
{ config, lib, pkgs, ... }: | |
let | |
cfg = config.services.myCustomModule; | |
in | |
{ options = ...; | |
config = ...; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment