fix minor issues

This commit is contained in:
lucy 2026-10-07 15:20:10 +02:00
commit ead86e1588
3 changed files with 5 additions and 5 deletions

View file

@ -1,4 +1,4 @@
{
{ lib, config, ... }: {
hardware.nvidia = lib.mkIf (config.networking.hostName == "nerv") {
modesetting.enable = true;
open = true;

View file

@ -1,4 +1,4 @@
{ config, pkgs, ... }: {
{ config, pkgs, lib, ... }: {
imports = [
./tlp.nix
./easyroam.nix
@ -6,11 +6,11 @@
./pipewire.nix
];
services = {
xserver.videoDrivers = lib.mkIf (hostname == "nerv") [ "nvidia" ];
xserver.videoDrivers = lib.mkIf (config.networking.hostName == "nerv") [ "nvidia" ];
blueman.enable = true;
printing.enable = true;
emacs.enable = false;
xserver.xcb = {
xserver.xkb = {
layout = "eu";
variant = "";
};

View file

@ -1,4 +1,4 @@
{
{ config, ... }: {
services.easyroam = {
enable = true;
pkcsFile = config.age.secrets.easyroam.path;