split overlays off

This commit is contained in:
LavaDesu 2021-05-13 17:59:46 +07:00
parent c55d5756ea
commit 915e86ea3f
Signed by: cilly
GPG key ID: 6500251E087653C9
4 changed files with 38 additions and 25 deletions

View file

@ -1,4 +1,4 @@
{ config, pkgs, ... }: {
{ config, overlays, pkgs, ... }: {
networking.hostName = "winter";
system.stateVersion = "20.09";
@ -16,18 +16,9 @@
experimental-features = nix-command flakes
'';
};
nixpkgs.overlays = [
(self: super: {
polybar = super.polybar.override { i3Support = true; };
picom = super.picom.overrideAttrs(old: {
src = pkgs.fetchFromGitHub {
repo = "picom";
owner = "ibhagwan";
rev = "60eb00ce1b52aee46d343481d0530d5013ab850b";
sha256 = "1m17znhl42sa6ry31yiy05j5ql6razajzd6s3k2wz4c63rc2fd1w";
};
});
})
nixpkgs.overlays = with overlays; [
polybar
picom
];
nixpkgs.config.allowUnfree = true;