58 lines
1.2 KiB
Nix
Executable File
58 lines
1.2 KiB
Nix
Executable File
{
|
|
description = "my nixos setup";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:nixos/nixpkgs/release-24.05";
|
|
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixpkgs-unstable";
|
|
};
|
|
|
|
outputs = { self, nixpkgs, ... }:
|
|
let
|
|
system = "x86_64-linux";
|
|
overlay-unstable = final: prev: {
|
|
unstable = import nixpkgs-unstable {
|
|
inherit system;
|
|
config.allowUnfree = true;
|
|
};
|
|
};
|
|
|
|
pkgs = import nixpkgs {
|
|
inherit system;
|
|
config = {
|
|
allowUnfree = true;
|
|
};
|
|
overlays = [
|
|
overlay-unstable
|
|
];
|
|
};
|
|
in {
|
|
|
|
nixosConfigurations = {
|
|
vincents-hp = lib.nixosSystem {
|
|
inherit system;
|
|
modules = [
|
|
./system/vincents-hp/configuration.nix
|
|
];
|
|
};
|
|
susans-hp = lib.nixosSystem {
|
|
inherit system;
|
|
modules = [
|
|
./system/susans-hp/configuration.nix
|
|
];
|
|
};
|
|
vincents-vm = lib.nixosSystem {
|
|
inherit system;
|
|
modules = [
|
|
./system/vincents-vm/configuration.nix
|
|
];
|
|
};
|
|
susans-vm = lib.nixosSystem {
|
|
inherit system;
|
|
modules = [
|
|
./system/susans-vm/configuration.nix
|
|
];
|
|
};
|
|
};
|
|
};
|
|
}
|