update image config to what actually ran
This commit is contained in:
parent
c8e05c28f8
commit
2a0193f034
12
flake.lock
12
flake.lock
|
@ -2,11 +2,11 @@
|
||||||
"nodes": {
|
"nodes": {
|
||||||
"flake-utils": {
|
"flake-utils": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1659877975,
|
"lastModified": 1667395993,
|
||||||
"narHash": "sha256-zllb8aq3YO3h8B/U0/J1WBgAL8EX5yWf5pMj3G0NAmc=",
|
"narHash": "sha256-nuEHfE/LcWyuSWnS8t12N1wc105Qtau+/OdUAjtQ0rA=",
|
||||||
"owner": "numtide",
|
"owner": "numtide",
|
||||||
"repo": "flake-utils",
|
"repo": "flake-utils",
|
||||||
"rev": "c0e246b9b83f637f4681389ecabcb2681b4f3af0",
|
"rev": "5aed5285a952e0b949eb3ba02c12fa4fcfef535f",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -17,11 +17,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1661353537,
|
"lastModified": 1674839022,
|
||||||
"narHash": "sha256-1E2IGPajOsrkR49mM5h55OtYnU0dGyre6gl60NXKITE=",
|
"narHash": "sha256-8F1U06t9glkgBC8gBfjoA2eeUb9MYRRp6NMKY3c0VEI=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "0e304ff0d9db453a4b230e9386418fd974d5804a",
|
"rev": "14b6cf7602c341e525a8fe17ac2349769376515e",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
29
flake.nix
29
flake.nix
|
@ -50,6 +50,14 @@
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
shell = "${cfg.package.override { conf = cfg.config; }}/bin/dibbler";
|
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 = { };
|
users.groups.dibbler = { };
|
||||||
services.getty.autologinUser = lib.mkForce "dibbler";
|
services.getty.autologinUser = lib.mkForce "dibbler";
|
||||||
|
|
||||||
|
@ -79,7 +87,28 @@
|
||||||
networking = {
|
networking = {
|
||||||
hostName = "skrot";
|
hostName = "skrot";
|
||||||
domain = "pvv.ntnu.no";
|
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" ];
|
||||||
|
# };
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue