Compare commits
3 commits
09ed8c1244
...
a038b7c80c
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a038b7c80c | ||
|
|
40fac75e36 | ||
|
|
9aa4b23b03 |
2 changed files with 22 additions and 2 deletions
|
|
@ -10,7 +10,6 @@ in
|
|||
imports = [
|
||||
self.nixosModules.default
|
||||
"${modulesPath}/virtualisation/lxc-container.nix"
|
||||
./configuration.nix
|
||||
];
|
||||
services = {
|
||||
tty-ips.enable = true;
|
||||
|
|
@ -22,7 +21,7 @@ in
|
|||
"d0e265fcf663451ae9bc048dc1297749819ce9d48042a986f2866c15a779a074"
|
||||
];
|
||||
};
|
||||
hostName = "smultiboi";
|
||||
hostName = "tofu";
|
||||
};
|
||||
environment.systemPackages = [
|
||||
];
|
||||
|
|
|
|||
21
modules/nixos/common/incus.nix
Normal file
21
modules/nixos/common/incus.nix
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
|
||||
systemd.network = {
|
||||
enable = true;
|
||||
networks."50-eth0" = {
|
||||
|
||||
matchConfig.Name = "eth0";
|
||||
networkConfig = {
|
||||
DHCP = "ipv4";
|
||||
IPv6AcceptRA = true;
|
||||
};
|
||||
linkConfig.RequiredForOnline = "routable";
|
||||
};
|
||||
};
|
||||
|
||||
networking = {
|
||||
dhcpcd.enable = false;
|
||||
useDHCP = false;
|
||||
useHostResolvConf = false;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue