overlays setup
This commit is contained in:
parent
99cf03a01e
commit
14676a34dc
5
base.nix
5
base.nix
@ -1,4 +1,5 @@
|
||||
{ config, lib, pkgs, ... }: {
|
||||
{ config, lib, pkgs, options, ... }: {
|
||||
imports = [ ./modules/apps.nix ./modules/dev.nix ];
|
||||
system = {
|
||||
copySystemConfiguration = true;
|
||||
stateVersion = "23.11";
|
||||
@ -30,6 +31,8 @@
|
||||
}];
|
||||
};
|
||||
nix = {
|
||||
nixPath = options.nix.nixPath.default
|
||||
++ [ "nixpkgs-overlays=./overlays.nix" ];
|
||||
optimise.automatic = true;
|
||||
gc = {
|
||||
automatic = true;
|
||||
|
||||
18
overlays.nix
Normal file
18
overlays.nix
Normal file
@ -0,0 +1,18 @@
|
||||
final: prev:
|
||||
let overlays = (import <nixpkgs/nixos> { }).config.nixpkgs.overlays;
|
||||
in {
|
||||
gnome = prev.gnome.overrideScope' (gnomeFinal: gnomePrev: {
|
||||
mutter = gnomePrev.mutter.overrideAttrs (old: {
|
||||
src = prev.pkgs.fetchgit {
|
||||
url = "https://gitlab.gnome.org/vanvugt/mutter.git";
|
||||
# GNOME 45: triple-buffering-v4-45
|
||||
rev = "0b896518b2028d9c4d6ea44806d093fd33793689";
|
||||
sha256 = "sha256-mzNy5GPlB2qkI2KEAErJQzO//uo8yO0kPQUwvGDwR4w=";
|
||||
};
|
||||
});
|
||||
});
|
||||
blanket = prev.sl.overrideAttrs (old: {
|
||||
version = "0.7.0";
|
||||
src = prev.fetchFromGitHub { hash = ""; };
|
||||
});
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user