Compare commits
No commits in common. "bf41da3a33865f0be6b4ad34e98fdcdd665cf80a" and "891ce0ce17ff543ea15d7dcbf8588d5598bc0f5a" have entirely different histories.
bf41da3a33
...
891ce0ce17
3 changed files with 66 additions and 75 deletions
132
overlay.nix
132
overlay.nix
|
@ -4,19 +4,70 @@
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
with inputs;
|
with inputs;
|
||||||
final: prev: let
|
final: prev: {
|
||||||
pkgsConfig = {
|
# WebOne HTTP proxy.
|
||||||
inherit system;
|
webone = prev.pkgs.callPackage ./packages/webone {};
|
||||||
config.allowUnfree = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
pkgs-unstable = import nixpkgs-unstable pkgsConfig;
|
# Yazi Gruvbox theme.
|
||||||
pkgs-pr-feishin = import nixpkgs-pr-feishin pkgsConfig;
|
yazi-flavour-kanagawa-dragon = prev.pkgs.callPackage ./packages/yazi-flavour-kanagawa-dragon {};
|
||||||
in {
|
|
||||||
# My packages.
|
# Dymo label printer drivers.
|
||||||
webone = prev.pkgs.callPackage ./packages/webone {}; # WebOne HTTP proxy.
|
cups-dymo = prev.pkgs.callPackage ./packages/cups-dymo {};
|
||||||
yazi-flavour-kanagawa-dragon = prev.pkgs.callPackage ./packages/yazi-flavour-kanagawa-dragon {}; # Kanagawa theme for yazi.
|
|
||||||
cups-dymo = prev.pkgs.callPackage ./packages/cups-dymo {}; # Dymo label printer drivers.
|
# Latest protonmail-desktop
|
||||||
|
protonmail-desktop = (import nixpkgs-unstable {inherit system;}).protonmail-desktop;
|
||||||
|
|
||||||
|
# Latest Rockbox Utility.
|
||||||
|
rockbox-utility = (import nixpkgs-unstable {inherit system;}).rockbox-utility;
|
||||||
|
|
||||||
|
# Latest FluffyChat.
|
||||||
|
fluffychat =
|
||||||
|
(import nixpkgs-unstable
|
||||||
|
{
|
||||||
|
inherit system;
|
||||||
|
overlays = [
|
||||||
|
(final: prev: {
|
||||||
|
fluffychat = prev.fluffychat.overrideAttrs (prevAttrs: {
|
||||||
|
desktopItems = [
|
||||||
|
((builtins.elemAt prevAttrs.desktopItems 0).override {startupWMClass = "fluffychat";})
|
||||||
|
];
|
||||||
|
});
|
||||||
|
})
|
||||||
|
];
|
||||||
|
}).fluffychat;
|
||||||
|
|
||||||
|
# Latest Feishin.
|
||||||
|
feishin =
|
||||||
|
(import nixpkgs-pr-feishin {
|
||||||
|
inherit system;
|
||||||
|
overlays = [
|
||||||
|
(final: prev: {
|
||||||
|
feishin = prev.feishin.overrideAttrs (prevAttrs: rec {
|
||||||
|
pname = "feishin";
|
||||||
|
version = "0.18.0";
|
||||||
|
|
||||||
|
src = prev.fetchFromGitHub {
|
||||||
|
owner = "jeffvli";
|
||||||
|
repo = "feishin";
|
||||||
|
rev = "v${version}";
|
||||||
|
hash = "sha256-4gcS7Vd7LSpEByO2Hlk6nb8V2adBPh5XwWGCu2lwOA4=";
|
||||||
|
};
|
||||||
|
|
||||||
|
pnpmDeps = prev.pnpm_10.fetchDeps {
|
||||||
|
inherit pname version src;
|
||||||
|
hash = "sha256-1MGxrUcfvazxAubaYAsQuulUKm05opWOIC7oaLzjr7o=";
|
||||||
|
};
|
||||||
|
});
|
||||||
|
})
|
||||||
|
];
|
||||||
|
}).feishin;
|
||||||
|
|
||||||
|
# PrismLauncher with Temurin JRE;
|
||||||
|
prismlauncher = prev.prismlauncher.override {
|
||||||
|
jdks = [
|
||||||
|
prev.pkgs.temurin-jre-bin
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
# Kanagawa Dragon theme for tmux.
|
# Kanagawa Dragon theme for tmux.
|
||||||
tmuxPlugins =
|
tmuxPlugins =
|
||||||
|
@ -35,63 +86,6 @@ with inputs;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
## Unstable channel. ##
|
|
||||||
|
|
||||||
protonmail-desktop = pkgs-unstable.protonmail-desktop; # Protonmail desktop client.
|
|
||||||
rockbox-utility = pkgs-unstable.rockbox-utility; # Rockbox installer.
|
|
||||||
|
|
||||||
# Fluffychat.
|
|
||||||
fluffychat =
|
|
||||||
(pkgs-unstable
|
|
||||||
// {
|
|
||||||
overlay = [
|
|
||||||
(final: prev: {
|
|
||||||
fluffychat = prev.fluffychat.overrideAttrs (prevAttrs: {
|
|
||||||
desktopItems = [
|
|
||||||
((builtins.elemAt prevAttrs.desktopItems 0).override {startupWMClass = "fluffychat";})
|
|
||||||
];
|
|
||||||
});
|
|
||||||
})
|
|
||||||
];
|
|
||||||
}).fluffychat;
|
|
||||||
|
|
||||||
## Pull requests. ##
|
|
||||||
|
|
||||||
# Feishin music player.
|
|
||||||
feishin =
|
|
||||||
(pkgs-pr-feishin
|
|
||||||
// {
|
|
||||||
overlay = [
|
|
||||||
(final: prev: {
|
|
||||||
feishin = prev.feishin.overrideAttrs (prevAttrs: rec {
|
|
||||||
pname = "feishin";
|
|
||||||
version = "0.18.0";
|
|
||||||
|
|
||||||
src = prev.fetchFromGitHub {
|
|
||||||
owner = "jeffvli";
|
|
||||||
repo = "feishin";
|
|
||||||
rev = "v${version}";
|
|
||||||
hash = "sha256-4gcS7Vd7LSpEByO2Hlk6nb8V2adBPh5XwWGCu2lwOA4=";
|
|
||||||
};
|
|
||||||
|
|
||||||
pnpmDeps = prev.pnpm_10.fetchDeps {
|
|
||||||
inherit pname version src;
|
|
||||||
hash = "sha256-1MGxrUcfvazxAubaYAsQuulUKm05opWOIC7oaLzjr7o=";
|
|
||||||
};
|
|
||||||
});
|
|
||||||
})
|
|
||||||
];
|
|
||||||
}).feishin;
|
|
||||||
|
|
||||||
## Modifications ##
|
|
||||||
|
|
||||||
# PrismLauncher with Temurin JRE;
|
|
||||||
prismlauncher = prev.prismlauncher.override {
|
|
||||||
jdks = [
|
|
||||||
prev.pkgs.temurin-jre-bin
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
# Custom iosevka build.
|
# Custom iosevka build.
|
||||||
iosevka = prev.iosevka.override {
|
iosevka = prev.iosevka.override {
|
||||||
set = "Custom";
|
set = "Custom";
|
||||||
|
|
|
@ -33,12 +33,6 @@ with lib; {
|
||||||
# Enable firmware updates.
|
# Enable firmware updates.
|
||||||
services.fwupd.enable = true;
|
services.fwupd.enable = true;
|
||||||
|
|
||||||
# Enable zram swap.
|
|
||||||
zramSwap = {
|
|
||||||
enable = true;
|
|
||||||
algorithm = "lz4";
|
|
||||||
};
|
|
||||||
|
|
||||||
# Set time zone.
|
# Set time zone.
|
||||||
time.timeZone = "Australia/Perth";
|
time.timeZone = "Australia/Perth";
|
||||||
|
|
||||||
|
|
|
@ -31,6 +31,9 @@ with lib; {
|
||||||
binfmt.emulatedSystems = ["aarch64-linux"];
|
binfmt.emulatedSystems = ["aarch64-linux"];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Enable zram swap.
|
||||||
|
zramSwap.enable = true;
|
||||||
|
|
||||||
# Enable smart card support (for YubiKey).
|
# Enable smart card support (for YubiKey).
|
||||||
services.pcscd.enable = true;
|
services.pcscd.enable = true;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue