From 548bec32ab4f5bb4637645053f843a03d7ba9265 Mon Sep 17 00:00:00 2001 From: lucy Date: Wed, 21 Oct 2026 14:30:52 +0200 Subject: [PATCH] add state --- modules/default.nix | 10 ++++++++-- modules/system/core/core.nix | 4 +++- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/modules/default.nix b/modules/default.nix index e8e09f7..3d515e4 100644 --- a/modules/default.nix +++ b/modules/default.nix @@ -29,8 +29,14 @@ in with self.nixosModules; [ { - config.dualBoot = true; config.networking.hostName = "nerv"; + config.dualBoot = true; + config.hardware.nvidia = { + open = true; + modesetting.enable = true; + }; + config.services.xserver.videoDrivers = [ "nvidia" ]; + } ] ++ mods; @@ -39,9 +45,9 @@ in modules = [ { config.networking.hostName = "seele"; + } ] ++ mods; - }; } diff --git a/modules/system/core/core.nix b/modules/system/core/core.nix index 430c611..227d18e 100644 --- a/modules/system/core/core.nix +++ b/modules/system/core/core.nix @@ -1,5 +1,6 @@ { ... }: { - flake.nixosModules.core = { + flake.nixosModules.core = { pkgs, ... }: { + boot.kernelPackages = pkgs.linuxPackages_latest; hardware.bluetooth = { enable = true; powerOnBoot = false; @@ -33,5 +34,6 @@ "nix-command" "flakes" ]; + system.stateVersion = "26.05"; }; }