Make servers headless, modularize the domain grabber

This commit is contained in:
Bun 2025-03-23 12:44:03 -04:00
parent bbc1f4dce1
commit 88da54facd
9 changed files with 15 additions and 15 deletions

View file

@ -1,4 +1,4 @@
{ config, lib, ... }:
{ modulesPath, ... }:
{
imports = [
./boot
@ -7,12 +7,14 @@
./hardware
./users
../../modules/system
(modulesPath + "/profiles/headless.nix")
];
networking = {
hostName = "kitty";
hostId = "8745e22e";
interfaces."eno1".ipv4.addresses = [{
address = "10.2.0.101";
address = "10.2.0.2";
prefixLength = 8;
}];
defaultGateway = {
@ -22,7 +24,7 @@
};
system = {
desktop.enable = true;
server.enable = true;
stateVersion = "24.11";
};
}