mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
feat(reimu): new container
This commit is contained in:
parent
196dc999db
commit
1cb5fd9285
7 changed files with 168 additions and 3 deletions
7
systems/reimu/default.nix
Normal file
7
systems/reimu/default.nix
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
_: {
|
||||
arch = "x86_64";
|
||||
type = "NixOS";
|
||||
modules = [
|
||||
./nixos.nix
|
||||
];
|
||||
}
|
||||
22
systems/reimu/nixos.nix
Normal file
22
systems/reimu/nixos.nix
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
meta,
|
||||
...
|
||||
}: {
|
||||
imports = let
|
||||
inherit (meta) nixos;
|
||||
in [
|
||||
nixos.base
|
||||
nixos.reisen-ct
|
||||
];
|
||||
|
||||
systemd.network.networks.eth0 = {
|
||||
name = "eth0";
|
||||
matchConfig = {
|
||||
MACAddress = "BC:24:11:C4:66:A8";
|
||||
Type = "ether";
|
||||
};
|
||||
DHCP = "no";
|
||||
};
|
||||
|
||||
system.stateVersion = "23.11";
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue