mirror of
https://github.com/ParkerTenBroeck/dotfiles.git
synced 2026-06-06 21:00:35 -04:00
added work laptop config
This commit is contained in:
parent
8a4f715cbb
commit
3b1bfaccb7
4 changed files with 139 additions and 2 deletions
|
|
@ -12,5 +12,7 @@
|
|||
screen
|
||||
ranger # file manager
|
||||
ripgrep
|
||||
cloc
|
||||
gdu
|
||||
];
|
||||
}
|
||||
4
modules/docker.nix
Normal file
4
modules/docker.nix
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
virtualisation.docker.enable = true;
|
||||
users.users.may.extraGroups = [ "docker" ];
|
||||
}
|
||||
19
modules/nvidia.nix
Normal file
19
modules/nvidia.nix
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
{ config, lib, pkgs, ... }: {
|
||||
|
||||
hardware.graphics.enable = true;
|
||||
nixpkgs.config.nvidia.acceptLicense = true;
|
||||
hardware.nvidia = {
|
||||
modesetting.enable = true;
|
||||
nvidiaSettings = true;
|
||||
powerManagement.enable = false;
|
||||
powerManagement.finegrained = false;
|
||||
open = false;
|
||||
package = config.boot.kernelPackages.nvidiaPackages.stable;
|
||||
};
|
||||
|
||||
services.xserver.videoDrivers = [ "nvidia" ];
|
||||
|
||||
home-manager.users.may.home.packages = with pkgs; [
|
||||
nvtopPackages.nvidia
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue