removed need for configuration.nix
keeps things simple
This commit is contained in:
parent
c900742f44
commit
9aa4b23b03
2 changed files with 15 additions and 19 deletions
|
|
@ -1,18 +0,0 @@
|
||||||
{ config, pkgs, ... }:
|
|
||||||
{
|
|
||||||
services = {
|
|
||||||
tty-ips.enable = true;
|
|
||||||
};
|
|
||||||
networking = {
|
|
||||||
yggdrasil = {
|
|
||||||
enable = true;
|
|
||||||
AllowedPublicKeys = [
|
|
||||||
"d0e265fcf663451ae9bc048dc1297749819ce9d48042a986f2866c15a779a074"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
hostName = "smultiboi";
|
|
||||||
};
|
|
||||||
environment.systemPackages = [
|
|
||||||
];
|
|
||||||
system.stateVersion = "25.05";
|
|
||||||
}
|
|
||||||
|
|
@ -10,6 +10,20 @@ in
|
||||||
imports = [
|
imports = [
|
||||||
self.nixosModules.default
|
self.nixosModules.default
|
||||||
"${modulesPath}/virtualisation/lxc-container.nix"
|
"${modulesPath}/virtualisation/lxc-container.nix"
|
||||||
./configuration.nix
|
|
||||||
];
|
];
|
||||||
|
services = {
|
||||||
|
tty-ips.enable = true;
|
||||||
|
};
|
||||||
|
networking = {
|
||||||
|
yggdrasil = {
|
||||||
|
enable = true;
|
||||||
|
AllowedPublicKeys = [
|
||||||
|
"d0e265fcf663451ae9bc048dc1297749819ce9d48042a986f2866c15a779a074"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
hostName = "smultiboi";
|
||||||
|
};
|
||||||
|
environment.systemPackages = [
|
||||||
|
];
|
||||||
|
system.stateVersion = "25.05";
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue