Compare commits
54
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
37401377a7 | ||
|
|
2536d9e55e | ||
|
|
fc9377a34a | ||
|
|
1098e43b9d | ||
|
|
6e81f19db5 | ||
|
|
45b1568950 | ||
|
|
dbae7fe154 | ||
|
|
4cd20d172a | ||
|
|
305077a0eb | ||
|
|
2997243d4b | ||
|
|
bc94109e4b | ||
|
|
38ceaa8a27 | ||
|
|
cd95a95037 | ||
|
|
2dcc44ae09 | ||
|
|
38906891d9 | ||
|
|
286fe8bbbe | ||
|
|
aad0b8844c | ||
|
|
729ab0586e | ||
|
|
a96f334dc6 | ||
|
|
94cbd77a07 | ||
|
|
32ab48a127 | ||
|
|
0bf525f993 | ||
|
|
115c7fc7f6 | ||
|
|
bc1832121f | ||
|
|
39890e7cc4 | ||
|
|
1ffd03dd8e | ||
|
|
f89b871952 | ||
|
|
334f3c67e1 | ||
|
|
fd1e631a2a | ||
|
|
915dc605fa | ||
|
|
73bb186ba2 | ||
|
|
fdc5208c9e | ||
|
|
dd3d3fbfcc | ||
|
|
2c6ec8f4f7 | ||
|
|
001f609e80 | ||
|
|
05ea7b1d4c | ||
|
|
350e7a49ce | ||
|
|
14a06588b6 | ||
|
|
da3e3d5f1b | ||
|
|
5e08f131c7 | ||
|
|
544f47abd0 | ||
|
|
af20072513 | ||
|
|
8759d71e1f | ||
|
|
3cc888b2a3 | ||
|
|
6cce8363f7 | ||
|
|
8340426ce2 | ||
|
|
58b2d7fda9 | ||
|
|
af77c702db | ||
|
|
5b56cfbf94 | ||
|
|
015f47f36a | ||
|
|
b4824d3b71 | ||
|
|
d5b711f10a | ||
|
|
4df37851d1 | ||
|
|
b6e2c6d0df |
@@ -1,4 +1,4 @@
|
||||
{
|
||||
{pkgs, ...}: {
|
||||
# Select internationalisation properties.
|
||||
i18n.defaultLocale = "en_US.UTF-8";
|
||||
|
||||
@@ -23,4 +23,18 @@
|
||||
console.keyMap = "de";
|
||||
|
||||
time.timeZone = "Europe/Berlin";
|
||||
|
||||
## Japanese input, env vars and servic start are configured in hyprland config
|
||||
## Configure via program fcitx5-configuration
|
||||
## There, add the mozc input for japanese
|
||||
## This could also be done declaratively in this config, see: https://wiki.nixos.org/wiki/Fcitx5
|
||||
i18n.inputMethod = {
|
||||
enable = true;
|
||||
type = "fcitx5";
|
||||
fcitx5.addons = with pkgs; [
|
||||
fcitx5-mozc
|
||||
fcitx5-gtk # Ensures IME works in GTK applications
|
||||
];
|
||||
fcitx5.waylandFrontend = true; # compability with wayland
|
||||
};
|
||||
}
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
# config to make solokey1 work for ssh
|
||||
{...}: {
|
||||
# services.pcscd.enable = true;
|
||||
|
||||
services.gnome.gcr-ssh-agent.enable = false;
|
||||
programs.ssh.startAgent = true;
|
||||
}
|
||||
Generated
+815
-169
File diff suppressed because it is too large
Load Diff
@@ -25,6 +25,11 @@
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
vortix = {
|
||||
url = "github:Harry-kp/vortix";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
home-manager = {
|
||||
url = "github:nix-community/home-manager/release-26.05";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
|
||||
@@ -32,6 +32,30 @@ with lib; {
|
||||
enableFishIntegration = true;
|
||||
};
|
||||
|
||||
programs.atuin = {
|
||||
enable = true;
|
||||
enableFishIntegration = true;
|
||||
daemon.enable = true;
|
||||
settings = {
|
||||
auto_sync = false;
|
||||
enter_accept = true; # execute directly on enter
|
||||
ai = {
|
||||
enabled = true;
|
||||
capabilites = {
|
||||
enable_file_tools = false;
|
||||
enable_command_execution = false;
|
||||
enable_history_output = false;
|
||||
enable_history_search = true;
|
||||
};
|
||||
opening = {
|
||||
# The context sent to the ai
|
||||
send_cwd = false;
|
||||
send_last_command = false;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
programs.fish = {
|
||||
enable = true;
|
||||
|
||||
|
||||
@@ -7,6 +7,7 @@ hl.on("hyprland.start", function()
|
||||
-- hl.exec_cmd("waybar")
|
||||
hl.exec_cmd("env QT_QPA_PLATFORMTHEME=qt5ct noctalia-shell") -- env ensures noctalia works alongside kde
|
||||
hl.exec_cmd("firefox")
|
||||
hl.exec_cmd("fcitx5 -d -r")
|
||||
end)
|
||||
hl.on("config.reloaded", function()
|
||||
hl.exec_cmd("correct-workspace-locations")
|
||||
@@ -18,6 +19,10 @@ end)
|
||||
|
||||
-- See https://wiki.hypr.land/Configuring/Advanced-and-Cool/Environment-variables/
|
||||
hl.env("TERMINAL", terminal) -- e.g. for emacs
|
||||
-- Use fcitx for optional japanese input
|
||||
hl.env("XMODIFIERS", "@im=fcitx")
|
||||
hl.env("QT_IM_MODULE", "fcitx")
|
||||
hl.env("SDL_IM_MODULE", "fcitx")
|
||||
|
||||
-----------------------
|
||||
----- PERMISSIONS -----
|
||||
|
||||
@@ -18,6 +18,11 @@
|
||||
};
|
||||
|
||||
home.packages = with pkgs; [
|
||||
(anki.withAddons [
|
||||
ankiAddons.anki-connect
|
||||
ankiAddons.passfail2
|
||||
ankiAddons.review-heatmap
|
||||
])
|
||||
arandr
|
||||
calibre # ebook manager and viewer
|
||||
# digikam
|
||||
|
||||
@@ -1,10 +1,18 @@
|
||||
{pkgs, ...}: {
|
||||
{
|
||||
pkgs,
|
||||
inputs,
|
||||
...
|
||||
}: {
|
||||
programs.opencode = {
|
||||
enable = true;
|
||||
package = pkgs.unstable.opencode;
|
||||
};
|
||||
|
||||
home.packages = with pkgs; [
|
||||
inputs.vortix.packages.${pkgs.system}.default # tui for wireguard
|
||||
|
||||
worktrunk # interface for git worktrees
|
||||
|
||||
watchexec # Run command when any file in current dir changes
|
||||
android-tools # adb
|
||||
# shellcheck # Check bash scripts for common errors
|
||||
|
||||
@@ -24,6 +24,7 @@
|
||||
"${pwd}/features-nixos/optional/k9s"
|
||||
|
||||
"${pwd}/features-nixos/optional/avahi.nix"
|
||||
"${pwd}/features-nixos/optional/solokey.nix"
|
||||
];
|
||||
|
||||
networking.hostName = "aspi";
|
||||
@@ -31,6 +32,9 @@
|
||||
|
||||
# networking.firewall.checkReversePath = false; # Makes wg interface with all ips work
|
||||
|
||||
programs.ausweisapp.enable = true;
|
||||
programs.ausweisapp.openFirewall = true; # for pairing with smartphone
|
||||
|
||||
modules = {
|
||||
syncthing = {
|
||||
enable = true;
|
||||
|
||||
@@ -27,6 +27,7 @@
|
||||
"${pwd}/features-nixos/optional/wireshark.nix"
|
||||
"${pwd}/features-nixos/optional/flatpak.nix"
|
||||
"${pwd}/features-nixos/optional/k9s"
|
||||
"${pwd}/features-nixos/optional/solokey.nix"
|
||||
];
|
||||
|
||||
networking.hostName = "kardorf";
|
||||
@@ -35,6 +36,16 @@
|
||||
# Not using the drivers leads to way better results
|
||||
# services.xserver.videoDrivers = [ "nvidia" ];
|
||||
|
||||
programs.ausweisapp.enable = true;
|
||||
programs.ausweisapp.openFirewall = true; # for pairing with smartphone
|
||||
|
||||
modules = {
|
||||
syncthing = {
|
||||
enable = true;
|
||||
overrideSettings = false;
|
||||
};
|
||||
};
|
||||
|
||||
networking.networkmanager.insertNameservers = ["192.168.3.252"];
|
||||
|
||||
programs.kdeconnect.enable = true;
|
||||
|
||||
@@ -1,17 +1,19 @@
|
||||
{
|
||||
lib,
|
||||
appimageTools,
|
||||
fetchurl,
|
||||
libgdiplus,
|
||||
}: let
|
||||
pname = "smath-studio";
|
||||
version = "1.3.0.9126";
|
||||
version = "1.5.0.9678";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://smath.com/en-US/files/Download/cqSek/SMathStudioDesktop.1_3_0_9126.x86_64.ubuntu-22_04.glibc2.35.AppImage";
|
||||
hash = "sha256-4FpdFGPFaPDK6WWSJHVtxcC8auaNkGmHyUtbegij6cQ=";
|
||||
# The code after /Download/ changes per release
|
||||
url = "https://smath.com/en-US/files/Download/c4zCE/SMathStudioDesktop.1_5_0_9678.x86_64.ubuntu-22_04.glibc2.35.AppImage";
|
||||
hash = "sha256-6lnuRnhoH6E+jIZXSgb/Pz9wE9nVAbduDHrkKCKKH+Y=";
|
||||
};
|
||||
|
||||
appimageContents = appimageTools.extractType2 {
|
||||
appimageContents = appimageTools.extract {
|
||||
inherit pname version src;
|
||||
};
|
||||
in
|
||||
@@ -30,6 +32,22 @@ in
|
||||
extraInstallCommands = ''
|
||||
install -m 444 -D ${appimageContents}/*.desktop -t $out/share/applications
|
||||
sed -i "s|^Exec=.*|Exec=smath-studio %U|" $out/share/applications/*.desktop
|
||||
cp -r ${appimageContents}/usr/share/icons $out/share
|
||||
|
||||
# Package icons into /apps directory
|
||||
for icon in ${appimageContents}/usr/share/icons/hicolor/*/*.png; do
|
||||
if [ -f "$icon" ]; then
|
||||
size=$(basename $(dirname "$icon"))
|
||||
install -m 444 -D "$icon" "$out/share/icons/hicolor/$size/apps/smath.png"
|
||||
fi
|
||||
done
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Tiny, powerful, free mathematical program with WYSIWYG editor and complete units of measurements support";
|
||||
homepage = "https://smath.com/";
|
||||
license = licenses.unfree; # SMath is freeware, but closed source
|
||||
# maintainers = with maintainers; [frajul];
|
||||
mainProgram = "smath-studio";
|
||||
platforms = ["x86_64-linux"];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user