add state

This commit is contained in:
lucy 2026-10-21 14:30:52 +02:00
commit 548bec32ab
2 changed files with 11 additions and 3 deletions

View file

@ -29,8 +29,14 @@ in
with self.nixosModules; with self.nixosModules;
[ [
{ {
config.dualBoot = true;
config.networking.hostName = "nerv"; config.networking.hostName = "nerv";
config.dualBoot = true;
config.hardware.nvidia = {
open = true;
modesetting.enable = true;
};
config.services.xserver.videoDrivers = [ "nvidia" ];
} }
] ]
++ mods; ++ mods;
@ -39,9 +45,9 @@ in
modules = [ modules = [
{ {
config.networking.hostName = "seele"; config.networking.hostName = "seele";
} }
] ]
++ mods; ++ mods;
}; };
} }

View file

@ -1,5 +1,6 @@
{ ... }: { { ... }: {
flake.nixosModules.core = { flake.nixosModules.core = { pkgs, ... }: {
boot.kernelPackages = pkgs.linuxPackages_latest;
hardware.bluetooth = { hardware.bluetooth = {
enable = true; enable = true;
powerOnBoot = false; powerOnBoot = false;
@ -33,5 +34,6 @@
"nix-command" "nix-command"
"flakes" "flakes"
]; ];
system.stateVersion = "26.05";
}; };
} }