This commit is contained in:
fqbn207
2025-01-02 19:16:36 +01:00
parent bfce53b9ef
commit 539d0b2673
7 changed files with 124 additions and 11 deletions

View File

@ -23,9 +23,15 @@ in
systemd = { systemd = {
services = { services = {
modem-manager.enable = false;
mpd.environment = { mpd.environment = {
XDG_RUNTIME_DIR = "/run/user/1000"; XDG_RUNTIME_DIR = "/run/user/1000";
}; };
#pactl-pipe = {
# description = "Load Pactl Pipe for Audio";
# wantedBy = [ "multi-user.target" ];
# serviceConfig.ExecStart = "${pkgs.pulseaudio}/bin/pactl load-module module-null-sink sink_name=virtual_sink";
#};
}; };
}; };
@ -102,6 +108,9 @@ in
rtl-sdr = { rtl-sdr = {
enable = true; enable = true;
}; };
pulseaudio = {
enable = false;
};
}; };
programs = { programs = {
@ -130,6 +139,7 @@ in
"plugdev" "plugdev"
"adbusers" "adbusers"
"kvm" "kvm"
"dialout"
]; ];
}; };
@ -153,6 +163,9 @@ in
tree tree
gdb gdb
vscode vscode
pavucontrol
usbutils
alsa-utils
# cli # cli
neofetch neofetch
@ -172,16 +185,42 @@ in
nodejs nodejs
gccgo14 gccgo14
go go
nixd
arduino-cli
arduino-ide
arduino-language-server
dotnet-sdk dotnet-sdk
bear bear
android-tools android-tools
android-udev-rules android-udev-rules
android-studio-tools android-studio-tools
# embedded
espup
esphome
esptool
ethtool
espflash
minicom
pulseview
cp210x-program
arduino-ide
arduino-cli
# LSPs
nixd
arduino-language-server
# libs
python312Packages.pyserial
# SDR
noaa-apt
wsjtx
qsstv
gpredict
sdrangel
sdrpp
gnuradio
cubicsdr
gqrx
# misc # misc
cava cava
discord discord

View File

@ -130,7 +130,7 @@
"interval": 5 "interval": 5
}, },
"modules-center": [ "modules-center": [
"custom/playerlabel", "wlr/workspaces",
], ],
"modules-left": [ "modules-left": [
"cava#left", "cava#left",
@ -140,9 +140,12 @@
], ],
"modules-right": [ "modules-right": [
"tray", "tray",
"memory",
"cpu",
"battery", "battery",
"pulseaudio", "pulseaudio",
"network", "network",
"clock",
], ],
"network": { "network": {
@ -171,7 +174,7 @@
"spacing": 8 "spacing": 8
}, },
"wlr/workspaces": { "wlr/workspaces": {
"active-only": false, "active-only": true,
"all-outputs": false, "all-outputs": false,
"disable-scroll": false, "disable-scroll": false,
"format": "{name}", "format": "{name}",

View File

@ -20,6 +20,16 @@
ncmpcpp = { ncmpcpp = {
enable = true; enable = true;
mpdMusicDir = "/home/fabian/.music"; mpdMusicDir = "/home/fabian/.music";
settings = {
ncmpcpp_directory = "~/.ncmpcpp";
mpd_host = "localhost";
mpd_port = 6600;
header_window_color = "cyan";
progressbar_look = "";
visualizer_type = "wave";
visualizer_color = "cyan";
visualizer_look = "";
};
}; };
}; };
} }

View File

@ -23,12 +23,37 @@ in
./alpha.nix ./alpha.nix
./dev.nix ./dev.nix
./nonels.nix ./nonels.nix
./treesitter.nix
]; ];
programs.nixvim = { programs.nixvim = {
enable = true; enable = true;
colorschemes.oxocarbon.enable = true; colorschemes.oxocarbon.enable = true;
plugins = { plugins = {
neocord.enable = true; neocord = {
enable = true;
settings = {
auto_update = true;
blacklist = [ ];
client_id = "1157438221865717891";
debounce_timeout = 10;
editing_text = "Editing...";
enable_line_number = false;
file_assets = null;
file_explorer_text = "Browsing...";
git_commit_text = "Committing changes...";
global_timer = true;
line_number_text = "Line %s out of %s";
log_level = null;
logo = "auto";
logo_tooltip = null;
main_image = "language";
plugin_manager_text = "Managing plugins...";
reading_text = "Reading...";
show_time = true;
terminal_text = "Using a 1337 Terminal...";
workspace_text = "Working on %s";
};
};
}; };
}; };
} }

View File

@ -10,6 +10,8 @@
toggleterm.enable = true; toggleterm.enable = true;
autoclose.enable = true; autoclose.enable = true;
web-devicons.enable = true; web-devicons.enable = true;
which-key.enable = true;
trouble.enable = true;
}; };
}; };
} }

View File

@ -65,9 +65,9 @@
autostart = true; autostart = true;
}; };
omnisharp = { omnisharp = {
enable = true; enable = true;
autostart = true; autostart = true;
}; };
arduino_language_server = { arduino_language_server = {
enable = true; enable = true;
autostart = true; autostart = true;

View File

@ -0,0 +1,34 @@
{
config,
pkgs,
nixvim,
...
}:
{
programs.nixvim = {
plugins = {
treesitter-context = {
enable = true;
};
treesitter = {
enable = true;
grammarPackages = with pkgs.vimPlugins.nvim-treesitter.builtGrammars; [
c
cpp
rust
bash
json
lua
make
markdown
nix
toml
vim
vimdoc
xml
yaml
];
};
};
};
}