* doc/guix.texi: Add Guix Home documentation. * doc/he-config-bare-bones.scm: New file. Signed-off-by: Oleg Pykhalov <go.wigust@gmail.com>
		
			
				
	
	
		
			24 lines
		
	
	
	
		
			698 B
		
	
	
	
		
			Scheme
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
	
		
			698 B
		
	
	
	
		
			Scheme
		
	
	
	
	
	
| (use-modules (gnu home)
 | |
|              (gnu home-services)
 | |
|              (gnu home-services shells)
 | |
|              (gnu services)
 | |
|              (gnu packages admin)
 | |
|              (guix gexp))
 | |
| 
 | |
| 
 | |
| (home-environment
 | |
|  (packages (list htop))
 | |
|  (services
 | |
|   (list
 | |
|    (service home-bash-service-type
 | |
|             (home-bash-configuration
 | |
|              (guix-defaults? #t)
 | |
|              (bash-profile '("\
 | |
| export HISTFILE=$XDG_CACHE_HOME/.bash_history"))))
 | |
| 
 | |
|    (simple-service 'test-config
 | |
|                    home-files-service-type
 | |
|                    (list `("config/test.conf"
 | |
|                            ,(plain-file "tmp-file.txt"
 | |
|                                         "the content of ~/.config/test.conf")))))))
 | |
| 
 |