Compare commits

..

No commits in common. "e28827027e5eb0977a22a2980c9604079a9842ad" and "79d7e8c00d6ab8c001d365ec25baaa56ccc550b3" have entirely different histories.

5 changed files with 26 additions and 32 deletions

View File

@ -2,16 +2,16 @@
"nodes": {
"nixpkgs": {
"locked": {
"lastModified": 1722372011,
"narHash": "sha256-B2xRiC3NEJy/82ugtareBkRqEkPGpMyjaLxaR8LBxNs=",
"lastModified": 1687288566,
"narHash": "sha256-VckkiJ88Gzdc2cstm0z5eFcrHbvkm4VjxavHBGssvZI=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "cf05eeada35e122770c5c14add958790fcfcbef5",
"rev": "b6c73c5fe53bb3afbf65e870541e0645e9145171",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-24.05",
"ref": "nixos-23.05",
"repo": "nixpkgs",
"type": "github"
}

View File

@ -1,16 +1,26 @@
{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05";
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.05";
};
outputs = { self, nixpkgs }:
let
system = "x86_64-linux";
overlay = import ./overlay.nix;
pkgs = import nixpkgs { inherit system; overlays = [ overlay ]; };
pkgs = nixpkgs.legacyPackages.${system};
atauPkgs = {
atau-wallpapers = pkgs.callPackage ./atau-wallpapers { };
theme-platinum9 = pkgs.callPackage ./theme-platinum9 { };
gtk-theme-mac-os-9 = pkgs.callPackage ./gtk-theme-mac-os-9 { };
nineicons-redux = pkgs.callPackage ./nineicons-redux { };
};
in
{
packages.${system} = pkgs;
overlays.default = overlay;
packages.${system} = {
default = atauPkgs.theme-platinum9;
} // atauPkgs;
overlays.default = final: prev: {
atau-pkgs = atauPkgs;
};
};
}

View File

@ -1,6 +1,6 @@
{ lib, stdenvNoCC }:
{ lib, stdenv }:
stdenvNoCC.mkDerivation rec {
stdenv.mkDerivation rec {
name = "nineicons-redux";
pname = name;
version = "3cc6c532a2fcbfa2d9d15b91f7fbc0a98ddb5cf3";
@ -10,8 +10,6 @@ stdenvNoCC.mkDerivation rec {
rev = version;
};
dontDropIconThemeCache = true;
installPhase = ''
runHook preInstall

View File

@ -1,8 +0,0 @@
prev: final: {
atau-pkgs = {
atau-wallpapers = final.callPackage ./atau-wallpapers { };
gtk-theme-mac-os-9 = final.callPackage ./gtk-theme-mac-os-9 { };
theme-platinum9 = final.callPackage ./theme-platinum9 { };
nineicons-redux = final.callPackage ./nineicons-redux { };
};
}

View File

@ -1,6 +1,6 @@
{ lib, stdenvNoCC, gtk3, hicolor-icon-theme }:
{ lib, stdenv }:
stdenvNoCC.mkDerivation rec {
stdenv.mkDerivation rec {
name = "theme-platinum9";
pname = name;
version = "d3d2080c1a2d5772714d089d1dc1daeeb41db008";
@ -10,10 +10,6 @@ stdenvNoCC.mkDerivation rec {
rev = version;
};
nativeBuildInputs = [
gtk3
];
installPhase = ''
runHook preInstall
@ -23,21 +19,19 @@ stdenvNoCC.mkDerivation rec {
mv PlatiPlus "$out/share/themes"
mv PlatiPlus26 "$out/share/themes"
chmod 644 -R $out/share/themes
# Install icons
# mkdir -p "$out/share/icons"
# mv NineIcons/ "$out/share/icons"
# Install fonts
mkdir -p "$out/share/fonts/truetype"
mv Charcoal.ttf "$out/share/fonts/truetype"
mv MONACO.TTF "$out/share/fonts/truetype"
chmod 644 -R $out/share/fonts
# Install wallpapers
mkdir -p "$out/share/backgrounds"
mv OS9-wallpaper/ "$out/share/backgrounds"
chmod 644 -R $out/share/backgrounds
runHook postInstall
'';