-
-
Save worldofgeese/ace1841eec00edad47c6d4111864d102 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; 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 services) | |
(guix gexp) | |
(gnu home services) | |
(gnu home services gnupg) | |
(gnu home services ssh) | |
(gnu home services shells)) | |
(home-environment | |
;; Below is the list of packages that will show up in your | |
;; Home profile, under ~/.guix-home/profile. | |
(packages (specifications->packages | |
(list "git" | |
"fd" | |
"openssh" | |
"direnv" | |
"curl" | |
"flatpak" | |
"ripgrep"))) | |
;; Below is the list of Home services. To search for available | |
;; services, run 'guix home search KEYWORD' in a terminal. | |
(services | |
(append | |
(list (service home-bash-service-type) | |
(service home-openssh-service-type | |
(home-openssh-configuration | |
(hosts | |
(list (openssh-host (name "mother") | |
(host-name "192.168.99.200") | |
(user "taohansen") | |
(port 2235)))))) | |
(service home-gpg-agent-service-type | |
(home-gpg-agent-configuration | |
(ssh-support? #t) ;; This flag doesn't appear to do anything | |
(default-cache-ttl 60480000) | |
(default-cache-ttl-ssh 60480000) | |
(max-cache-ttl 60480000) | |
(max-cache-ttl-ssh 60480000) | |
(extra-content "enable-ssh-support/n") | |
)) | |
(simple-service 'additional-env-vars-service | |
home-environment-variables-service-type | |
`(("PATH" . "$HOME/.local/bin:/usr/local/bin:$PATH") | |
("XDG_DATA_DIRS" . "$XDG_DATA_DIRS:$HOME/.local/share/flatpak/exports/share") | |
("VISUAL" . "emacsclient") | |
("EDITOR" . "emacsclient"))))))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(service home-shell-profile-service-type | |
(home-shell-profile-configuration | |
(profile (list (plain-file "profile" "source /run/current-system/profile/etc/profile.d/nix.sh"))))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Wrong type (expecting exact integer): #<&formatted-message format: "duplicate '~a' entry for files/\n" arguments: (".profile")> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(simple-service 'custom-profile | |
home-shell-profile-service-type | |
(list (plain-file "profile" "source /run/current-system/profile/etc/profile.d/nix.sh"))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment