From 5b0d95327277fc7850a3c3771f13372e0f084e0a Mon Sep 17 00:00:00 2001 From: Yorick Barbanneau Date: Thu, 7 Sep 2023 15:41:00 +0200 Subject: [PATCH 1/2] Bad named host --- flake.nix | 4 ++-- hosts/{lucy => luci}/hardware-configuration.nix | 0 2 files changed, 2 insertions(+), 2 deletions(-) rename hosts/{lucy => luci}/hardware-configuration.nix (100%) diff --git a/flake.nix b/flake.nix index dfad36a..d6db5e4 100644 --- a/flake.nix +++ b/flake.nix @@ -29,11 +29,11 @@ in rec { home-manager.nixosModule ]; }; - lucy = nixpkgs.lib.nixosSystem { + luci = nixpkgs.lib.nixosSystem { system = "x86_64-linux"; specialArgs = { inherit stateVersion; - hostname = "lucy"; + hostname = "luci"; username = "ephase"; hostConfig = { gaming = false; diff --git a/hosts/lucy/hardware-configuration.nix b/hosts/luci/hardware-configuration.nix similarity index 100% rename from hosts/lucy/hardware-configuration.nix rename to hosts/luci/hardware-configuration.nix From a9b044b1f14815b66ec25363626ea0b81edc65d6 Mon Sep 17 00:00:00 2001 From: Yorick Barbanneau Date: Thu, 7 Sep 2023 15:41:55 +0200 Subject: [PATCH 2/2] Missing GPU acceleration for Luci --- hosts/luci/hardware-configuration.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hosts/luci/hardware-configuration.nix b/hosts/luci/hardware-configuration.nix index 5b5fb11..8377bfa 100644 --- a/hosts/luci/hardware-configuration.nix +++ b/hosts/luci/hardware-configuration.nix @@ -51,4 +51,7 @@ nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; powerManagement.cpuFreqGovernor = lib.mkDefault "powersave"; hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; + hardware.opengl.enable = true; + hardware.opengl.driSupport = true; + hardware.opengl.driSupport32Bit = true; }