nvidia fix m3-ares
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user