Attempt to make new corp hardware the definitive corp hardware

This is...a big change. If I run this on the old corp server it will
break a lot, LOT of stuff. So don't do that. This is also the first time
I'm attempting to use disko to fully define a server in a single step
rather than as a bootstrapping step.
This commit is contained in:
Eli Ribble 2025-09-08 20:36:59 +00:00
parent 803e1d4b4f
commit 79c577cfff
5 changed files with 146 additions and 56 deletions

View file

@ -1,4 +1,4 @@
{ configFiles, configuration, home-manager, nixpkgs, nixvim, sops-nix, system, ... }:
{ configFiles, configuration, disko, home-manager, nixpkgs, nixvim, sops-nix, system, ... }:
let
allowed-unfree-packages = [
"corefonts"
@ -6,6 +6,7 @@ let
];
in nixpkgs.lib.nixosSystem {
modules = [
disko.nixosModules.disko
home-manager.nixosModules.home-manager
{
home-manager.extraSpecialArgs = { inherit configFiles; };