2023-06-11 23:09:59 +02:00
|
|
|
{ config, pkgs, lib, ... }:
|
|
|
|
let
|
|
|
|
inherit (lib)
|
|
|
|
concatStringsSep
|
|
|
|
getExe
|
2023-07-20 12:52:48 +02:00
|
|
|
flip
|
|
|
|
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
|
|
|
|
''
|
|
|
|
+
|
|
|
|
(concatStringsSep "\n"
|
|
|
|
(flip map wines
|
|
|
|
(wine: ''
|
|
|
|
ln -s ${getExe wine} $out/bin/${wine.pname}
|
|
|
|
'')
|
|
|
|
));
|
|
|
|
};
|
|
|
|
in
|
|
|
|
{
|
|
|
|
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
|
|
|
|
];
|
|
|
|
prismlauncher-unwrapped =
|
|
|
|
(prismlauncher-unwrapped.overrideAttrs (old: {
|
|
|
|
patches = singleton (pkgs.fetchurl {
|
|
|
|
url = "https://github.com/PrismLauncher/PrismLauncher/commit/603b38fa46dc61c0c5ae10a3754bcacb0201d881.diff";
|
|
|
|
sha256 = "sha256-Q/WkDVIvlYu6lkRPjoYZOUif0TPUT6Mmxd1JR4pgdLI=";
|
|
|
|
});
|
|
|
|
}));
|
|
|
|
})
|
2023-06-11 23:09:59 +02:00
|
|
|
|
|
|
|
dejavu_fonts
|
|
|
|
alacritty
|
|
|
|
gimp
|
|
|
|
obs-studio
|
|
|
|
mpv
|
|
|
|
slack
|
|
|
|
schildichat-desktop
|
|
|
|
armcord
|
|
|
|
pavucontrol
|
|
|
|
|
|
|
|
# GPG
|
|
|
|
gnupg
|
|
|
|
pass
|
|
|
|
yubikey-manager
|
|
|
|
|
|
|
|
# wine
|
|
|
|
winetricks
|
|
|
|
(combineWines [ wineWowPackages.staging ])
|
|
|
|
|
|
|
|
# 3d printing
|
|
|
|
openscad
|
|
|
|
freecad
|
|
|
|
|
|
|
|
cura
|
|
|
|
super-slicer
|
|
|
|
|
|
|
|
inkscape
|
|
|
|
|
|
|
|
# command line programs
|
|
|
|
emacsclient-remote
|
|
|
|
zip
|
|
|
|
unzip
|
|
|
|
unrar
|
|
|
|
git
|
|
|
|
htop
|
|
|
|
lm_sensors
|
|
|
|
cryptsetup
|
|
|
|
|
|
|
|
magic-screenshot
|
|
|
|
emacs-rofi
|
|
|
|
libnotify
|
|
|
|
playerctl
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
|
|
home.file.".config/alacritty/alacritty.yaml".source = ./alacritty.yaml;
|
|
|
|
home.file.".gpg-agent.conf".text = ''
|
|
|
|
enable-ssh-support
|
|
|
|
pinentry-program ${pkgs.pinentry.gtk2}/bin/pinentry
|
|
|
|
'';
|
|
|
|
}
|