This commit is contained in:
2026-07-04 05:01:54 +02:00
parent 524ee6e1ce
commit 12f0b1e422
116 changed files with 1355 additions and 231 deletions
+13
View File
@@ -0,0 +1,13 @@
_:
{
boot = {
loader = {
systemd-boot = {
enable = true;
};
efi = {
canTouchEfiVariables = true;
};
};
};
}
+13
View File
@@ -0,0 +1,13 @@
{ config, pkgs, ... }:
{
imports = [
#./dhcp.nix
#./nat.nix
#./firewall.nix
./users.nix
./networking.nix
./time.nix
./system.nix
./boot.nix
];
}
View File
View File
View File
+21
View File
@@ -0,0 +1,21 @@
_:
{
networking = {
hostName = "voyager";
networkmanager = { enable = true; };
firewall = { enable = false; };
interfaces = {
eno1 = {
ipv4.addresses = [{
address = "10.11.0.10";
prefixLength = 24;
}];
};
};
defaultGateway = {
address = "10.11.0.1";
interface = "eno1";
};
};
}
+7
View File
@@ -0,0 +1,7 @@
_:
{
nix.settings.experimental-features = [ "nix-command" "flakes" ];
system = {
stateVersion = "26.05";
};
}
+4
View File
@@ -0,0 +1,4 @@
_:
{
time.timeZone = "Europe/Berlin";
}
+15
View File
@@ -0,0 +1,15 @@
_:
{
users.users.user = {
isNormalUser = true;
extraGroups = [ "wheel" "docker" "network" "plugdev" ];
openssh.authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDdCJK3NBMbGwvSxXq0kp/FzWUU0l0D1WX8f4vBubtZ7" ];
};
security = {
doas = {
enable = true;
extraConfig = "permit nopass keepenv :wheel";
};
};
}