-
Notifications
You must be signed in to change notification settings - Fork 0
/
overlays.nix
69 lines (65 loc) · 2.26 KB
/
overlays.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
{ system, inputs, ... }:
let
pkgs-unstable = import inputs.nixpkgs-unstable {
inherit system;
config = {
allowUnfree = true;
};
};
ansible-role-packages = inputs.ansible-role.packages.${system};
dns-drain-packages = inputs.dns-drain.packages.${system};
net-merge-packages = inputs.net-merge.packages.${system};
blink-cmp-packages = inputs.blink-cmp.packages.${system};
in {
nixpkgs.config.permittedInsecurePackages = [
"dotnet-core-combined"
"dotnet-sdk-6.0.428"
"dotnet-sdk-wrapped-6.0.428"
"openssl-1.1.1w"
];
nixpkgs.overlays = [
(self: super: {
all-ways-egpu = super.callPackage ./pkgs/all-ways-egpu {};
ansible-role = ansible-role-packages.ansible-role;
dns-drain = dns-drain-packages.dns-drainctl;
ethr = super.callPackage ./pkgs/ethr {};
net-merge = net-merge-packages.net-merge;
vimPlugins = super.vimPlugins // {
gp-nvim = super.callPackage ./pkgs/gp-nvim {};
blink-cmp = blink-cmp-packages.blink-cmp;
};
})
(self: super: {
unstable = pkgs-unstable;
ansible = super.ansible.override { windowsSupport = true; };
home-assistant = pkgs-unstable.home-assistant;
k3s = pkgs-unstable.k3s;
oh-my-posh = pkgs-unstable.oh-my-posh;
ollama = pkgs-unstable.ollama;
})
(self: super: {
gnome-keyring = super.gnome-keyring.overrideAttrs (oldAttrs: {
configureFlags = oldAttrs.configureFlags or [ ] ++ [
"--disable-ssh-agent"
];
});
gnomeExtensions = super.gnomeExtensions // {
pop-shell = super.gnomeExtensions.pop-shell.overrideAttrs (oldAttrs: {
preFixup = oldAttrs.preFixup + ''
echo '.pop-shell-search-element:select{ color: #DCD7BA !important; }' >> $out/share/gnome-shell/extensions/[email protected]/light.css
'';
});
};
gvisor = super.gvisor.overrideAttrs (old: {
version = "20241210.0";
src = super.fetchFromGitHub {
owner = "google";
repo = "gvisor";
rev = "aa8ecac76a04b495181d784d84bf9ecc4e1fb876";
hash = "sha256-sX3Er0IOXv+HCxQB0lU9oBMTlQJgaf8OJnpkWkFLnRQ=";
};
vendorHash = "sha256-cWMOmCgN+nXZh0X7ZXoguIiFVSXIJAbuuBWxysbgn6U=";
});
})
];
}