nate - printer stuff, midi fix, added godot and clojure stuff

This commit is contained in:
Nathan Anderson 2025-06-08 14:30:40 -06:00
parent 40b6544a78
commit 12e641a0b8
4 changed files with 51 additions and 6 deletions

View File

@ -64,6 +64,7 @@
docker-compose docker-compose
# fossil # fossil
# fnc # fnc
unstable.godot
jq jq
python310 python310
### LSP's ### LSP's
@ -72,6 +73,14 @@
openscad-lsp openscad-lsp
vscode-langservers-extracted # provides eslint, markdown, json, css, and html lsp vscode-langservers-extracted # provides eslint, markdown, json, css, and html lsp
python311Packages.python-lsp-server python311Packages.python-lsp-server
## Clojure
leiningen
jre17_minimal
clojure
clojure-lsp
cljfmt
emacs
# zls # zls
### Misc ### Misc
# android-udev-rules # android-udev-rules
@ -128,8 +137,6 @@
# #
mumble mumble
slack slack
unstable.signal-desktop
# #
# Other # Other
# #
@ -140,6 +147,10 @@
gnome-disk-utility gnome-disk-utility
handbrake handbrake
kdePackages.filelight kdePackages.filelight
hugo
prismlauncher
simple-scan
code-cursor
# #
# Style # Style

View File

@ -133,6 +133,23 @@
### ###
## Services ## Services
### ###
services.printing.enable = true;
services.printing.drivers = [ pkgs.brlaser ];
# Brother Scanner DS-640
hardware.sane.enable = true;
hardware.sane.brscan5.enable = true;
# Printing
services.avahi = {
enable = true;
nssmdns4 = true;
openFirewall = true;
};
networking.firewall = {
enable = true; # Enable the firewall
allowedTCPPorts = [ 8080 8081 ]; # Open port 8080 for TCP
# allowedUDPPorts = [ ... ]; # If you need UDP ports
};
virtualisation.docker.enable = true; virtualisation.docker.enable = true;
services.blueman.enable = true; services.blueman.enable = true;
services.flatpak.enable = true; services.flatpak.enable = true;
@ -181,8 +198,21 @@
}; };
}; };
hardware.bluetooth.enable = true; # enables support for Bluetooth hardware.bluetooth = {
hardware.bluetooth.powerOnBoot = true; # powers up the default Bluetooth controller on boot enable = true; # enables support for Bluetooth
powerOnBoot = true;
settings.General = {
experimental = true; # show battery
# https://www.reddit.com/r/NixOS/comments/1ch5d2p/comment/lkbabax/
# for pairing bluetooth controller
Privacy = "device";
JustWorksRepairing = "always";
Class = "0x000100";
FastConnectable = true;
};
};
hardware.xpadneo.enable = true;
services.xserver.videoDrivers = [ "amdgpu" ]; services.xserver.videoDrivers = [ "amdgpu" ];
# Enable HIP # Enable HIP

View File

@ -47,7 +47,9 @@ in
"networkmanager" "networkmanager"
"video" "video"
"wheel" "wheel"
# For scanner
"scanner"
"lp"
]; ];
}) })
]; ];

View File

@ -12,7 +12,9 @@
boot.initrd.kernelModules = [ "amdgpu" ]; boot.initrd.kernelModules = [ "amdgpu" ];
boot.kernelModules = [ "kvm-amd" ]; boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ]; boot.extraModulePackages = [ ];
# circuit tracks fix for buffer size
# https://www.reddit.com/r/novationcircuit/comments/16l86v5/psa_components_on_linux_fix_for_sending_packs_and/
boot.kernelParams = [ "snd_seq_midi.output_buffer_size=131072" ];
# Use xanmod kernel. List kernels by running: # Use xanmod kernel. List kernels by running:
# `nix repl` # `nix repl`
# > :l <nixpkgs> # > :l <nixpkgs>