This commit is contained in:
Henri Dohmen 2025-04-21 22:48:50 +02:00
parent f52a8f225b
commit d7ce40ffa7
14 changed files with 38 additions and 30 deletions

View file

@ -0,0 +1,18 @@
{ pkgs, ... }:
{
documentation.dev.enable = true;
environment.systemPackages = with pkgs; [
rustup
python313
python313Packages.mypy
gcc
clang
gdb
gnumake
binutils
nixfmt-rfc-style
man-pages
man-pages-posix
];
}

7
mod/software/games.nix Normal file
View file

@ -0,0 +1,7 @@
{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [
runelite
];
programs.steam.enable = true;
}

View file

@ -0,0 +1,6 @@
{ pkgs, ... }:
{
# hardware.keyboard.qmk.enable = true;
environment.systemPackages = with pkgs; [ vial ];
services.udev.packages = with pkgs; [ vial ];
}

55
mod/software/programs.nix Normal file
View file

@ -0,0 +1,55 @@
{ pkgs, ... }:
{
environment.systemPackages =
let
editors = with pkgs; [
vscode
emacs
jetbrains.gateway
jetbrains.rust-rover
];
messengers = with pkgs; [
signal-desktop
element-desktop
zulip
vesktop
];
util = with pkgs; [
wireguard-tools
bitwarden
kitty
nil
];
media = with pkgs; [
vlc
spotify
calibre
];
productivity = with pkgs; [
zotero
obsidian
];
in
editors ++ messengers ++ util ++ media ++ productivity;
virtualisation = {
docker.enable = true;
};
programs = {
firefox.enable = true;
thunderbird = {
enable = true;
package = pkgs.thunderbird-latest;
};
};
# Some excludes
services.xserver.excludePackages = [ pkgs.xterm ];
}

48
mod/software/shell.nix Normal file
View file

@ -0,0 +1,48 @@
{ pkgs, ... }:
{
environment.shells = with pkgs; [
bashInteractive
fish
];
environment.systemPackages = with pkgs; [
bc
docker-compose
fd
gh
htop
killall
ripgrep
starship
stow
unzip
wget
wl-clipboard
];
programs = {
fish.enable = true;
git.enable = true;
tmux = {
enable = true;
clock24 = true;
};
neovim = {
enable = true;
defaultEditor = true;
viAlias = true;
vimAlias = true;
};
};
# --- Excludes ---
programs.nano.enable = false;
# Enabled by fish but takes soooo long.
# This is apparently used by some of fish's
# autocomplete features.
documentation.man.generateCaches = false;
# To stop the annoying error on entering wrong commands
programs.command-not-found.enable = false;
}

View file

@ -0,0 +1,9 @@
{ pkgs, ... }:
{
# Enable the KDE Plasma Desktop Environment.
services.displayManager.sddm = {
enable = true;
wayland.enable = true;
};
services.desktopManager.plasma6.enable = true;
}