Update Deploy Flake

This commit is contained in:
2023-03-08 00:46:23 -05:00
parent dee6180e88
commit 04e8575f81
2 changed files with 184 additions and 7 deletions

View File

@@ -1,23 +1,25 @@
{
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
inputs.newalan.url = ./flake.nix;
inputs.newalan.url = "../";
outputs = { self, nixpkgs, newalan }: let
outputs = { self, nixpkgs, newalan, ... }: let
new_alan_overlay = (final: prev: {
new_alan = newalan.packages.newalan;
});
in {
packages."x86_64-linux".nixosConfigurations."staging" = nixpkgs.lib.nixosSystem {
nixosConfigurations."staging" = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
({ config, pkgs, ... }: {
nixpkgs.overlays = [
(final: prev: {
newalan = newalan.newalan;
});
new_alan_overlay
];
})
({lib, config, pkgs, ...}: {
system.stateVersion = "22.11";
boot.isContainer = true;
environment.systemPackages = with pkgs; [
newalan
new_alan
];
})
];