dotfiles/nix/flake.nix

42 lines
1.2 KiB
Nix
Raw Normal View History

2022-12-16 13:57:32 +00:00
{
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
flake-utils-plus.url = "github:gytis-ivaskevicius/flake-utils-plus";
# for OpenGL support on Nix
nixgl.url = "github:guibou/nixGL";
# S-tier Rust overlay for faster nightly updates
rust-overlay.url = "github:oxalica/rust-overlay";
# Allows default.nix to call onto flake.nix. Useful for nix eval and automations
flake-compat = {
url = "github:edolstra/flake-compat";
flake = false;
};
naersk.url = "github:nix-community/naersk";
2022-12-21 00:12:30 +00:00
nixos-wsl.url = "github:nix-community/NixOS-WSL";
2022-12-16 13:57:32 +00:00
};
outputs =
{ nixpkgs
, home-manager
, flake-utils-plus
, nixgl
, rust-overlay
# , flake-compat # This is only a placeholder for version control by flake.lock
, naersk
2022-12-21 00:12:30 +00:00
, nixos-wsl
2022-12-16 13:57:32 +00:00
, ...
}:
let
# fundamental functions that should only take 2 keystrokes instead of builtins (8)
c_ = import ./calculus;
overlays = [ rust-overlay.overlays.default nixgl.overlay ];
2022-12-19 00:02:32 +00:00
in
2022-12-21 00:12:30 +00:00
{
};
2022-12-16 13:57:32 +00:00
}