summaryrefslogtreecommitdiff
path: root/home-configuration.scm
diff options
context:
space:
mode:
authorMarek Paśnikowski <marekpasnikowski@protonmail.com>2022-09-26 16:31:30 +0200
committerMarek Paśnikowski <marek@marekpasnikowski.pl>2022-09-26 16:31:30 +0200
commit04c8ba6cc53171993440941cceded0f64dc59fb3 (patch)
treef1e528ed5783b90549563efaaad5ce48886eaab2 /home-configuration.scm
parentffe379719a22981b5e71c5f900080b672c867f40 (diff)
Guix Home configuration: reformat according to the pretty-print principle
Diffstat (limited to 'home-configuration.scm')
-rw-r--r--home-configuration.scm82
1 files changed, 46 insertions, 36 deletions
diff --git a/home-configuration.scm b/home-configuration.scm
index 556c595..64d3ec1 100644
--- a/home-configuration.scm
+++ b/home-configuration.scm
@@ -1,37 +1,47 @@
-(use-modules
- (gnu home)
- (gnu home services)
- (gnu home services shells)
- (gnu packages)
- (gnu services)
- (guix gexp))
+(use-modules (gnu home)
+ (gnu home services)
+ (gnu home services shells)
+ (gnu packages)
+ (gnu services)
+ (guix gexp))
-(home-environment
- (packages
- (map
- (compose list specification->package+output)
- (list "cpupower" "dconf-editor" "emacs" "emacs-ac-geiser" "emacs-aggressive-indent" "emacs-geiser" "emacs-geiser-guile" "emacs-iedit" "emacs-macrostep" "emacs-multiple-cursors" "emacs-paredit" "font-google-noto" "git" "git-lfs" "gnome-tweaks" "gnupg" "libreoffice" "pwgen" "seahorse" "trezor-agent")))
- (services
- (list
- (service home-bash-service-type
- (home-bash-configuration
- (environment-variables
- '(("EDITOR" . "emacs")
- ("NVM_DIR" . "$HOME/src/nvm")
- ("GUILE_AUTO_COMPILE" . "0")))
- (aliases
- '(("emacs" . "emacs -nw")
- ("grep" . "grep --color=auto")
- ("ll" . "ls -l")
- ("ls" . "ls -p --color=auto")))
- (bash-profile
- (list
- (local-file "/home/marek/src/guix-config/.bash_profile" "bash_profile")))
- (bashrc
- (list
- (local-file "/home/marek/src/guix-config/.bashrc" "bashrc")
- (local-file "/home/marek/src/guix-config/nvm_init" "nvm_init")))))
- (simple-service 'dot-files home-files-service-type
- (list
- `(".emacs" ,( local-file "emacs.el"))
- `(".ssh/config" ,(local-file "ssh.config")))))))
+(home-environment (packages (map (compose list
+ specification->package+output)
+ (list "cpupower"
+ "dconf-editor"
+ "emacs"
+ "emacs-ac-geiser"
+ "emacs-aggressive-indent"
+ "emacs-geiser"
+ "emacs-geiser-guile"
+ "emacs-iedit"
+ "emacs-macrostep"
+ "emacs-multiple-cursors"
+ "emacs-paredit"
+ "font-google-noto"
+ "git"
+ "git-lfs"
+ "gnome-tweaks"
+ "gnupg"
+ "libreoffice"
+ "pwgen"
+ "seahorse"
+ "trezor-agent")))
+ (services (list (service home-bash-service-type
+ (home-bash-configuration (environment-variables '(("EDITOR" . "emacs")
+ ("NVM_DIR" . "$HOME/src/nvm")
+ ("GUILE_AUTO_COMPILE" . "0")))
+ (aliases '(("emacs" . "emacs -nw")
+ ("grep" . "grep --color=auto")
+ ("ll" . "ls -l")
+ ("ls" . "ls -p --color=auto")))
+ (bash-profile (list (local-file "/home/marek/src/guix-config/.bash_profile"
+ "bash_profile")))
+ (bashrc (list (local-file "/home/marek/src/guix-config/.bashrc"
+ "bashrc")
+ (local-file "/home/marek/src/guix-config/nvm_init"
+ "nvm_init")))))
+ (simple-service 'dot-files
+ home-files-service-type
+ (list `(".emacs" ,(local-file "emacs.el"))
+ `(".ssh/config" ,(local-file "ssh.config")))))))