2023-12-24 17:02:37 +01:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
pkgs,
|
|
|
|
lib,
|
|
|
|
inputs',
|
|
|
|
...
|
|
|
|
}: let
|
|
|
|
inherit
|
|
|
|
(lib)
|
2023-06-11 23:09:59 +02:00
|
|
|
concatStringsSep
|
|
|
|
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
|
|
|
|
''
|
2023-12-24 17:02:37 +01:00
|
|
|
+ (concatStringsSep "\n"
|
|
|
|
(
|
|
|
|
flip map wines
|
2023-06-11 23:09:59 +02:00
|
|
|
(wine: ''
|
|
|
|
ln -s ${getExe wine} $out/bin/${wine.pname}
|
|
|
|
'')
|
2023-12-24 17:02:37 +01:00
|
|
|
));
|
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
|
2023-12-24 17:02:37 +01:00
|
|
|
schildichat-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
|
2023-12-24 17:02:37 +01:00
|
|
|
(combineWines [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
|
|
|
|
|
|
|
|
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
|
2023-06-11 23:09:59 +02:00
|
|
|
];
|
|
|
|
|
2023-12-24 17:02:37 +01:00
|
|
|
home.file.".config/alacritty/alacritty.yml".source = ./alacritty.yaml;
|
2023-06-11 23:09:59 +02:00
|
|
|
home.file.".gpg-agent.conf".text = ''
|
|
|
|
enable-ssh-support
|
|
|
|
pinentry-program ${pkgs.pinentry.gtk2}/bin/pinentry
|
|
|
|
'';
|
|
|
|
}
|