chore: Update to latest nixos-unstable release

- cmus patch added to prevent build failure
- fzf patch removed since it's now in nixos-unstable
- visidata will be fixed in https://github.com/NixOS/nixpkgs/pull/264217
This commit is contained in:
Donovan Glover 2023-10-31 10:15:49 -04:00
parent c8818cb104
commit a59dbb56e7
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65
5 changed files with 33 additions and 26 deletions

View File

@ -169,11 +169,11 @@
]
},
"locked": {
"lastModified": 1698250431,
"narHash": "sha256-qs2gTeH4wpnWPO6Oi6sOhp2IhG0i0DzcnrJxIY3/CP8=",
"lastModified": 1698670511,
"narHash": "sha256-jQIu3UhBMPHXzVkHQO1O2gg8SVo5lqAVoC6mOaLQcLQ=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "09587fbbc6a669f7725613e044c2577dc5d43ab5",
"rev": "8e5416b478e465985eec274bc3a018024435c106",
"type": "github"
},
"original": {
@ -184,11 +184,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1697723726,
"narHash": "sha256-SaTWPkI8a5xSHX/rrKzUe+/uVNy6zCGMXgoeMb7T9rg=",
"lastModified": 1698611440,
"narHash": "sha256-jPjHjrerhYDy3q9+s5EAsuhyhuknNfowY6yt6pjn9pc=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "7c9cc5a6e5d38010801741ac830a3f8fd667a7a0",
"rev": "0cbe9f69c234a7700596e943bfae7ef27a31b735",
"type": "github"
},
"original": {
@ -246,11 +246,11 @@
]
},
"locked": {
"lastModified": 1698085074,
"narHash": "sha256-0lNNuIkkyG5FhJD/I9qIZ9dynZBWfIFSXe/YGUuEzSU=",
"lastModified": 1698499630,
"narHash": "sha256-OGJUX84240wSlhRyXjrJikXmHX1VeN2ZXvfdLvrAh0o=",
"owner": "danth",
"repo": "stylix",
"rev": "91e46dec675ec37fd3f9745754d10bb7e392db98",
"rev": "7a7987c7828050ef9a8ca6af07ca98485053776b",
"type": "github"
},
"original": {

View File

@ -57,7 +57,7 @@
rmlint
sd
smartmontools
visidata
# visidata
scc
hwinfo
stress
@ -119,8 +119,12 @@
];
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
"osu-lazer-bin-2023.1008.1"
"osu-lazer-bin-2023.1026.0"
];
environment.defaultPackages = [ ];
nixpkgs.config.permittedInsecurePackages = [
"electron-24.8.6" # logseq
];
}

17
overlays/cmus.nix Normal file
View File

@ -0,0 +1,17 @@
{ pkgs, ... }:
{
nixpkgs.overlays = [
(final: prev: {
cmus = prev.cmus.overrideAttrs (oldAttrs: {
patches = (oldAttrs.patches or [ ]) ++ [
# ffmpeg 6 fix https://github.com/cmus/cmus/pull/1254
(pkgs.fetchpatch {
url = "https://github.com/cmus/cmus/commit/07b368ff1500e1d2957cad61ced982fa10243fbc.patch";
hash = "sha256-5gsz3q8R9FPobHoLj8BQPsa9s4ULEA9w2VQR+gmpmgA=";
})
];
});
})
];
}

View File

@ -1,7 +1,7 @@
{
imports = [
./alejandra.nix
./fzf.nix
./cmus.nix
./hyprnome.nix
./zola.nix
];

View File

@ -1,14 +0,0 @@
{
nixpkgs.overlays = [
(final: prev: {
fzf = prev.fzf.overrideAttrs (oldAttrs: {
postInstall = (oldAttrs.postInstall or "") + ''
cat << EOF > $out/share/fish/vendor_conf.d/load-fzf-key-bindings.fish
status is-interactive; or exit 0
fzf_key_bindings
EOF
'';
});
})
];
}