From db401694ae30bbd0208925c538ff8883e742bdb9 Mon Sep 17 00:00:00 2001 From: coast Date: Thu, 17 Sep 2026 13:15:12 +0330 Subject: init --- home.scm | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 home.scm (limited to 'home.scm') diff --git a/home.scm b/home.scm new file mode 100644 index 0000000..63dd258 --- /dev/null +++ b/home.scm @@ -0,0 +1,46 @@ +(define-module (guix-home-config) + #:use-module (gnu home) + #:use-module (gnu home services) + #:use-module (gnu home services shells) + #:use-module (gnu services) + #:use-module (gnu system shadow) + #:use-module (gnu packages) + #:use-module (nongnu packages mozilla) + #:use-module (guix gexp)) + +(define home-config + (home-environment + (packages + (specifications->packages + (list "btop" + "firefox" + "gtk+:bin" + "hicolor-icon-theme" + "git" + "python" + "binutils" + "flatpak" + "fastfetch"))) + (services + (append + (list + (service home-zsh-service-type) + + (simple-service + 'flatpak-environment + home-environment-variables-service-type + `(("XDG_DATA_DIRS" + . "$HOME/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:$HOME/.guix-home/profile/share:$XDG_DATA_DIRS"))) + + (service home-files-service-type + `((".config/plasma-workspace/env/flatpak.sh" + ,(plain-file + "flatpak.sh" + "export XDG_DATA_DIRS=\"$HOME/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:${XDG_DATA_DIRS:-}\"\n")))) + + (service home-xdg-configuration-files-service-type + `(("gdb/gdbinit" ,%default-gdbinit) + ("nano/nanorc" ,%default-nanorc)))) + %base-home-services)))) + +home-config -- cgit v1.3