From 3bb79a09456bab6362b6440a2550e616a7821f9f Mon Sep 17 00:00:00 2001 From: Yorick van Pelt Date: Sun, 3 Jan 2021 17:38:16 +0100 Subject: [PATCH] remove nixpkgs-wayland impurity --- nix/sources.json | 12 ++++++++++++ roles/workstation.nix | 3 +++ 2 files changed, 15 insertions(+) diff --git a/nix/sources.json b/nix/sources.json index 57edd2e..24d095a 100644 --- a/nix/sources.json +++ b/nix/sources.json @@ -34,5 +34,17 @@ "type": "tarball", "url": "https://github.com/NixOS/nixpkgs/archive/733e537a8ad76fd355b6f501127f7d0eb8861775.tar.gz", "url_template": "https://github.com///archive/.tar.gz" + }, + "nixpkgs-wayland": { + "branch": "master", + "description": "Automated, pre-built packages for Wayland (sway/wlroots) tools for NixOS.", + "homepage": "", + "owner": "colemickens", + "repo": "nixpkgs-wayland", + "rev": "80a15b9aaf56cc559cf0028763776cadad36ece2", + "sha256": "02s1k36iypsa7y1brwarz5y74dcrnn5qqplih3jq4dh0baqliiz0", + "type": "tarball", + "url": "https://github.com/colemickens/nixpkgs-wayland/archive/80a15b9aaf56cc559cf0028763776cadad36ece2.tar.gz", + "url_template": "https://github.com///archive/.tar.gz" } } diff --git a/roles/workstation.nix b/roles/workstation.nix index 1678db4..0e15a36 100644 --- a/roles/workstation.nix +++ b/roles/workstation.nix @@ -1,5 +1,6 @@ { config, lib, pkgs, ... }: let + sources = import ../nix/sources.nix; nixNetrcFile = pkgs.runCommand "nix-netrc-file" { hostname = "cache.lumi.guide"; username = "lumi"; @@ -15,6 +16,8 @@ in imports = [ ./graphical.nix ]; + + nixpkgs.overlays = [ (import sources.nixpkgs-wayland) ]; users.extraUsers.yorick.extraGroups = [ "input" "wireshark" "dialout" ]; services.printing = { enable = true;