mirror of
https://github.com/caperren/nixos-configs.git
synced 2025-11-09 12:11:13 +00:00
Nvidia, audio, and esp32 work
This commit is contained in:
12
flake.lock
generated
12
flake.lock
generated
@@ -7,11 +7,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1722462338,
|
"lastModified": 1724435763,
|
||||||
"narHash": "sha256-ss0G8t8RJVDewA3MyqgAlV951cWRK6EtVhVKEZ7J5LU=",
|
"narHash": "sha256-UNky3lJNGQtUEXT2OY8gMxejakSWPTfWKvpFkpFlAfM=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "6e090576c4824b16e8759ebca3958c5b09659ee8",
|
"rev": "c2cd2a52e02f1dfa1c88f95abeb89298d46023be",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -22,11 +22,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1722421184,
|
"lastModified": 1724819573,
|
||||||
"narHash": "sha256-/DJBI6trCeVnasdjUo9pbnodCLZcFqnVZiLUfqLH4jA=",
|
"narHash": "sha256-GnR7/ibgIH1vhoy8cYdmXE6iyZqKqFxQSVkFgosBh6w=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "9f918d616c5321ad374ae6cb5ea89c9e04bf3e58",
|
"rev": "71e91c409d1e654808b2621f28a327acfdad8dc2",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|||||||
@@ -91,6 +91,7 @@
|
|||||||
"networkmanager"
|
"networkmanager"
|
||||||
"wheel"
|
"wheel"
|
||||||
"input"
|
"input"
|
||||||
|
"dialout"
|
||||||
];
|
];
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
# thunderbird
|
# thunderbird
|
||||||
@@ -145,8 +146,45 @@
|
|||||||
nixfmt-rfc-style
|
nixfmt-rfc-style
|
||||||
mako
|
mako
|
||||||
podman
|
podman
|
||||||
|
kicad
|
||||||
|
obsidian
|
||||||
|
speedcrunch
|
||||||
|
deadbeef
|
||||||
|
vlc
|
||||||
|
sox
|
||||||
|
audacity
|
||||||
|
# flatcam
|
||||||
|
pcb2gcode
|
||||||
|
jetbrains-toolbox
|
||||||
|
arduino-ide
|
||||||
|
python311Full
|
||||||
|
gcc
|
||||||
|
stm32cubemx
|
||||||
|
stm32flash
|
||||||
|
easyeffects
|
||||||
];
|
];
|
||||||
|
|
||||||
|
services.udev.extraRules = ''
|
||||||
|
# ST-LINK V2
|
||||||
|
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="3748", MODE="600", TAG+="uaccess", SYMLINK+="stlinkv2_%n"
|
||||||
|
|
||||||
|
# ST-LINK V2.1
|
||||||
|
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="374b", MODE="600", TAG+="uaccess", SYMLINK+="stlinkv2-1_%n"
|
||||||
|
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="3752", MODE="600", TAG+="uaccess", SYMLINK+="stlinkv2-1_%n"
|
||||||
|
|
||||||
|
# ST-LINK V3
|
||||||
|
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="374d", MODE="600", TAG+="uaccess", SYMLINK+="stlinkv3loader_%n"
|
||||||
|
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="374e", MODE="600", TAG+="uaccess", SYMLINK+="stlinkv3_%n"
|
||||||
|
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="374f", MODE="600", TAG+="uaccess", SYMLINK+="stlinkv3_%n"
|
||||||
|
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="3753", MODE="600", TAG+="uaccess", SYMLINK+="stlinkv3_%n"
|
||||||
|
|
||||||
|
# CP2101 - CP 2104
|
||||||
|
SUBSYSTEMS=="usb", ATTRS{idVendor}=="10c4", ATTRS{idProduct}=="ea60", MODE="600", TAG+="uaccess", SYMLINK+="usb2ser_%n"
|
||||||
|
|
||||||
|
# ATEN UC-232A
|
||||||
|
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0557", ATTRS{idProduct}=="2008", MODE="600", TAG+="uaccess", SYMLINK+="usb2ser_aten_%n"
|
||||||
|
'';
|
||||||
|
|
||||||
fonts.fontDir.enable = true;
|
fonts.fontDir.enable = true;
|
||||||
fonts.fontconfig.enable = true;
|
fonts.fontconfig.enable = true;
|
||||||
fonts.fontconfig.antialias = true;
|
fonts.fontconfig.antialias = true;
|
||||||
|
|||||||
@@ -20,6 +20,8 @@
|
|||||||
WLR_NO_HARDWARE_CURSORS = "1";
|
WLR_NO_HARDWARE_CURSORS = "1";
|
||||||
# Hint electron apps to use wayland
|
# Hint electron apps to use wayland
|
||||||
NIXOS_OZONE_WL = "1";
|
NIXOS_OZONE_WL = "1";
|
||||||
|
# Fix waiting on vsync
|
||||||
|
__GL_SYNC_TO_VBLANK = "0";
|
||||||
};
|
};
|
||||||
|
|
||||||
services.xserver = {
|
services.xserver = {
|
||||||
@@ -45,7 +47,8 @@
|
|||||||
# Enable modesetting for Wayland compositors (hyprland)
|
# Enable modesetting for Wayland compositors (hyprland)
|
||||||
modesetting.enable = true;
|
modesetting.enable = true;
|
||||||
# Use the open source version of the kernel module (for driver 515.43.04+)
|
# Use the open source version of the kernel module (for driver 515.43.04+)
|
||||||
# open = true;
|
# Actually, just overridden to false for now
|
||||||
|
open = false;
|
||||||
# Enable the Nvidia settings menu
|
# Enable the Nvidia settings menu
|
||||||
nvidiaSettings = true;
|
nvidiaSettings = true;
|
||||||
# Select the appropriate driver version for your specific GPU
|
# Select the appropriate driver version for your specific GPU
|
||||||
|
|||||||
Reference in New Issue
Block a user