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

View File

@ -133,6 +133,23 @@
###
## 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;
services.blueman.enable = true;
services.flatpak.enable = true;
@ -181,8 +198,21 @@
};
};
hardware.bluetooth.enable = true; # enables support for Bluetooth
hardware.bluetooth.powerOnBoot = true; # powers up the default Bluetooth controller on boot
hardware.bluetooth = {
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" ];
# Enable HIP

View File

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

View File

@ -12,7 +12,9 @@
boot.initrd.kernelModules = [ "amdgpu" ];
boot.kernelModules = [ "kvm-amd" ];
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:
# `nix repl`
# > :l <nixpkgs>