mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 04:19:19 -08:00
fix(litterbox): rename the box to litterbox haha funy
This commit is contained in:
parent
d935199249
commit
d50cc27d8a
5 changed files with 21 additions and 8 deletions
7
systems/litterbox/default.nix
Normal file
7
systems/litterbox/default.nix
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
_: {
|
||||
arch = "x86_64";
|
||||
type = "NixOS";
|
||||
modules = [
|
||||
./nixos.nix
|
||||
];
|
||||
}
|
||||
7
systems/litterbox/lxc.json
Normal file
7
systems/litterbox/lxc.json
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"lxc": {
|
||||
"lxc.mount.entry": [
|
||||
"/dev/net/tun dev/net/tun none bind,optional,create=file"
|
||||
]
|
||||
}
|
||||
}
|
||||
27
systems/litterbox/nixos.nix
Normal file
27
systems/litterbox/nixos.nix
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
{
|
||||
meta,
|
||||
...
|
||||
}: {
|
||||
imports = let
|
||||
inherit (meta) nixos;
|
||||
in [
|
||||
#nixos.sops
|
||||
nixos.base
|
||||
nixos.reisen-ct
|
||||
nixos.tailscale
|
||||
nixos.syncthing-kat
|
||||
];
|
||||
|
||||
#sops.defaultSopsFile = ./secrets.yaml;
|
||||
|
||||
systemd.network.networks.eth0 = {
|
||||
name = "eth0";
|
||||
matchConfig = {
|
||||
MACAddress = "BC:24:11:34:F4:AB";
|
||||
Type = "ether";
|
||||
};
|
||||
DHCP = "yes";
|
||||
};
|
||||
|
||||
system.stateVersion = "23.11";
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue