tangled
alpha
login
or
join now
quilling.dev
/
nixos-config
2
fork
atom
My personal nix config files. Feel free to import flake.
2
fork
atom
overview
issues
pulls
pipelines
add /overlays
quilling.dev
1 year ago
347650f3
fad78405
+36
2 changed files
expand all
collapse all
unified
split
flake.nix
overlays
default.nix
+2
flake.nix
···
107
107
# # Default overlay
108
108
# overlays.default = final: prev: {};
109
109
110
110
+
overlays = import ./overlays {inherit inputs;};
111
111
+
110
112
# # Nixos module, consumed by other flakes
111
113
# nixosModules."<name>" = {config, ...}: {
112
114
# options = {};
+34
overlays/default.nix
···
1
1
+
# This file defines overlays
2
2
+
{
3
3
+
# inputs,
4
4
+
...
5
5
+
}: {
6
6
+
# This one brings our custom packages from the 'pkgs' directory
7
7
+
additions = final: _prev: import ../pkgs final.pkgs;
8
8
+
9
9
+
# This one contains whatever you want to overlay
10
10
+
# You can change versions, add patches, set compilation flags, anything really.
11
11
+
# https://nixos.wiki/wiki/Overlays
12
12
+
modifications = final: prev: {
13
13
+
# example = prev.example.overrideAttrs (oldAttrs: rec {
14
14
+
# ...
15
15
+
# });
16
16
+
ffmpeg_7-full = prev.ffmpeg_7-full.override {
17
17
+
# Required for handbrake
18
18
+
# The latest xev release has broken the ffmpeg package until 7.1, or until the fix is merged in nixos-unstable.
19
19
+
# https://github.com/NixOS/nixpkgs/pull/353198
20
20
+
withXevd = false;
21
21
+
withXeve = false;
22
22
+
};
23
23
+
_7zz = prev._7zz.override { useUasm = true; }; # Hotfixes #353119 ; "Build failure: _7zz" ; https://github.com/NixOS/nixpkgs/issues/353119 ; Resolved by #353272 ; "_7zz: disable UASM properly" ; https://github.com/NixOS/nixpkgs/pull/353272
24
24
+
};
25
25
+
26
26
+
# When applied, the unstable nixpkgs set (declared in the flake inputs) will
27
27
+
# be accessible through 'pkgs.unstable'
28
28
+
# unstable-packages = final: _prev: {
29
29
+
# unstable = import inputs.nixpkgs-unstable {
30
30
+
# system = final.system;
31
31
+
# config.allowUnfree = true;
32
32
+
# };
33
33
+
# };
34
34
+
}