From 9a92c148a04b66a9d5f665dc13ea60a8fbf0dd28 Mon Sep 17 00:00:00 2001 From: Tim Keller Date: Mon, 6 Jan 2025 13:08:05 -0600 Subject: add new host for office pc and automount func config --- modules/hosts/hp-envy-office/configuration.nix | 36 ++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 modules/hosts/hp-envy-office/configuration.nix (limited to 'modules/hosts/hp-envy-office/configuration.nix') diff --git a/modules/hosts/hp-envy-office/configuration.nix b/modules/hosts/hp-envy-office/configuration.nix new file mode 100644 index 0000000..b6142c7 --- /dev/null +++ b/modules/hosts/hp-envy-office/configuration.nix @@ -0,0 +1,36 @@ +{ config, lib, pkgs, ... }: { + imports = [ + ./hardware-configuration.nix + ]; + networking.hostName = "hp-envy-office"; + + # Enable extra software pkgs + software.desktop = { + chromium.enable = true; + cad.enable = false; + crypto.enable = false; + graphics.enable = true; + office.enable = true; + utilities.enable = true; + }; + software.development = { + docker.enable = true; + }; + + # Enable network drives + nas.enable = true; + nas.office.enable = true; + nas.home.enable = false; + + networking.hosts = { + "192.168.77.3" = [ "devel" ]; + }; + + # Use amdgpu driver for x11 + services.xserver.videoDrivers = [ "amdgpu" ]; + + # Enable bluetooth + bluetooth.enable = true; + + system.stateVersion = "24.11"; +} -- cgit v1.2.3