PortValhalla/flake.nix

43 lines
1.2 KiB
Nix
Raw Normal View History

{
description = "Setup Scripts for Personal Environment on Various Operating Systems";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs?ref=6263d23ea4e04f86272325b113bee8133c09d50a";
flake-utils.url = "github:numtide/flake-utils?ref=b1d9ab70662946ef0850d488da1c9019f3a9752a";
};
2024-08-22 21:37:53 +00:00
outputs = { self, flake-utils, nixpkgs }: (flake-utils.lib.eachDefaultSystem (
system:
let
pkgs = import nixpkgs {
inherit system;
overlays = [
(
final: prev: {
archiso = prev.callPackage (import ./lib/packages/archiso.nix) { };
})
];
};
in {
devShells = {
2024-06-18 19:12:11 +00:00
default = pkgs.mkShell {
packages = [
pkgs.archiso
2024-07-07 18:47:24 +00:00
pkgs.fish
];
};
};
packages = {
archiso = pkgs.archiso;
};
2024-08-22 21:37:53 +00:00
})) // {
valhalla = {
"DerGeret Windows" = import ./profiles/DerGeret/config.nix;
"der-geret Arch Linux" = import ./profiles/DerGeret/Arch/config.nix;
"manu-surface Arch Linux" = import ./profiles/ManuSurface/Arch/config.nix;
};
};
}