summaryrefslogtreecommitdiff
path: root/hosts/workstation/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/workstation/default.nix')
-rw-r--r--hosts/workstation/default.nix16
1 files changed, 13 insertions, 3 deletions
diff --git a/hosts/workstation/default.nix b/hosts/workstation/default.nix
index bad7fab..b1315e6 100644
--- a/hosts/workstation/default.nix
+++ b/hosts/workstation/default.nix
@@ -8,7 +8,15 @@
nixpkgs.config.rocmSupport = true;
- networking.hostName = "workstation";
+ networking = {
+ hostName = "workstation";
+
+ bridges.br0.interfaces = [];
+ interfaces.br0.ipv4.addresses = [{
+ address = "10.0.0.1";
+ prefixLength = 8;
+ }];
+ };
boot.loader = {
efi.canTouchEfiVariables = true;
@@ -87,8 +95,10 @@
environment.systemPackages = with pkgs; [ clinfo ];
virtualisation = {
- libvirtd.enable = true;
- docker.enable = true;
+ libvirtd = {
+ enable = true;
+ allowedBridges = [ "br0" ];
+ };
};
system.stateVersion = "24.05";