mirror of
https://forge.katzen.cafe/schrottkatze/nix-configs.git
synced 2024-11-21 12:54:41 +01:00
move some graphics stuff into individual modules/files
This commit is contained in:
parent
b63db1934d
commit
ddd6ecd055
|
@ -138,7 +138,6 @@ with builtins; {
|
|||
boot.kernel.sysctl."vm.max_map_count" = 2147483642;
|
||||
|
||||
hardware = {
|
||||
opengl.enable = true;
|
||||
uinput.enable = true;
|
||||
bluetooth.enable = true;
|
||||
# keyboard.uhk.enable = true;
|
||||
|
|
|
@ -46,18 +46,6 @@
|
|||
S10E_JRNL_FILE_LOC = "/home/jade/Docs/jrnl.md";
|
||||
};
|
||||
|
||||
hardware.opengl = {
|
||||
enable = true;
|
||||
extraPackages = with pkgs; [
|
||||
intel-ocl
|
||||
intel-media-driver
|
||||
intel-vaapi-driver
|
||||
intel-compute-runtime
|
||||
libvdpau-va-gl
|
||||
mesa.drivers
|
||||
];
|
||||
};
|
||||
|
||||
programs.wireshark.enable = true;
|
||||
|
||||
boot.resumeDevice = "/dev/disk/by-uuid/4f9e8afa-f8d7-40bf-b3ea-17e8e8fbb694";
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
{...}: {
|
||||
imports = [
|
||||
./input.nix
|
||||
./graphics.nix
|
||||
];
|
||||
}
|
||||
|
|
12
hosts/catbook-j/modules/graphics.nix
Normal file
12
hosts/catbook-j/modules/graphics.nix
Normal file
|
@ -0,0 +1,12 @@
|
|||
{pkgs, ...}: {
|
||||
hardware.graphics = {
|
||||
extraPackages = with pkgs; [
|
||||
intel-ocl
|
||||
intel-media-driver
|
||||
intel-vaapi-driver
|
||||
intel-compute-runtime
|
||||
libvdpau-va-gl
|
||||
mesa.drivers
|
||||
];
|
||||
};
|
||||
}
|
|
@ -6,9 +6,11 @@
|
|||
./hardware-configuration.nix
|
||||
../../common.nix
|
||||
../../modules
|
||||
./modules
|
||||
];
|
||||
|
||||
jade = {
|
||||
hwKey.pamAuth.enable = true;
|
||||
desktop = {
|
||||
syncthing.enable = true;
|
||||
kdeconnect.enable = true;
|
||||
|
@ -57,9 +59,6 @@
|
|||
# TODO: clean up.
|
||||
zenstates
|
||||
zenmonitor
|
||||
nvtop-amd
|
||||
radeontop
|
||||
rgp
|
||||
tea
|
||||
blender-hip
|
||||
];
|
||||
|
|
5
hosts/monosodium-glutamate-g/modules/default.nix
Normal file
5
hosts/monosodium-glutamate-g/modules/default.nix
Normal file
|
@ -0,0 +1,5 @@
|
|||
{}: {
|
||||
imports = [
|
||||
./graphics.nix
|
||||
];
|
||||
}
|
7
hosts/monosodium-glutamate-g/modules/graphics.nix
Normal file
7
hosts/monosodium-glutamate-g/modules/graphics.nix
Normal file
|
@ -0,0 +1,7 @@
|
|||
{pkgs, ...}: {
|
||||
environment.systemPackages = [
|
||||
pkgs.nvtop-amd
|
||||
pkgs.radeontop
|
||||
pkgs.rgp
|
||||
];
|
||||
}
|
|
@ -6,5 +6,6 @@
|
|||
./firewall.nix
|
||||
./desktop-environment
|
||||
./input
|
||||
./graphics.nix
|
||||
];
|
||||
}
|
||||
|
|
3
modules/graphics.nix
Normal file
3
modules/graphics.nix
Normal file
|
@ -0,0 +1,3 @@
|
|||
{}: {
|
||||
graphics.enable = true;
|
||||
}
|
Loading…
Reference in a new issue