Compare commits

..

No commits in common. "bf41da3a33865f0be6b4ad34e98fdcdd665cf80a" and "891ce0ce17ff543ea15d7dcbf8588d5598bc0f5a" have entirely different histories.

3 changed files with 66 additions and 75 deletions

View file

@ -4,19 +4,70 @@
...
}:
with inputs;
final: prev: let
pkgsConfig = {
inherit system;
config.allowUnfree = true;
};
final: prev: {
# WebOne HTTP proxy.
webone = prev.pkgs.callPackage ./packages/webone {};
pkgs-unstable = import nixpkgs-unstable pkgsConfig;
pkgs-pr-feishin = import nixpkgs-pr-feishin pkgsConfig;
in {
# My packages.
webone = prev.pkgs.callPackage ./packages/webone {}; # WebOne HTTP proxy.
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.
# Yazi Gruvbox theme.
yazi-flavour-kanagawa-dragon = prev.pkgs.callPackage ./packages/yazi-flavour-kanagawa-dragon {};
# Dymo label printer drivers.
cups-dymo = prev.pkgs.callPackage ./packages/cups-dymo {};
# 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.
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.
iosevka = prev.iosevka.override {
set = "Custom";

View file

@ -33,12 +33,6 @@ with lib; {
# Enable firmware updates.
services.fwupd.enable = true;
# Enable zram swap.
zramSwap = {
enable = true;
algorithm = "lz4";
};
# Set time zone.
time.timeZone = "Australia/Perth";

View file

@ -31,6 +31,9 @@ with lib; {
binfmt.emulatedSystems = ["aarch64-linux"];
};
# Enable zram swap.
zramSwap.enable = true;
# Enable smart card support (for YubiKey).
services.pcscd.enable = true;