diff options
Diffstat (limited to 'home.scm')
| -rw-r--r-- | home.scm | 46 |
1 files changed, 46 insertions, 0 deletions
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 |
