updates from makefile

This commit is contained in:
Don Harper 2024-03-07 19:44:58 -06:00
parent 72efc3f752
commit 8be29c8168
3 changed files with 70 additions and 16 deletions

View file

@ -3,6 +3,11 @@
disko.url = "github:nix-community/disko";
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
nixpkgs-2311.url = "github:nixos/nixpkgs/23.11";
home-manager-2311 = {
url = "github:nix-community/home-manager/release-23.11";
inputs.nixpkgs.follows = "nixpkgs-2311";
};
home-manager = {
url = "github:nix-community/home-manager/master";
inputs.nixpkgs.follows = "nixpkgs";
@ -16,6 +21,7 @@
outputs = inputs@{
self,
nixpkgs,
nixpkgs-2311,
nix,
nixos-hardware,
home-manager,
@ -43,6 +49,7 @@
};
in {
fred = inputs.nixpkgs.lib.nixosSystem {
specialArgs = {inherit inputs;};
modules = server.modules ++ [
{
networking.hostName = "fred";
@ -51,6 +58,7 @@
];
};
www2 = inputs.nixpkgs.lib.nixosSystem {
specialArgs = {inherit inputs;};
modules = server.modules ++ [
{
networking.hostName = "www2";
@ -59,6 +67,7 @@
];
};
loki = inputs.nixpkgs.lib.nixosSystem {
specialArgs = {inherit inputs;};
modules = workstation.modules ++ [
{
networking.hostName = "loki";
@ -68,6 +77,7 @@
];
};
smaug = inputs.nixpkgs.lib.nixosSystem {
specialArgs = {inherit inputs;};
modules = workstation.modules ++ [
{
networking.hostName = "smaug";
@ -78,6 +88,7 @@
];
};
pocket2 = inputs.nixpkgs.lib.nixosSystem {
specialArgs = {inherit inputs;};
modules = workstation.modules ++ [
{
networking.hostName = "pocket2";
@ -90,6 +101,7 @@
];
};
dragon = inputs.nixpkgs.lib.nixosSystem {
specialArgs = {inherit inputs;};
modules = workstation.modules ++ [
{
networking.hostName = "dragon";
@ -102,6 +114,7 @@
];
};
eve = inputs.nixpkgs.lib.nixosSystem {
specialArgs = {inherit inputs;};
modules = workstation.modules ++ [
{
networking.hostName = "eve";
@ -111,6 +124,7 @@
];
};
vm2 = inputs.nixpkgs.lib.nixosSystem {
specialArgs = {inherit inputs;};
modules = workstation.modules ++ [
{
services.getty.autologinUser = "don";