nvidia fix m3-ares

This commit is contained in:
m3tm3re
2026-01-03 09:31:59 +01:00
parent 841d7abbe7
commit f615f3bd6a
5 changed files with 29 additions and 28 deletions

View File

@@ -1,11 +1,5 @@
# Common configuration for all hosts
{
pkgs,
lib,
inputs,
outputs,
...
}: {
{ config, pkgs, lib, inputs, outputs, ... }: {
imports = [
./extraServices
./ports.nix
@@ -13,15 +7,17 @@
inputs.home-manager.nixosModules.home-manager
];
environment.pathsToLink = [
"/share/xdg-desktop-portal"
"/share/applications"
];
environment.pathsToLink =
[ "/share/xdg-desktop-portal" "/share/applications" ];
home-manager = {
useUserPackages = true;
extraSpecialArgs = {inherit inputs outputs;};
extraSpecialArgs = {
inherit inputs outputs;
videoDrivers = config.services.xserver.videoDrivers or [ ];
};
};
nixpkgs = {
# You can add overlays here
overlays = [
@@ -69,10 +65,9 @@
options = "--delete-older-than 30d";
};
optimise.automatic = true;
registry =
(lib.mapAttrs (_: flake: {inherit flake;}))
registry = (lib.mapAttrs (_: flake: { inherit flake; }))
((lib.filterAttrs (_: lib.isType "flake")) inputs);
nixPath = ["/etc/nix/path"];
nixPath = [ "/etc/nix/path" ];
};
users.defaultUserShell = pkgs.nushell;
}