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.nix10
1 files changed, 9 insertions, 1 deletions
diff --git a/hosts/workstation/default.nix b/hosts/workstation/default.nix
index c4c6f9f..28f92a6 100644
--- a/hosts/workstation/default.nix
+++ b/hosts/workstation/default.nix
@@ -1,4 +1,4 @@
-{ pkgs, nixpkgs, ... }:
+{ pkgs, nixpkgs, lib, ... }:
{
imports = [
./hardware.nix
@@ -99,6 +99,12 @@
enable = true;
nssmdns4 = true;
openFirewall = true;
+ publish = {
+ enable = true;
+ addresses = true;
+ workstation = true;
+ userServices = true;
+ };
};
systemd.tmpfiles.rules = [ "L+ /opt/rocm/hip - - - - ${pkgs.rocmPackages.clr}" ];
@@ -106,6 +112,8 @@
environment.systemPackages = with pkgs; [ clinfo ];
+ networking.firewall.enable = lib.mkForce false;
+
virtualisation = {
libvirtd = {
enable = true;