For the Glory of Mankind
This commit is contained in:
parent
fbf346f822
commit
ef1f33eddd
3 changed files with 46 additions and 11 deletions
39
flake.lock
generated
39
flake.lock
generated
|
|
@ -5,11 +5,11 @@
|
|||
"systems": "systems"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1689068808,
|
||||
"narHash": "sha256-6ixXo3wt24N/melDWjq70UuHQLxGV8jZvooRanIHXw0=",
|
||||
"lastModified": 1694529238,
|
||||
"narHash": "sha256-zsNZZGTGnMOf9YpHKJqMSsa0dXbfmxeoJ7xHlrt+xmY=",
|
||||
"owner": "numtide",
|
||||
"repo": "flake-utils",
|
||||
"rev": "919d646de7be200f3bf08cb76ae1f09402b6f9b4",
|
||||
"rev": "ff7b65b44d01cf9ba6a71320833626af21126384",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
@ -20,11 +20,11 @@
|
|||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1691654369,
|
||||
"narHash": "sha256-gSILTEx1jRaJjwZxRlnu3ZwMn1FVNk80qlwiCX8kmpo=",
|
||||
"lastModified": 1698318101,
|
||||
"narHash": "sha256-gUihHt3yPD7bVqg+k/UVHgngyaJ3DMEBchbymBMvK1E=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "ce5e4a6ef2e59d89a971bc434ca8ca222b9c7f5e",
|
||||
"rev": "63678e9f3d3afecfeafa0acead6239cdb447574c",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
@ -38,7 +38,8 @@
|
|||
"inputs": {
|
||||
"flake-utils": "flake-utils",
|
||||
"nixpkgs": "nixpkgs",
|
||||
"wallpaper-engine-kde-plugin-lib": "wallpaper-engine-kde-plugin-lib"
|
||||
"wallpaper-engine-kde-plugin-lib": "wallpaper-engine-kde-plugin-lib",
|
||||
"yorha-grub-theme": "yorha-grub-theme"
|
||||
}
|
||||
},
|
||||
"systems": {
|
||||
|
|
@ -59,11 +60,11 @@
|
|||
"wallpaper-engine-kde-plugin-lib": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1691303010,
|
||||
"narHash": "sha256-BVtTnJA1RLUU/Tj7WI/80ja4pI8NezHCjKvB72VjrZk=",
|
||||
"lastModified": 1697944637,
|
||||
"narHash": "sha256-rrBsQy+vG22IiaNDHYbkNPPbExQPQYLCaXy+KMHDmss=",
|
||||
"ref": "refs/heads/main",
|
||||
"rev": "f972b2a24c9c3cc2d3e4f41d2ebd14f1473cebdf",
|
||||
"revCount": 557,
|
||||
"rev": "08dad16f5cbf0de423b85edda313597c273a887e",
|
||||
"revCount": 559,
|
||||
"submodules": true,
|
||||
"type": "git",
|
||||
"url": "https://github.com/catsout/wallpaper-engine-kde-plugin"
|
||||
|
|
@ -73,6 +74,22 @@
|
|||
"type": "git",
|
||||
"url": "https://github.com/catsout/wallpaper-engine-kde-plugin"
|
||||
}
|
||||
},
|
||||
"yorha-grub-theme": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1665169118,
|
||||
"narHash": "sha256-XVzYDwJM7Q9DvdF4ZOqayjiYpasUeMhAWWcXtnhJ0WQ=",
|
||||
"owner": "OliveThePuffin",
|
||||
"repo": "yorha-grub-theme",
|
||||
"rev": "4d9cd37baf56c4f5510cc4ff61be278f11077c81",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "OliveThePuffin",
|
||||
"repo": "yorha-grub-theme",
|
||||
"type": "github"
|
||||
}
|
||||
}
|
||||
},
|
||||
"root": "root",
|
||||
|
|
|
|||
|
|
@ -8,6 +8,10 @@
|
|||
flake = false;
|
||||
url = "git+https://github.com/catsout/wallpaper-engine-kde-plugin?submodules=1";
|
||||
};
|
||||
yorha-grub-theme = {
|
||||
flake = false;
|
||||
url = "github:OliveThePuffin/yorha-grub-theme";
|
||||
};
|
||||
};
|
||||
|
||||
outputs = inputs@{ self, flake-utils, nixpkgs, ... }:
|
||||
|
|
|
|||
14
packages/yorha-grub-theme.nix
Normal file
14
packages/yorha-grub-theme.nix
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{ inputs, pkgs, resolution ? "2560x1440" }:
|
||||
|
||||
assert builtins.any (s: resolution == s) [ "1920x1080" "2256x1504" "2560x1440" "3840x2160" ];
|
||||
|
||||
pkgs.stdenv.mkDerivation rec {
|
||||
name = "yorha-grub-theme";
|
||||
src = inputs.${name};
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
mkdir -p $out/
|
||||
cp -r yorha-${resolution}/* $out/
|
||||
runHook postInstall
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue