Make servers headless, modularize the domain grabber
This commit is contained in:
parent
bbc1f4dce1
commit
88da54facd
9 changed files with 15 additions and 15 deletions
|
@ -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";
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue