PortValhalla/flake.nix

51 lines
1.3 KiB
Nix
Raw Permalink 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 = with pkgs; [
archiso
cdrtools
fish
getopt
git
jq
nix
p7zip
rsync
unzip
wimlib
];
};
};
packages = {
archiso = pkgs.archiso;
};
2024-08-22 21:37:53 +00:00
})) // {
valhalla = {
2024-09-08 15:09:01 +00:00
DerGeret = import ./profiles/machines/manuel/DerGeret/Arch/config.nix;
ManuSurface = import ./profiles/machines/manuel/ManuSurface/Arch/config.nix;
2024-08-22 21:37:53 +00:00
};
};
}