set up eevee

This commit is contained in:
Vivian 2023-04-22 17:38:18 +02:00
parent e1b3bcc447
commit a3d7fdaea4
14 changed files with 64 additions and 26 deletions

View file

@ -162,5 +162,6 @@
ip = "10.42.42.69";
ip6 = "2001:41f0:9639:1:a83:e416:dc99:5ed3";
mac = "34:97:f6:93:9A:AA";
nix = false;
};
}

View file

@ -1,20 +0,0 @@
{ pkgs, ... }: {
hardware.enableAllFirmware = true;
hardware.bluetooth.enable = true;
services.hardware.bolt.enable = true;
# Vulkan
# hardware.opengl.driSupport = true;
# hardware.opengl.extraPackages = with pkgs; [
# amdvlk
# rocm-opencl-icd
# rocm-opencl-runtime
# ];
# systemd.tmpfiles.rules =
# [ "L+ /opt/rocm/hip - - - - ${pkgs.hip}" ];
# SSD Trim
services.fstrim.enable = true;
}

View file

@ -1,4 +1,5 @@
{
# "null" = { type = "local"; };
"aoife" = { type = "local"; };
"eevee" = { type = "local"; };
}

View file

@ -107,7 +107,4 @@
# Before changing this value read the documentation for this option
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
system.stateVersion = "23.05"; # Did you read the comment?
nix.settings.extra-sandbox-paths =
[ (toString config.programs.ccache.cacheDir) ];
}

View file

@ -1,8 +1,7 @@
{ pkgs, ... }: {
# Enable the X11 windowing system.
services.xserver.enable = true;
# TODO: Nvidia
# services.xserver.videoDrivers = [ "amdgpu" ];
services.xserver.videoDrivers = [ "nvidia" ];
services.xserver.excludePackages = [ pkgs.xterm ];
# Configure keymap in X11

View file

@ -0,0 +1,41 @@
# Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, modulesPath, ... }:
{
imports =
[ (modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/947a98af-9a4e-4811-a2ca-9aa00b319e9c";
fsType = "btrfs";
options = [ "subvol=@" ];
};
fileSystems."/boot/efi" =
{ device = "/dev/disk/by-uuid/D883-F146";
fsType = "vfat";
};
swapDevices =
[ { device = "/dev/disk/by-uuid/a99402e1-6f2a-4c4b-b69f-aae2fd13ffc0"; }
];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
# (the default) this is the recommended approach. When using systemd-networkd it's
# still possible to use this option, but it's recommended to use it in conjunction
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
networking.useDHCP = lib.mkDefault true;
# networking.interfaces.enp0s31f6.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}

View file

@ -0,0 +1,14 @@
{ pkgs, ... }: {
hardware.enableAllFirmware = true;
hardware.bluetooth.enable = true;
services.hardware.bolt.enable = true;
hardware.opengl.enable = true;
services.udev.packages = with pkgs; [ wooting-udev-rules ];
# SSD Trim
services.fstrim.enable = true;
}

View file

@ -21,6 +21,10 @@ in {
sources = [ (mkTuple [ "xkb" "us+altgr-intl" ]) ];
};
"org/gnome/desktop/peripherals/mouse" = {
accel-profile = "flat";
};
"org/gnome/desktop/peripherals/touchpad" = {
tap-to-click = true;
two-finger-scrolling-enabled = true;

View file

@ -14,7 +14,7 @@ in {
imports = [
./dconf.nix
./theme.nix
./neovim.nix
./neovim.nix
];
home.packages = with pkgs; [
@ -38,6 +38,7 @@ in {
solo2-cli
tex
yt-dlp
wootility
];
programs.riff = {