-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdefault.nix
44 lines (37 loc) · 892 Bytes
/
default.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
{ pkgs, config, ... }:
{
imports = [
./hardware-configuration.nix
./../../modules/core/default.violet.nix
./../../modules/services/violet.nix
];
networking.hostName = "violet";
nixpkgs.config.permittedInsecurePackages = [
"jitsi-meet-1.0.8043"
"olm-3.2.16"
];
time.timeZone = "Europe/Amsterdam";
environment.systemPackages = with pkgs; [
pkgs.kitty.terminfo
];
# NVIDIA drivers
hardware = {
graphics.enable = true;
nvidia.open = false; # Set to false/true for proprietary/open drivers
};
services.xserver.videoDrivers = [ "nvidia" ];
boot = {
loader.grub = {
enable = true;
device = "/dev/sda";
useOSProber = true;
};
kernelModules = ["acpi_call"];
extraModulePackages = with config.boot.kernelPackages;
[
acpi_call
cpupower
]
++ [pkgs.cpupower-gui];
};
}