-
-
Save Steell/fd30ca9259cc04ca80a3f045f7eba0ed to your computer and use it in GitHub Desktop.
NixOs module override
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, ... }: | |
{ | |
disabledModules = [ | |
"services/audio/roon-server.nix" | |
]; | |
imports = [ | |
./roon-server-pinned.nix | |
]; | |
... | |
} |
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
args@{config, lib, pkgs, ...}: | |
let | |
pin = builtins.fetchTarball { | |
name = "nixos-2020-08-25"; | |
url = "https://github.com/nixos/nixpkgs/archive/28945790d05bf78ae7979d68736b657736d9370e.tar.gz"; | |
sha256 = "101m5zj4cr3g6slpda4m6k9yqbxf1gmdy6h1jpfbf47yrq2zs86n"; | |
}; | |
unstable = import pin { config = { allowUnfree = true; }; }; | |
in | |
(import (pin + "/nixos/modules/services/audio/roon-server.nix") ({ | |
pkgs = unstable; | |
} // (removeAttrs args ["pkgs"]))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment