This commit is contained in:
Robin
2026-04-01 07:45:17 +02:00
commit fe27dff192
11 changed files with 733 additions and 0 deletions

19
custom/ai.nix Normal file
View File

@@ -0,0 +1,19 @@
{config, pkgs, pkgs-stable, ...}:{
services.open-webui = {
package = pkgs-stable.open-webui; # pkgs must be from stable, for example nixos-24.11
enable = true;
port = 8083;
environment = {
ANONYMIZED_TELEMETRY = "False";
DO_NOT_TRACK = "True";
SCARF_NO_ANALYTICS = "True";
OLLAMA_API_BASE_URL = "http://127.0.0.1:11434/api";
OLLAMA_BASE_URL = "http://127.0.0.1:11434";
};
};
services.ollama = {
enable = true;
package = pkgs.ollama-rocm;
};
}

30
custom/games.nix Executable file
View File

@@ -0,0 +1,30 @@
{ config, pkgs, ...}:
{
environment = {
systemPackages = with pkgs; [
#gamescope_git
#mesa_git
obs-studio
protonup-ng
prismlauncher
steam
heroic
mangohud
];
sessionVariables = {
STEAM_EXTRA_COMPAT_TOOLS_PATHS = "\${HOME}/.steam/root/compatibilitytools.d";
};
};
#chaotic.mesa-git.enable = true;
programs = {
steam.gamescopeSession.enable = true;
gamemode.enable = true;
steam = {
enable = true;
remotePlay.openFirewall = true;
localNetworkGameTransfers.openFirewall = true;
};
};
}

15
custom/hyprland.nix Normal file
View File

@@ -0,0 +1,15 @@
{ config, pkgs, ... }: {
environment.systemPackages = (with pkgs; [
rofi
hyprcursor
swww
hyprland
hyprlock
hyprsunset
]);
programs.hyprland = {
enable = true;
withUWSM = true; # recommended for most users
#xwayland.enable = true;
};
}

15
custom/locale.nix Executable file
View File

@@ -0,0 +1,15 @@
{ config, ... }:
{
i18n.defaultLocale = "en_US.UTF-8";
i18n.extraLocaleSettings = {
LC_ADDRESS = "de_DE.UTF-8";
LC_IDENTIFICATION = "de_DE.UTF-8";
LC_MEASUREMENT = "de_DE.UTF-8";
LC_MONETARY = "de_DE.UTF-8";
LC_NAME = "de_DE.UTF-8";
LC_NUMERIC = "de_DE.UTF-8";
LC_PAPER = "de_DE.UTF-8";
LC_TELEPHONE = "de_DE.UTF-8";
LC_TIME = "de_DE.UTF-8";
};
}

33
custom/mount.nix Executable file
View File

@@ -0,0 +1,33 @@
{ config, ... }:
{
boot.supportedFilesystems = [ "ntfs" ];
fileSystems."/run/media/robin/2nd_ssd" = {
device = "/dev/disk/by-uuid/ab6209bf-0171-43f6-b652-7e37656da7e9";
fsType = "btrfs";
options = [
"nofail"
"x-gvfs-show"
];
};
fileSystems."/run/media/robin/1tb_volume2_lol" = {
device = "/dev/disk/by-uuid/2C81D8DF06D810EF";
fsType = "ntfs-3g";
options = [
"nofail"
"rw"
"x-gvfs-show"
];
};
fileSystems."/run/media/robin/1tb_volume" = {
device = "/dev/disk/by-uuid/fae13c7f-1e3e-4fb4-aea0-2c08297e26b5";
fsType = "btrfs";
options = [
"nofail"
"x-gvfs-show"
];
};
}

134
custom/packages.nix Executable file
View File

@@ -0,0 +1,134 @@
{ pkgs, inputs, pkgs-stable, ... }:
{
environment.systemPackages = (with pkgs; [
krita
wget
vim
neovim
fastfetch
waybar
swaynotificationcenter
kitty
nautilus
ranger
ly
zsh
stow
git
firefox
kanata
bat
kdePackages.kdeconnect-kde
pkgs.fzf
zoxide
killall
pkgs.eza
discord
pavucontrol
docker
docker-compose
keepassxc
tmux
nwg-look
zip
unzip
(pkgs.catppuccin-gtk.override {
accents = [ "pink" ]; # You can specify multiple accents here to output multiple themes
size = "compact";
variant = "frappe";
})
bashmount
kdePackages.partitionmanager
rsync
cmatrix
cowsay
fortune
qbittorrent
gdu
calc
unp
noisetorch
signal-desktop
element-desktop
revolt-desktop
localsend
mpd
ghostty
gcc
oh-my-posh
mpv
qimgv
grim
slurp
sl
(pass.withExtensions (exts: [ exts.pass-import ]))
python3
wl-clipboard
pinentry-tty
mpc
ripgrep
fd
unixtools.netstat
clerk
alsa-utils
kdePackages.okular
progress
tor-browser
obsidian
libreoffice
scrcpy
colloid-icon-theme
pigz
asciinema
asciinema-agg
nmap
gimp
duf
linuxKernel.packages.linux_zen.cpupower
home-manager
iperf3
vesktop
lutris
btop-rocm
lm_sensors
pipes
cbonsai
inkscape
asciiquarium-transparent
wireshark
termshark
monero-gui
rmpc
yt-dlp
vulnix
ffmpeg
croc
spotdl
supertuxkart
testdisk
testdisk-qt
htop
ungoogled-chromium
syncthing
samba
sssnake
droidcam
obs-studio-plugins.droidcam-obs
nitch
tomb
wine
linux-wallpaperengine
fusee-nano
ppsspp
alvr
lact
librewolf
nvtopPackages.amd
xhost
rpi-imager
powertop
i2c-tools
spotify
termdown
]);
}

74
custom/services.nix Executable file
View File

@@ -0,0 +1,74 @@
{ config, pkgs, ... }:
{
#Services:
security.rtkit.enable = true;
services = {
hardware.openrgb = {
enable = true;
package = pkgs.openrgb-with-all-plugins;
motherboard = "amd";
startupProfile = "meow";
};
sunshine = {
enable = true;
autoStart = true;
capSysAdmin = true; # only needed for Wayland -- omit this when using with Xorg
openFirewall = true;
};
lact.enable = true;
syncthing = {
enable = true;
#group = "mygroupname";
user = "robin";
dataDir = "/home/robin/Documents"; # Default folder for new synced folders
configDir = "/home/robin/.config/syncthing"; # Folder for Syncthing's settings and keys
};
pipewire = {
enable = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
wireplumber.enable = true;
jack.enable = true;
};
qemuGuest.enable = true;
spice-vdagentd.enable = true;
pcscd.enable = true;
udisks2.enable = true;
flatpak.enable = true;
gvfs.enable = true;
displayManager.ly = {
enable = true;
settings = {
animation = "colormix";
};
};
openssh.enable = true;
xserver.xkb = {
layout = "us";
variant = "";
};
kanata = {
enable = true;
keyboards = {
internalKeyboard = {
extraDefCfg = "process-unmapped-keys yes";
config = ''
(defsrc
caps
)
(defalias
escctrl (tap-hold 300 100 caps lmet)
)
(deflayer base
@escctrl
)
'';
};
};
};
};
}