From 07ec9fe5908c91a9565856315f472ea963446cfd Mon Sep 17 00:00:00 2001 From: Jonas Hahn Date: Sun, 31 Aug 2025 16:49:31 +0200 Subject: [PATCH] Refactor and add deno for javascript support --- hosts/minoxy-workstation/configuration.nix | 34 +++++++++++----------- modules/hardware/nvidia.nix | 3 +- user/packages.nix | 1 + 3 files changed, 20 insertions(+), 18 deletions(-) diff --git a/hosts/minoxy-workstation/configuration.nix b/hosts/minoxy-workstation/configuration.nix index a26586d..3696ad7 100644 --- a/hosts/minoxy-workstation/configuration.nix +++ b/hosts/minoxy-workstation/configuration.nix @@ -1,30 +1,30 @@ { ... }: { - imports = [ - ./hardware-configuration.nix + imports = [ + ./hardware-configuration.nix - ./../../user/users.nix + ./../../user/users.nix - ./../../modules/common.nix + ./../../modules/common.nix - ./../../modules/services/webdav.nix + ./../../modules/services/webdav.nix - ./../../modules/graphics/workstation.nix + ./../../modules/graphics/workstation.nix - ./../../modules/hardware/nvidia.nix - ./../../modules/hardware/boot.nix - ./../../modules/hardware/xremap.nix - ]; + ./../../modules/hardware/nvidia.nix + ./../../modules/hardware/boot.nix + ./../../modules/hardware/xremap.nix + ]; - networking.hostName = "minoxy"; + networking.hostName = "minoxy"; - systemd.targets.sleep.enable = true; - systemd.targets.suspend.enable = true; + systemd.targets.sleep.enable = true; + systemd.targets.suspend.enable = true; - virtualisation.docker.enable = true; - virtualisation.docker.storageDriver = "btrfs"; + virtualisation.docker.enable = true; + virtualisation.docker.storageDriver = "btrfs"; - # Never change this! - system.stateVersion = "25.05"; + # Never change this! + system.stateVersion = "25.05"; } diff --git a/modules/hardware/nvidia.nix b/modules/hardware/nvidia.nix index 454c971..48b6b83 100644 --- a/modules/hardware/nvidia.nix +++ b/modules/hardware/nvidia.nix @@ -1,4 +1,4 @@ -{ pkgs, config, ... }: +{ config, ... }: { hardware.graphics = { @@ -13,6 +13,7 @@ package = config.boot.kernelPackages.nvidiaPackages.stable; }; + # Cuda for blender long build times #environment.systemPackages = with pkgs; [ # (blender.override { # cudaSupport = true; diff --git a/user/packages.nix b/user/packages.nix index 64a89e3..b4346d4 100644 --- a/user/packages.nix +++ b/user/packages.nix @@ -4,6 +4,7 @@ home.packages = with pkgs; [ weechat just + deno iamb wiki-tui