prepare for nixos containers add bridge for desktop1
This commit is contained in:
parent
6488e6b203
commit
771a2b88a7
@ -8,6 +8,9 @@
|
|||||||
|
|
||||||
networking.hostName = "desktop1";
|
networking.hostName = "desktop1";
|
||||||
|
|
||||||
|
networking.bridges.br0.interfaces = [ ];
|
||||||
|
networking.interfaces.br0.ipv4.addresses = [ { address = "10.0.0.1"; prefixLength = 24; } ];
|
||||||
|
|
||||||
smayzy = {
|
smayzy = {
|
||||||
desktop.enable = true;
|
desktop.enable = true;
|
||||||
nvidia.enable = true;
|
nvidia.enable = true;
|
||||||
|
|||||||
6
modules/nix/containers/default.nix
Normal file
6
modules/nix/containers/default.nix
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
{ ... }:
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
./nixos
|
||||||
|
];
|
||||||
|
}
|
||||||
5
modules/nix/containers/nixos/default.nix
Normal file
5
modules/nix/containers/nixos/default.nix
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
{ ... }:
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
];
|
||||||
|
}
|
||||||
@ -6,6 +6,7 @@
|
|||||||
./browser
|
./browser
|
||||||
./cad
|
./cad
|
||||||
./comm
|
./comm
|
||||||
|
./containers
|
||||||
./ctf
|
./ctf
|
||||||
./de
|
./de
|
||||||
./displaymanager
|
./displaymanager
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user