update image config to what actually ran

This commit is contained in:
Daniel Lovbrotte Olsen 2023-01-29 03:23:33 +01:00
parent c8e05c28f8
commit 2a0193f034
2 changed files with 35 additions and 6 deletions

View File

@ -2,11 +2,11 @@
"nodes": {
"flake-utils": {
"locked": {
"lastModified": 1659877975,
"narHash": "sha256-zllb8aq3YO3h8B/U0/J1WBgAL8EX5yWf5pMj3G0NAmc=",
"lastModified": 1667395993,
"narHash": "sha256-nuEHfE/LcWyuSWnS8t12N1wc105Qtau+/OdUAjtQ0rA=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "c0e246b9b83f637f4681389ecabcb2681b4f3af0",
"rev": "5aed5285a952e0b949eb3ba02c12fa4fcfef535f",
"type": "github"
},
"original": {
@ -17,11 +17,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1661353537,
"narHash": "sha256-1E2IGPajOsrkR49mM5h55OtYnU0dGyre6gl60NXKITE=",
"lastModified": 1674839022,
"narHash": "sha256-8F1U06t9glkgBC8gBfjoA2eeUb9MYRRp6NMKY3c0VEI=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "0e304ff0d9db453a4b230e9386418fd974d5804a",
"rev": "14b6cf7602c341e525a8fe17ac2349769376515e",
"type": "github"
},
"original": {

View File

@ -50,6 +50,14 @@
isNormalUser = true;
shell = "${cfg.package.override { conf = cfg.config; }}/bin/dibbler";
};
networking.firewall.logRefusedConnections = false;
console.keyMap = "no";
boot.consoleLogLevel = 0;
services.openssh.enable = true;
services.openssh.permitRootLogin = "yes";
users.groups.dibbler = { };
services.getty.autologinUser = lib.mkForce "dibbler";
@ -79,7 +87,28 @@
networking = {
hostName = "skrot";
domain = "pvv.ntnu.no";
nameservers = [ "129.241.0.200" "129.241.0.201" ];
defaultGateway = "129.241.210.129";
interfaces.eth0 = {
useDHCP = false;
ipv4 = {
addresses = [
{
address = "129.241.210.235";
prefixLength = 25;
}
];
};
};
};
# services.resolved.enable = true;
# systemd.network.enable = true;
# systemd.network.networks."30-network" = {
# matchConfig.Name = "*";
# DHCP = "no";
# address = [ "129.241.210.235/25" ];
# gateway = [ "129.241.210.129" ];
# };
})
];
};