use pixelflasher from my nixpkgs pr

This commit is contained in:
cy 2025-03-08 14:59:43 -05:00
parent 09754dbaa8
commit 72303fd21c
Signed by: cy
SSH key fingerprint: SHA256:o/geVWV4om1QhUSkKvDQeW/eAihwnjyXkqMwrVdbuts
5 changed files with 11 additions and 20 deletions

19
flake.lock generated
View file

@ -1002,25 +1002,18 @@
} }
}, },
"pixelflasher": { "pixelflasher": {
"inputs": {
"flake-parts": [
"flake-parts"
],
"nixpkgs": [
"nixpkgs"
]
},
"locked": { "locked": {
"lastModified": 1741157109, "lastModified": 1741302870,
"narHash": "sha256-yoOMkH0n7e3UQSEAHHDuoBRDbJhnSymjt3gtoA8mMkI=", "narHash": "sha256-7AywZ1b3PaqolAZ0vQmddD6Br4o0a7ucdtE0/W3rnaM=",
"owner": "cything", "owner": "cything",
"repo": "pixelflasher-flake", "repo": "nixpkgs",
"rev": "400c423071a4807ac01152a1060b75df4a11cc2d", "rev": "5ef8b274bb7f939104295a22cec3382268ed73cc",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "cything", "owner": "cything",
"repo": "pixelflasher-flake", "ref": "pixelflasher",
"repo": "nixpkgs",
"type": "github" "type": "github"
} }
}, },

View file

@ -78,11 +78,7 @@
url = "github:nix-community/nix-index-database"; url = "github:nix-community/nix-index-database";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
pixelflasher = { pixelflasher.url = "github:cything/nixpkgs/pixelflasher";
url = "github:cything/pixelflasher-flake";
inputs.nixpkgs.follows = "nixpkgs";
inputs.flake-parts.follows = "flake-parts";
};
nvim-github-theme = { nvim-github-theme = {
url = "github:projekt0n/github-nvim-theme"; url = "github:projekt0n/github-nvim-theme";

View file

@ -100,6 +100,7 @@
nix-output-monitor nix-output-monitor
wl-clipboard-rs wl-clipboard-rs
pixelflasher pixelflasher
element-desktop
]; ];
programs.feh.enable = true; programs.feh.enable = true;

View file

@ -229,6 +229,7 @@
"**/.wine" "**/.wine"
"/home/yt/Games" "/home/yt/Games"
"/home/yt/Videos" "/home/yt/Videos"
"/home/yt/.bitmonero"
]; ];
repo = "yt"; repo = "yt";
passFile = config.sops.secrets."borg/rsyncnet".path; passFile = config.sops.secrets."borg/rsyncnet".path;

View file

@ -11,14 +11,14 @@ importedOverlays
( (
final: prev: final: prev:
let let
# nixpkgsFrom = flake: pkg: flake.legacyPackages.${prev.system}.${pkg}; nixpkgsFrom = flake: pkg: flake.legacyPackages.${prev.system}.${pkg};
pkgFrom = flake: pkgFrom' flake "default"; pkgFrom = flake: pkgFrom' flake "default";
pkgFrom' = flake: pkg: flake.packages.${prev.system}.${pkg}; pkgFrom' = flake: pkg: flake.packages.${prev.system}.${pkg};
in in
{ {
conduwuit = conduwuit =
pkgFrom' inputs.conduwuit "static-x86_64-linux-musl-all-features-x86_64-haswell-optimised"; pkgFrom' inputs.conduwuit "static-x86_64-linux-musl-all-features-x86_64-haswell-optimised";
pixelflasher = pkgFrom inputs.pixelflasher; pixelflasher = nixpkgsFrom inputs.pixelflasher "pixelflasher";
} }
) )
] ]