aboutsummaryrefslogtreecommitdiff
path: root/lib/default.nix
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-06-09 09:40:02 -0700
committerFranck Cuny <franck@fcuny.net>2022-06-09 10:59:05 -0700
commit6d25860b08178432a294197dd72eccaf733016d8 (patch)
tree47b04f7f14943df3260f788d2ffc6c21dd0914f9 /lib/default.nix
parentref(profiles): get rid of all the profiles (diff)
downloadinfra-6d25860b08178432a294197dd72eccaf733016d8.tar.gz
ref(nix): rename lib/ to nix/
Change-Id: If1e608b89b39bd5a53a37b873833a7ea881cb418 Reviewed-on: https://cl.fcuny.net/c/world/+/298 Reviewed-by: Franck Cuny <franck@fcuny.net>
Diffstat (limited to 'lib/default.nix')
-rw-r--r--lib/default.nix39
1 files changed, 0 insertions, 39 deletions
diff --git a/lib/default.nix b/lib/default.nix
deleted file mode 100644
index 8b46c58..0000000
--- a/lib/default.nix
+++ /dev/null
@@ -1,39 +0,0 @@
-{ inputs }:
-
-{
- mkSystem =
- { hostname
- , system
- }:
- inputs.nixpkgs.lib.nixosSystem {
- inherit system;
- specialArgs = {
- inherit inputs system hostname;
- };
- modules = [
- ../modules
- ../hosts/${hostname}
- ./private-wireguard.nix
- {
- networking.hostName = hostname;
- nixpkgs = {
- config.allowUnfree = true;
- overlays = [
- inputs.emacs-overlay.overlay
- inputs.nur.overlay
- (final: prev: {
- tools = {
- gerrit-hook = import ../tools/gerrit-hook final;
- };
- })
- ];
- };
- # Add each input as a registry
- nix.registry = inputs.nixpkgs.lib.mapAttrs'
- (n: v:
- inputs.nixpkgs.lib.nameValuePair (n) ({ flake = v; }))
- inputs;
- }
- ];
- };
-}