PortValhalla/flake.nix

72 lines
1.8 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 = 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-11-22 16:31:18 +00:00
server = import ./profiles/machines/manuel/server.nix;
2024-12-16 12:05:08 +00:00
clean = { ... }: {
imports = [
./lib/modules/valhalla.nix
];
config = {
valhalla = {
hostname = "Falcon";
windows = {
users.LocalAdmin = {
groups = [ "Administrators" ];
programs.oh-my-posh.theme.source = ./profiles/users/manuel/manuel.omp.json;
};
};
software.essential = true;
};
};
};
2024-08-22 21:37:53 +00:00
};
};
}