2023-12-24 17:02:37 +01:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
pkgs,
|
|
|
|
lib,
|
|
|
|
inputs',
|
|
|
|
...
|
|
|
|
}: let
|
|
|
|
inherit
|
|
|
|
(lib)
|
2024-02-09 12:45:02 +01:00
|
|
|
concatMapStringsSep
|
2023-06-11 23:09:59 +02:00
|
|
|
getExe
|
2024-02-09 12:45:02 +01:00
|
|
|
getExe'
|
2023-07-20 12:52:48 +02:00
|
|
|
flip
|
2023-12-24 17:02:37 +01:00
|
|
|
singleton
|
|
|
|
;
|
2023-06-11 23:09:59 +02:00
|
|
|
|
|
|
|
combineWines = wines:
|
|
|
|
pkgs.stdenv.mkDerivation {
|
|
|
|
pname = "wine-combined";
|
|
|
|
version = "unknown";
|
|
|
|
|
|
|
|
dontFetch = true;
|
|
|
|
dontUnpack = true;
|
|
|
|
dontBuild = true;
|
|
|
|
|
|
|
|
installPhase =
|
|
|
|
''
|
|
|
|
mkdir -p $out/bin
|
|
|
|
''
|
2024-02-09 12:45:02 +01:00
|
|
|
+ (concatMapStringsSep "\n" (
|
|
|
|
wine: ''
|
|
|
|
cat > $out/bin/${wine.pname} <<EOF
|
|
|
|
exec ${getExe wine} "\$@"
|
|
|
|
EOF
|
|
|
|
cat > $out/bin/${wine.pname}-server <<EOF
|
|
|
|
exec ${getExe' wine "wineserver"} "\$@"
|
|
|
|
EOF
|
|
|
|
chmod +x $out/bin/${wine.pname}
|
|
|
|
chmod +x $out/bin/${wine.pname}-server
|
|
|
|
''
|
|
|
|
)
|
|
|
|
wines);
|
2023-06-11 23:09:59 +02:00
|
|
|
};
|
2023-12-24 17:02:37 +01:00
|
|
|
in {
|
2023-06-11 23:09:59 +02:00
|
|
|
imports = [
|
|
|
|
../picom
|
|
|
|
../dunst
|
|
|
|
../keynav
|
|
|
|
../bash
|
|
|
|
../emacs
|
|
|
|
../xmonad
|
|
|
|
../pantalaimon.nix
|
|
|
|
../ssh.nix
|
2023-06-11 23:26:28 +02:00
|
|
|
../wallpaper
|
2023-06-12 00:43:16 +02:00
|
|
|
../screenlocker
|
2023-06-11 23:09:59 +02:00
|
|
|
];
|
|
|
|
|
|
|
|
programs.librewolf = {
|
|
|
|
enable = true;
|
|
|
|
settings = {
|
|
|
|
"webgl.disabled" = false;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
xsession.enable = true;
|
|
|
|
home.keyboard = null;
|
|
|
|
|
|
|
|
services.redshift = {
|
|
|
|
enable = true;
|
|
|
|
dawnTime = "6:00-6:05";
|
|
|
|
duskTime = "21:00-21:05";
|
|
|
|
};
|
|
|
|
|
|
|
|
home.packages = with pkgs; [
|
2023-07-20 12:52:48 +02:00
|
|
|
(prismlauncher.override {
|
|
|
|
jdks = with pkgs; [
|
|
|
|
jdk8
|
|
|
|
jdk11
|
|
|
|
jdk17
|
|
|
|
];
|
|
|
|
})
|
2023-06-11 23:09:59 +02:00
|
|
|
|
|
|
|
dejavu_fonts
|
|
|
|
alacritty
|
|
|
|
gimp
|
|
|
|
obs-studio
|
|
|
|
mpv
|
|
|
|
slack
|
2024-02-09 15:51:34 +01:00
|
|
|
element-desktop
|
2024-01-18 14:11:23 +01:00
|
|
|
blender
|
|
|
|
godot_4
|
2023-12-24 17:02:37 +01:00
|
|
|
|
2023-10-06 15:01:20 +02:00
|
|
|
# armcord
|
2023-06-11 23:09:59 +02:00
|
|
|
pavucontrol
|
|
|
|
|
|
|
|
# GPG
|
|
|
|
gnupg
|
|
|
|
pass
|
|
|
|
yubikey-manager
|
|
|
|
|
|
|
|
# wine
|
|
|
|
winetricks
|
2024-02-09 12:45:02 +01:00
|
|
|
(combineWines [inputs'.nix-gaming.packages.${pkgs.stdenv.system}.wine-ge wineWowPackages.staging])
|
2023-06-11 23:09:59 +02:00
|
|
|
|
|
|
|
# 3d printing
|
|
|
|
openscad
|
2023-12-24 17:02:37 +01:00
|
|
|
freecad
|
2023-06-11 23:09:59 +02:00
|
|
|
|
|
|
|
cura
|
|
|
|
super-slicer
|
2024-02-09 12:45:02 +01:00
|
|
|
prusa-slicer
|
2024-02-11 01:07:59 +01:00
|
|
|
thingiverse-downloader-bash
|
2023-06-11 23:09:59 +02:00
|
|
|
|
|
|
|
inkscape
|
|
|
|
|
|
|
|
# command line programs
|
|
|
|
emacsclient-remote
|
|
|
|
zip
|
|
|
|
unzip
|
|
|
|
unrar
|
|
|
|
git
|
|
|
|
htop
|
|
|
|
lm_sensors
|
|
|
|
cryptsetup
|
|
|
|
|
|
|
|
magic-screenshot
|
|
|
|
emacs-rofi
|
|
|
|
libnotify
|
|
|
|
playerctl
|
2023-11-18 13:44:31 +01:00
|
|
|
git-annex
|
|
|
|
file
|
2023-12-24 17:02:37 +01:00
|
|
|
ncdu
|
|
|
|
lsof
|
2024-05-15 17:04:43 +02:00
|
|
|
|
|
|
|
arandr
|
2023-06-11 23:09:59 +02:00
|
|
|
];
|
|
|
|
|
2024-02-17 16:31:51 +01:00
|
|
|
home.file.".config/alacritty/alacritty.toml".source = ../alacritty/alacritty.toml;
|
2023-06-11 23:09:59 +02:00
|
|
|
home.file.".gpg-agent.conf".text = ''
|
|
|
|
enable-ssh-support
|
|
|
|
pinentry-program ${pkgs.pinentry.gtk2}/bin/pinentry
|
|
|
|
'';
|
|
|
|
}
|