51 lines
1.3 KiB
Nix
Executable File
51 lines
1.3 KiB
Nix
Executable File
{
|
|
description = "my nixos setup";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:nixos/nixpkgs/release-24.05";
|
|
pkgsUnstable.url = "github:nixos/nixpkgs/nixpkgs-unstable";
|
|
disko.url = "github:nix-community/disko/latest";
|
|
disko.inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
outputs = { self, nixpkgs, pkgsUnstable, disko, ... }:
|
|
let
|
|
system = "x86_64-linux";
|
|
lib = nixpkgs.lib;
|
|
unstable = pkgsUnstable.legacyPackages.${system};
|
|
in {
|
|
|
|
nixosConfigurations = {
|
|
vincents-hp = lib.nixosSystem {
|
|
inherit system;
|
|
specialArgs = { inherit unstable; };
|
|
modules = [
|
|
./system/vincents-hp/configuration.nix
|
|
];
|
|
};
|
|
susans-hp = lib.nixosSystem {
|
|
inherit system;
|
|
specialArgs = { inherit unstable; };
|
|
modules = [
|
|
./system/susans-hp/configuration.nix
|
|
];
|
|
};
|
|
vincents-vm = lib.nixosSystem {
|
|
inherit system;
|
|
specialArgs = { inherit unstable; };
|
|
modules = [
|
|
./system/vincents-vm/configuration.nix
|
|
];
|
|
};
|
|
susans-vm = lib.nixosSystem {
|
|
inherit system;
|
|
specialArgs = { inherit unstable; };
|
|
modules = [
|
|
./system/susans-vm/configuration.nix
|
|
./system/susans-vm/disk.nix
|
|
];
|
|
};
|
|
};
|
|
};
|
|
}
|