diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2021-01-01 12:21:09 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2021-01-01 12:34:19 +0100 |
commit | 74a10960d8659eaffa8224cee31fcf217c69609f (patch) | |
tree | bc8719c7cfb5b74b60dfc5fbd55b4c0f8663f54c /flakes/openarc/flake.nix | |
parent | 0ba91bdd57fd6b08f00197d65cd298c317aa164f (diff) | |
download | Nix-74a10960d8659eaffa8224cee31fcf217c69609f.tar.gz Nix-74a10960d8659eaffa8224cee31fcf217c69609f.tar.zst Nix-74a10960d8659eaffa8224cee31fcf217c69609f.zip |
Use flake for openarc modules
Diffstat (limited to 'flakes/openarc/flake.nix')
-rw-r--r-- | flakes/openarc/flake.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/flakes/openarc/flake.nix b/flakes/openarc/flake.nix index bdb0358..9bc104d 100644 --- a/flakes/openarc/flake.nix +++ b/flakes/openarc/flake.nix | |||
@@ -75,6 +75,7 @@ | |||
75 | }; | 75 | }; |
76 | }) // { | 76 | }) // { |
77 | hydraJobs.build = nixpkgs.lib.genAttrs flake-utils.lib.defaultSystems (system: self.defaultPackage."${system}"); | 77 | hydraJobs.build = nixpkgs.lib.genAttrs flake-utils.lib.defaultSystems (system: self.defaultPackage."${system}"); |
78 | nixosModules = (if builtins.pathExists ./private.nix then import ./private.nix nixpkgs else {}); | ||
78 | nixosModule = { config, lib, pkgs, ... }: | 79 | nixosModule = { config, lib, pkgs, ... }: |
79 | let | 80 | let |
80 | cfg = config.services.openarc; | 81 | cfg = config.services.openarc; |