Multiple changes for gunter

This commit is contained in:
2024-03-02 21:16:23 +01:00
parent b3423e8472
commit f0842bf343
7 changed files with 170 additions and 22 deletions

View File

@@ -5,9 +5,9 @@
# Bootloader stuff
boot.kernelParams = [
"quiet"
"splash"
"rd.systemd.show_status=false"
# "quiet"
# "splash"
# "rd.systemd.show_status=false"
];
boot.loader.systemd-boot = { enable = true; };
boot.loader.efi = { canTouchEfiVariables = true; };
@@ -20,14 +20,38 @@
time.timeZone = "Europe/Oslo";
# Enable opengl
# hardware.opengl = {
# enable = true;
# extraPackages = with pkgs; [
# ];
# };
hardware.opengl = {
enable = true;
driSupport = true;
driSupport32Bit = true;
extraPackages = with pkgs; [
vaapiVdpau
nvidia-vaapi-driver
];
};
# Nvidia stuff
hardware.nvidia = {
modesetting.enable = true;
powerManagement.enable = false;
powerManagement.finegrained = false;
open = false;
nvidiaSettings = true;
package = config.boot.kernelPackages.nvidiaPackages.stable;
};
# Setup hyprland
# nixpkgs.overlays = [
# (self: super: {
# hyprland = super.hyprland.override {
# debug = true;
# };
# })
# ];
services.xserver.enable = true;
services.xserver.videoDrivers = [ "nvidia" ];
services.xserver.displayManager.gdm.wayland = true;
programs.hyprland = {
enable = true;
xwayland.enable = true;
@@ -60,10 +84,12 @@
nixpkgs.config.allowUnfree = true;
# Install system-wide packages
environment.systemPackages = with pkgs; [
vim
wget
curl
git
libnotify
usbutils
vim
wget
];
# Do NOT change this value unless you have manually inspected all the changes it would make to your configuration,