Skip to content

Commit

Permalink
fix: nixpkgs
Browse files Browse the repository at this point in the history
  • Loading branch information
sioodmy committed May 9, 2024
1 parent 205e526 commit a33ee63
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 29 deletions.
38 changes: 19 additions & 19 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
});

inputs = {
nixpkgs.url = "github:nixos/nixpkgs/58a1abdbae3217ca6b702f03d3b35125d88a2994";
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
nixpkgs-small.url = "github:NixOS/nixpkgs/nixos-unstable-small"; # moves faster, has less packages
nixos-hardware.url = "github:nixos/nixos-hardware";
impermanence.url = "github:nix-community/impermanence";
Expand Down
16 changes: 8 additions & 8 deletions home/rice/dunst.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@
in {
services.dunst = {
enable = true;
package = pkgs.dunst.overrideAttrs (_: {
src = pkgs.fetchFromGitHub {
owner = "sioodmy";
repo = "dunst";
rev = "6477864bd870dc74f9cf76bb539ef89051554525";
sha256 = "FCoGrYipNOZRvee6Ks5PQB5y2IvN+ptCAfNuLXcD8Sc=";
};
});
# package = pkgs.dunst.overrideAttrs (_: {
# src = pkgs.fetchFromGitHub {
# owner = "sioodmy";
# repo = "dunst";
# rev = "6477864bd870dc74f9cf76bb539ef89051554525";
# sha256 = "FCoGrYipNOZRvee6Ks5PQB5y2IvN+ptCAfNuLXcD8Sc=";
# };
# });
iconTheme = {
package = pkgs.catppuccin-papirus-folders;
name = "Papirus";
Expand Down
10 changes: 9 additions & 1 deletion system/core/nix.nix
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,14 @@
];

overlays = [
(self: super: {
# temporary fix until upstream applies the fix we have used
# which is just to add wrapGAppsNoGuiHook to the nativeBuildInputs
# See: <https://github.com/NixOS/nixpkgs/pull/309315>
networkd-dispatcher = super.networkd-dispatcher.overrideAttrs (oldAttrs: {
nativeBuildInputs = (oldAttrs.nativeBuildInputs or []) ++ [pkgs.wrapGAppsNoGuiHook];
});
})
# workaround for: https://github.com/NixOS/nixpkgs/issues/154163
(_: super: {
coreutils = super.uutils-coreutils-noprefix;
Expand All @@ -64,7 +72,7 @@
dates = "daily";
options = "--delete-older-than 3d";
};
# package = pkgs.nixVersions.git;
package = pkgs.nixVersions.git;

# Make builds run with low priority so my system stays responsive
daemonCPUSchedPolicy = "idle";
Expand Down

0 comments on commit a33ee63

Please sign in to comment.