From 6a54a7bba33568162c4ab111f8590f1d5bc4c7ea Mon Sep 17 00:00:00 2001 From: Daniel Ziltener Date: Wed, 6 Dec 2023 18:10:44 +0100 Subject: [PATCH] . --- home/emacs/init.el | 4 ++-- home/git/.gitconfig | 36 ++++++++++++++++++++++++++++++++++++ home/home-configuration.scm | 1 + home/kitty/kitty.conf | 7 +++++++ install-guix-on-void.bash | 26 ++++++++++++++++++++++++++ 5 files changed, 72 insertions(+), 2 deletions(-) create mode 100644 home/git/.gitconfig create mode 100644 home/kitty/kitty.conf create mode 100644 install-guix-on-void.bash diff --git a/home/emacs/init.el b/home/emacs/init.el index 23cc81d..b650b33 100644 --- a/home/emacs/init.el +++ b/home/emacs/init.el @@ -28,7 +28,7 @@ (require 'cl-macs) ;;;; Early Variables -(setq custom-file "~/.emacs.d/custom.el") +(setq custom-file "~/.config/emacs/custom.el") (when (file-exists-p custom-file) (load custom-file)) @@ -53,7 +53,7 @@ (goto-char (point-max)) (eval-print-last-sexp))) (load bootstrap-file nil 'nomessage)) -;;(setq straight-use-package-by-default t) +(setq straight-use-package-by-default t) ;;;; Package Management Configuration ;; See: https://github.com/radian-software/el-patch diff --git a/home/git/.gitconfig b/home/git/.gitconfig new file mode 100644 index 0000000..6e64ced --- /dev/null +++ b/home/git/.gitconfig @@ -0,0 +1,36 @@ +# Das ist Git's benutzerspezifische Konfigurationsdatei. +[user] +# Bitte passen Sie die folgenden Zeilen an und kommentieren Sie diese aus: + name = Daniel Ziltener + email = dziltener@lyrion.ch + signingkey = 37F655BAF43BC0FF300A91A1B38976E82C9DAE42 + +[sendemail] + smtpserver = lyrion.ch + smtpuser = dziltener + smtpencryption = starttls + smtpserverport = 465 + +[rebase] + autoStash = true + +[pull] + rebase = true +[gui] + recentrepo = /home/zilti/projects/crawler-vacancies +[gitlab] + user = zilti + oauth-token = zA4CYqcCcV5oN7N-2Qsn +[cola] + spellcheck = false +[init] + defaultBranch = master + +[safe] + directory = /home/zilti/.local/share/hyprload/hyprland + directory = /opt/nixconfig/ + directory = /opt/nixconfig +[github] + user = dziltener@lyrion.ch +[commit] + gpgsign = true diff --git a/home/home-configuration.scm b/home/home-configuration.scm index e9dc49d..a20018b 100644 --- a/home/home-configuration.scm +++ b/home/home-configuration.scm @@ -32,6 +32,7 @@ (list "chicken" "fuzzel" "gammastep" + "glibc-locales" "icecat" "kitty" "pinentry-qt" diff --git a/home/kitty/kitty.conf b/home/kitty/kitty.conf new file mode 100644 index 0000000..ebd9065 --- /dev/null +++ b/home/kitty/kitty.conf @@ -0,0 +1,7 @@ +font_family VictorMono Nerd Font Mono +font_size 10 +background_opacity 0.85 +kitty_mod ctrl+shift +enabled_layouts horizontal +map kitty_mod+enter new_window + diff --git a/install-guix-on-void.bash b/install-guix-on-void.bash new file mode 100644 index 0000000..a3da2c1 --- /dev/null +++ b/install-guix-on-void.bash @@ -0,0 +1,26 @@ +#!/usr/local/env bash +sudo xbps-install -SuA wget curl +curl https://git.savannah.gnu.org/cgit/guix.git/plain/etc/guix-install.sh | sudo bash + +sudo mkdir -p /etc/sv/guix-daemon/log +sudo cat <<'EOF' > /etc/sv/guix-daemon/run +#!/bin/sh +exec 2>&1 +exec ~root/.config/guix/current/bin/guix-daemon --build-users-group=guixbuild +EOF +sudo chmod +x /etc/sv/guix-daemon/run + +sudo cat < /etc/sv/guix-daemon/log/run +#!/bin/sh +exec vlogger -t guix-daemon -p daemon +EOF +sudo chmod +x /etc/sv/guix-daemon/log/run + +sudo ln -sf /etc/sv/guix-daemon /var/service/ + +sudo cat <<'EOF' >> ~/.profile +GUIX_PROFILE="/home/zilti/.config/guix/current" +. "$GUIX_PROFILE/etc/profile" +EOF + +guix pull