mirror of
https://github.com/ryanccn/flake.git
synced 2025-12-06 08:10:43 +01:00
treewide: refactor, nix, overlays -> packages
This commit is contained in:
parent
d6238e12af
commit
eb6b664802
23 changed files with 240 additions and 308 deletions
|
|
@ -1,19 +1,20 @@
|
|||
{
|
||||
self,
|
||||
pkgs,
|
||||
inputs,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
{
|
||||
nix.package = pkgs.nixVersions.latest;
|
||||
services.nix-daemon.enable = true;
|
||||
# nix.package = pkgs.nixVersions.latest;
|
||||
|
||||
nix.registry = {
|
||||
n.flake = inputs.nixpkgs;
|
||||
};
|
||||
|
||||
nix.nixPath = [ "nixpkgs=${inputs.nixpkgs.outPath}" ];
|
||||
nix.nixPath = [
|
||||
"nixpkgs=${inputs.nixpkgs.outPath}"
|
||||
];
|
||||
|
||||
nix.settings = {
|
||||
experimental-features = [
|
||||
|
|
@ -40,20 +41,12 @@
|
|||
nix-path = config.nix.nixPath;
|
||||
};
|
||||
|
||||
environment.profiles = [
|
||||
"\${XDG_STATE_HOME}/nix/profile"
|
||||
"$HOME/.local/state/nix/profile"
|
||||
];
|
||||
|
||||
nixpkgs = {
|
||||
overlays = [
|
||||
inputs.rust-overlay.overlays.default
|
||||
|
||||
inputs.nrr.overlays.default
|
||||
inputs.am.overlays.default
|
||||
inputs.nyoom.overlays.default
|
||||
inputs.morlana.overlays.default
|
||||
inputs.spdx-gen.overlays.default
|
||||
|
||||
self.overlays.ryan-mono-bin
|
||||
self.overlays.ibm-plex
|
||||
];
|
||||
|
||||
config.allowUnfree = true;
|
||||
hostPlatform = "aarch64-darwin";
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue