fixes and improvements

This commit is contained in:
2025-07-25 10:24:08 +02:00
parent e2f428bc64
commit 0f51bf1abb
46 changed files with 780 additions and 63 deletions
+19 -1
View File
@@ -8,8 +8,26 @@
brave
firefox
chromium
thunderbird
# misc
zotero
evince
pcmanfm
krusader
# graphic and image stuff
gimp
nomacs
# video playing
vlc
mpv
qbittorrent
nextcloud-client
];
Executable → Regular
+12 -1
View File
@@ -1,11 +1,22 @@
{ config, lib, pkgs, ... }:
{
environment.systemPackages = with pkgs; [
jdk
jetbrains.pycharm-professional
#(jetbrains.plugins.addPlugins jetbrains.pycharm-professional ["github-copilot"])
R
mongodb-compass
];
virtualisation.virtualbox.host.enable = true;
virtualisation.virtualbox.host.enableExtensionPack = true;
programs.nix-ld.enable = true;
programs.nix-ld.libraries = with pkgs; [
zlib # numpy
libgcc # sqlalchemy
# that's where the shared libs go, you can find which one you need using
# nix-locate --top-level libstdc++.so.6 (replace this with your lib)
# ^ this requires `nix-index` pkg
];
}
+4 -4
View File
@@ -1,8 +1,8 @@
{ config, lib, pkgs, ... }:
{
virtualisation.docker.enable = true;
virtualisation.docker.rootless = {
enable = true;
setSocketVariable = true;
};
#virtualisation.docker.rootless = {
# enable = true;
# setSocketVariable = true;
#};
}
+7
View File
@@ -0,0 +1,7 @@
{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [
spotify
ffmpeg
];
}
+19
View File
@@ -0,0 +1,19 @@
{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [
(lutris.override {
extraLibraries = pkgs: [
# List library dependencies here
];
})
wineWowPackages.stable # 32/64-bit Wine
winetricks
lutris
vulkan-tools # for testing Vulkan
libpulseaudio # often needed for audio in Wine games
protonup-qt
];
programs.steam.enable = true;
}
+7 -6
View File
@@ -10,6 +10,7 @@
main = {
capslock = "layer(capslayer)";
"'" = "G-'";
rightcontrol = "rightcontrol";
};
otherlayer = {};
capslayer = {
@@ -35,10 +36,10 @@
# Optional, but makes sure that when you type the make palm rejection work with keyd
# https://github.com/rvaiya/keyd/issues/723
environment.etc."libinput/local-overrides.quirks".text = ''
[Serial Keyboards]
MatchUdevType=keyboard
MatchName=keyd virtual keyboard
AttrKeyboardIntegration=internal
'';
#environment.etc."libinput/local-overrides.quirks".text = ''
# [Serial Keyboards]
# MatchUdevType=keyboard
# MatchName=keyd virtual keyboard
# AttrKeyboardIntegration=internal
#'';
}
+7
View File
@@ -0,0 +1,7 @@
{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [
texlive.combined.scheme-full
biber
];
}
+23
View File
@@ -0,0 +1,23 @@
{ config, pkgs, ... }:
{
nix.settings = {
substituters = [
"https://nix-community.cachix.org"
];
trusted-public-keys = [
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
];
};
environment.systemPackages = with pkgs; [
cudaPackages.cudatoolkit
cudaPackages.cudnn
];
hardware.nvidia-container-toolkit.enable = true;
environment.variables = {
CUDA_HOME = "${pkgs.cudaPackages.cudatoolkit}";
CUDNN_PATH = "${pkgs.cudaPackages.cudnn}";
};
systemd.services.docker.serviceConfig = {
Environment = "DOCKER_CLI_EXPERIMENTAL=enabled";
};
}
+12
View File
@@ -0,0 +1,12 @@
{ pkgs, ... }:
let
mullvad-autostart = pkgs.makeAutostartItem {
name = "mullvad-vpn";
package = pkgs.mullvad-vpn;
};
in
{
services.mullvad-vpn.enable = true;
services.mullvad-vpn.package = pkgs.mullvad-vpn;
environment.systemPackages = [ mullvad-autostart ];
}
+3 -1
View File
@@ -14,14 +14,16 @@
wl-clipboard
mako
libnotify
];
programs.dconf.enable = true;
services.greetd = {
enable = true;
vt = 2; # clean login screen, no startup logs
settings = {
default_session = {
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --cmd sway";
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --cmd 'sway --unsupported-gpu'";
user = "greeter";
};
};