diff --git a/flake.nix b/flake.nix index a3f86aa..403f54a 100644 --- a/flake.nix +++ b/flake.nix @@ -8,6 +8,10 @@ nixos-hardware.url = "github:NixOS/nixos-hardware/master"; impermanence.url = "github:nix-community/impermanence"; flake-utils.url = "github:numtide/flake-utils"; + nixpkgs-wayland = { + url = "github:nix-community/nixpkgs-wayland"; + inputs.nixpkgs.follows = "nixpkgs"; + }; mailserver.url = "gitlab:/simple-nixos-mailserver/nixos-mailserver"; sops-nix = { url = "github:Mic92/sops-nix"; @@ -18,6 +22,7 @@ self, nixpkgs, flake-utils, + nixpkgs-wayland, mailserver, sops-nix, ... @@ -63,6 +68,7 @@ }; modules = [ + ({config, ...}: {config.nixpkgs.overlays = [nixpkgs-wayland.overlay];}) (toString ./options/machine.nix) sops-nix.nixosModules.sops ]