Add base homserver config

This commit is contained in:
caem 2023-06-24 23:09:01 +02:00
parent 45d315023f
commit 26694e1e52
8 changed files with 101 additions and 17 deletions

38
systems/homeserver.nix Normal file
View file

@ -0,0 +1,38 @@
{ ... }:
{
imports = [
./common.nix
./hardware/homeserver.nix
./persist/homeserver.nix
../sets/meta/sysadmin.nix
../packages/vim/package.nix
];
boot.loader = {
efi = {
canTouchEfiVariables = true;
};
grub = {
enable = true;
efiSupport = true;
device = "nodev";
};
};
networking = {
hostId = "95f846dc";
interfaces = {
eno1.ipv4.addresses = [{
address = "192.168.2.69";
prefixLength = 24;
}];
};
};
time.timeZone = "Europe/Berlin";
console = {
keyMap = "uk";
};
}