From 72d077e0734181dba51193ffabe21fb69b864dc8 Mon Sep 17 00:00:00 2001 From: bd Date: Thu, 4 Jan 2024 01:45:35 -0700 Subject: Added new guix dotfiles --- .config/guix-builds/bdunahu-config.scm | 117 +++++++++++++++++++++++++++++++++ .config/guix-builds/host-instance.scm | 11 ++++ .config/guix-builds/vali-config.scm | 1 + .gitignore | 1 + 4 files changed, 130 insertions(+) create mode 100644 .config/guix-builds/bdunahu-config.scm create mode 100644 .config/guix-builds/host-instance.scm create mode 120000 .config/guix-builds/vali-config.scm create mode 100644 .gitignore diff --git a/.config/guix-builds/bdunahu-config.scm b/.config/guix-builds/bdunahu-config.scm new file mode 100644 index 0000000..db3f443 --- /dev/null +++ b/.config/guix-builds/bdunahu-config.scm @@ -0,0 +1,117 @@ +;; This "home-environment" file can be passed to 'guix home reconfigure' +;; to reproduce the content of your profile. This is "symbolic": it only +;; specifies package names. To reproduce the exact same profile, you also +;; need to capture the channels being used, as returned by "guix describe". +;; See the "Replicating Guix" section in the manual. + +(use-modules (gnu home) + (gnu packages) + (gnu packages gnupg) + (gnu services) + (guix gexp) + (gnu home services shepherd) + (gnu home services xdg) + (gnu home services shells) + (gnu home services gnupg) + (gnu home services desktop) + (gnu home services pm) + (gnu home services ssh)) + +(home-environment + ;; Below is the list of packages that will show up in your + ;; Home profile, under ~/.guix-home/profile. + (packages (specifications->packages (list "aspell" + "aspell-dict-en" + ;; "dmenu" + "emacs-all-the-icons" + "emacs-auctex" + "emacs-company" + "emacs-ednc" + "emacs-emms" + "emacs-exwm" + "emacs-guix" + "emacs-magit" + "emacs-org-roam" + "emacs-pinentry" + "emacs-slime" + "emacs-vertico" + "feh" + "flameshot" + "gimp" + "gnupg" + ;; "htop" + "icecat" + "libnotify" + ;; "mpc" + ;; "mpv" + "password-store" + "pass-otp" + "pinentry-emacs" + "rsync" + "sbcl" + "stow" + ;; "texlive" + "xset" + "yt-dlp" + "zathura" + "zathura-pdf-poppler"))) + + ;; Below is the list of Home services. To search for available + ;; services, run 'guix home search KEYWORD' in a terminal. + (services + (list (service home-xdg-user-directories-service-type + (home-xdg-user-directories-configuration + (desktop "$HOME") + (documents "$HOME") + (download "$HOME/dl") + (music "$HOME/media") + (pictures "$HOME/media") + (publicshare "$HOME") + (templates "$HOME") + (videos "$HOME/media"))) + (service home-bash-service-type + (home-bash-configuration + (aliases '(("cp" . "cp -i") + ("grep" . "grep --color=auto") + ("ll" . "ls -l") + ("ls" . "ls -p --color=auto") + ("mkd" . "mkdir -pv") + ("mv" . "mv -i") + ("rm" . "rm -i") + ("vi" . "vim") + ("ytta" . "yt-dlp --extract-audio --format bestaudio/best") + ("yttv" . "yt-dlp -f b"))) + (bashrc (list (local-file + "/home/bdunahu/.config/guix-builds//.bashrc" + "bashrc"))))) + (service home-batsignal-service-type + (home-batsignal-configuration + (warning-level 35) + (critical-level 15) + (danger-level 5))) + (service home-openssh-service-type + (home-openssh-configuration + (hosts + (list (openssh-host (name "hati") + (host-name "192.168.1.68") + (user "bdunahu")) + (openssh-host (name "vali") + (host-name "192.168.1.64") + (user "bdunahu")) + (openssh-host (name "perch") + (host-name "perch.cs.colostate.edu") + (user "bdunahu")))))) + (service home-xmodmap-service-type + (home-xmodmap-configuration + (key-map '(("remove Lock" . "Caps_Lock") + ("remove Control" . "Control_L") + ("keysym Control_L" ."Caps_Lock") + ("keysym Caps_Lock" . "Control_L") + ("add Lock" . "Caps_Lock") + ("add Control" . "Control_L"))))) + (service home-gpg-agent-service-type + (home-gpg-agent-configuration + (pinentry-program + (file-append pinentry-emacs "/bin/pinentry-emacs")) + (ssh-support? #t))) + (service home-shepherd-service-type)))) diff --git a/.config/guix-builds/host-instance.scm b/.config/guix-builds/host-instance.scm new file mode 100644 index 0000000..cebcbd1 --- /dev/null +++ b/.config/guix-builds/host-instance.scm @@ -0,0 +1,11 @@ +;; vali (laptop) specific variables +;; (use-modules (gnu)) + +(define-module (host-instance) + #:export (username host-name root-part boot-part hide-part)) + +(define username "bdunahu") +(define host-name "vali") +(define root-part "69a3593b-12bd-40ad-a932-007674a8cfe8") +(define boot-part "8A13-7018") +(define hide-part "020b73df-3991-4271-9d3f-dba00ad260ec") diff --git a/.config/guix-builds/vali-config.scm b/.config/guix-builds/vali-config.scm new file mode 120000 index 0000000..9182825 --- /dev/null +++ b/.config/guix-builds/vali-config.scm @@ -0,0 +1 @@ +system-config.scm \ No newline at end of file diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..6905d80 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/.config/guix-builds/system-config.scm -- cgit v1.2.3