changes to fix compliance with home server

This commit is contained in:
2025-07-01 20:21:38 +02:00
parent 6d96d1a015
commit 7dfec3a2b0
23 changed files with 232 additions and 307 deletions

View File

@@ -39,7 +39,10 @@ in {
networking.hostName = "cnixtop";
environment.variables.NH_FLAKE = "/home/cnst/.nix-config";
environment.variables = {
NH_FLAKE = "/home/cnst/.nix-config";
GEMINI_API_KEY = config.age.secrets.gcapi.path;
};
programs.hyprland.settings = {
monitor = [

View File

@@ -12,19 +12,6 @@
(modulesPath + "/installer/scan/not-detected.nix")
];
# Use system-wide overlays to override linux-firmware
# nixpkgs.overlays = [
# (final: prev: {
# linux-firmware = prev.linux-firmware.overrideAttrs (old: rec {
# version = "20250509";
# src = prev.fetchzip {
# url = "https://cdn.kernel.org/pub/linux/kernel/firmware/linux-firmware-${version}.tar.xz";
# hash = "sha256-0FrhgJQyCeRCa3s0vu8UOoN0ZgVCahTQsSH0o6G6hhY=";
# };
# });
# })
# ];
boot.initrd.availableKernelModules = ["nvme" "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod"];
boot.initrd.kernelModules = [];
boot.kernelModules = ["kvm-amd"];

View File

@@ -21,13 +21,8 @@
enable = true;
};
graphics = {
amd = {
enable = true;
packageSet = "standard";
};
nvidia = {
enable = false;
};
enable = true;
vendor = "amd";
};
logitech = {
enable = true;