przystosowanie konfiguracji pod siebie

This commit is contained in:
2025-09-18 16:01:58 +02:00
parent be171552d0
commit 0908e9eed6
165 changed files with 1799 additions and 11964 deletions

View File

@@ -1,7 +1,8 @@
{ lib
, pkgs
, config
, ...
{
lib,
pkgs,
config,
...
}:
with lib;
let

View File

@@ -1,4 +1,5 @@
{ ...
{
...
}:
{
imports = [

View File

@@ -1,9 +1,11 @@
{ lib
, pkgs
, config
, ...
{
lib,
pkgs,
config,
...
}:
with lib; let
with lib;
let
cfg = config.drivers.intel;
in
{

View File

@@ -1,7 +1,8 @@
{ lib
, pkgs
, config
, ...
{
lib,
pkgs,
config,
...
}:
with lib;
let

View File

@@ -1,7 +1,7 @@
{ lib
, pkgs
, config
, ...
{
lib,
config,
...
}:
with lib;
let
@@ -18,7 +18,7 @@ in
# Modesetting is required.
modesetting.enable = true;
# Nvidia power management. Experimental, and can cause sleep/suspend to fail.
powerManagement.enable = false;
powerManagement.enable = true;
# Fine-grained power management. Turns off GPU when not in use.
# Experimental and only works on modern Nvidia GPUs (Turing or newer).
powerManagement.finegrained = false;

View File

@@ -1,7 +1,8 @@
{ lib
, pkgs
, config
, ...
{
lib,
pkgs,
config,
...
}:
with lib;
let

View File

@@ -1,7 +1,8 @@
{ lib
, pkgs
, config
, ...
{
lib,
pkgs,
config,
...
}:
with lib;
let
@@ -15,6 +16,6 @@ in
config = mkIf cfg.enable {
services.qemuGuest.enable = true;
services.spice-vdagentd.enable = true;
services.spice-webdavd.enable = false; #Causes navfs2 build failure invalid neon version 9-12-25
};
services.spice-webdavd.enable = false; # Causes navfs2 build failure invalid neon version 9-12-25
};
}