amd drivers, fish shell, nixos-unstable, plasma6

This commit is contained in:
mjallen18
2024-02-02 09:30:26 -06:00
parent 6eb29a4914
commit cca32e7d47
5 changed files with 230 additions and 14 deletions

View File

@@ -19,6 +19,7 @@ in
imports =
[ # Include the results of the hardware scan.
./hardware-configuration.nix
./cachix.nix
];
# Enable nix flakes and nix-command tools
@@ -31,17 +32,25 @@ in
# Use the systemd-boot EFI boot loader.
boot.loader.systemd-boot.enable = false;
boot.loader.systemd-boot.configurationLimit = 5;
boot.loader.efi.canTouchEfiVariables = true;
boot.loader.efi.efiSysMountPoint = "/boot";
boot.loader.systemd-boot.configurationLimit = 5;
boot.bootspec.enable = true;
boot.lanzaboote = {
enable = true;
pkiBundle = "/etc/secureboot";
settings = {
default = "@saved";
console-mode = "max";
};
configurationLimit = 2;
};
services.fwupd.enable = true;
hardware.enableAllFirmware = true;
# Override kernel to latest
boot.kernelPackages = pkgs.linuxPackages_latest;
@@ -81,8 +90,10 @@ in
# Enable the Plasma 5 Desktop Environment.
services.xserver.displayManager.sddm.enable = true;
services.xserver.desktopManager.plasma5.enable = true;
services.xserver.displayManager.defaultSession = "plasmawayland";
# services.xserver.desktopManager.plasma5.enable = true;
services.xserver.desktopManager.plasma6.enable = true;
# services.xserver.displayManager.defaultSession = "plasmawayland";
services.xserver.displayManager.defaultSession = "plasma";
# Configure keymap in X11
# services.xserver.xkb.layout = "us";
@@ -106,7 +117,7 @@ in
# Enable Flatpak
services.flatpak.enable = true;
xdg.portal.extraPortals = [ pkgs.xdg-desktop-portal-kde ];
# xdg.portal.extraPortals = [ pkgs.xdg-desktop-portal-kde ];
# Enable AppImage
boot.binfmt.registrations.appimage = {
@@ -118,13 +129,28 @@ in
magicOrExtension = ''\x7fELF....AI\x02'';
};
# Force radv
environment.variables.AMD_VULKAN_ICD = "RADV";
hardware.opengl.extraPackages = [
pkgs.amdvlk
];
# To enable Vulkan support for 32-bit applications, also add:
hardware.opengl.extraPackages32 = [
pkgs.driversi686Linux.amdvlk
];
# Enable touchpad support (enabled default in most desktopManager).
# services.xserver.libinput.enable = true;
programs.fish.enable = true;
# Define a user account. Don't forget to set a password with passwd.
users.users.matt = {
isNormalUser = true;
extraGroups = [ "wheel" "networkmanager" ]; # Enable sudo for the user.
shell = pkgs.fish;
packages = with pkgs; [
firefox
tree
@@ -146,8 +172,18 @@ in
sbctl
gparted
discover-wrapped
pciutils
papirus-icon-theme
neofetch
gamescope
mangohud
goverlay
heroic
];
programs.java.enable = true;
# Steam
programs.steam = {
enable = true;