Update home configuration

Julien LepillerThu Jul 25 20:32:45+0200 2019

fe89859

Update home configuration

homes/sybil-home.scm

1-
(use-modules (home openbox))
2-
(use-modules (home utils))
31
(use-modules (home))
2+
(use-home-modules hexchat keepassxc openbox ssh utils)
3+
(use-modules (home-config ssh))
4+
(use-modules (gnu packages bittorrent))
45
(use-modules (gnu packages compton))
56
(use-modules (gnu packages dunst))
67
(use-modules (gnu packages games))
8+
(use-modules (gnu packages gnuzilla))
79
(use-modules (gnu packages ibus))
810
(use-modules (gnu packages image-viewers))
11+
(use-modules (gnu packages inkscape))
12+
(use-modules (gnu packages libreoffice))
13+
(use-modules (gnu packages lxde))
14+
(use-modules (gnu packages mail))
15+
(use-modules (gnu packages messaging))
16+
(use-modules (gnu packages password-utils))
917
(use-modules (gnu packages pulseaudio))
18+
(use-modules (gnu packages sync))
1019
(use-modules (gnu packages xfce))
20+
(use-modules (nonfree packages baba-is-you))
1121
(use-modules (guix gexp))
1222
(use-modules (guix import utils)); for flatten
1323

3141
else
3242
        PS1='\\u@\\h \\w\\$ '
3343
fi
44+
export EDITOR=nvim
3445
alias ls='ls -p --color=auto'
3546
alias ll='ls -l'
3647
alias grep='grep --color=auto'

5364
5465
(define gitconfig (local-file "files/gitconfig"))
5566
(define openbox-rc (local-file "files/openbox/rc.xml"))
67+
(define openbox-environment
68+
  (plain-file "environment" "eval $(ssh-agent)"))
5669
(define openbox-autostart
5770
  (computed-file "autostart"
5871
     #~(with-output-to-file #$output

7487
  (local-file "files/xfce4-terminal/terminalrc"))
7588
7689
(home
90+
  "/data/tyreunom"
7791
  (flatten
7892
    (list
79-
      (openbox-home (openbox-configuration
80-
                      (autostart openbox-autostart)
81-
                      (menus
82-
			(list
83-
			  (openbox-menu
84-
			    (id "apps-game-menu")
85-
			    (label "Jeux")
86-
			    (elements
87-
			      (list
88-
				(openbox-element-execute
89-
				  (label "MineTest")
90-
				  (command (file-append minetest "/bin/minetest"))))))))
91-
                      (root-elements
92-
			(list
93-
			  (openbox-element-menu (id "apps-game-menu"))
94-
			  (openbox-element-execute
95-
			    (label "Terminal")
96-
			    (command (file-append xfce4-terminal "/bin/xfce4-terminal")))))
97-
                      (rc openbox-rc)))
93+
      (openbox-home
94+
        (openbox-configuration
95+
          (autostart openbox-autostart)
96+
	  (environ openbox-environment)
97+
          (menus
98+
            (list
99+
              (openbox-menu
100+
                (id "apps-game-menu")
101+
                (label "Jeux")
102+
                (elements
103+
                  (list
104+
                    (openbox-element-execute
105+
                      (label "MineTest")
106+
                      (command (file-append minetest "/bin/minetest")))
107+
		    (openbox-element-execute
108+
		      (label "Baba is You")
109+
		      (command (file-append baba-is-you "/bin/baba-is-you"))))))
110+
              (openbox-menu
111+
                (id "apps-other-menu")
112+
                (label "Autres")
113+
                (elements
114+
                  (list
115+
                    (openbox-element-execute
116+
                      (label "Pavucontrol")
117+
                      (command (file-append pavucontrol "/bin/pavucontrol")))
118+
                    (openbox-element-execute
119+
                      (label "Owncloud")
120+
                      (command (file-append owncloud-client "/bin/owncloud")))
121+
                    (openbox-element-execute
122+
                      (label "Keepass")
123+
                      (command (file-append keepassxc "/bin/keepassxc")))
124+
                    (openbox-element-execute
125+
                      (label "Libreoffice")
126+
                      (command (file-append libreoffice "/bin/libreoffice")))
127+
                    (openbox-element-execute
128+
                      (label "Claws-mail")
129+
                      (command (file-append claws-mail "/bin/claws-mail --alternate-config-dir /data/tyreunom/.local/share/claws-mail")))
130+
                    (openbox-element-execute
131+
                      (label "Hexchat")
132+
                      (command (file-append hexchat "/bin/hexchat")))
133+
                    ;(openbox-element-execute
134+
                    ;  (label "Transmission")
135+
                    ;  (command (file-append (gexp-input transmission "gui")
136+
                    ;                        "/bin/transmission-gtk")))
137+
                    (openbox-element-execute
138+
                      (label "Claws-mail")
139+
                      (command (file-append claws-mail "/bin/claws-mail")))
140+
                    (openbox-element-execute
141+
                      (label "Inkscape")
142+
                      (command (file-append inkscape "/bin/inkscape"))))))))
143+
          (root-elements
144+
            (list
145+
              (openbox-element-menu (id "apps-game-menu"))
146+
              (openbox-element-menu (id "apps-other-menu"))
147+
              (openbox-element-execute
148+
                (label "Terminal")
149+
                (command (file-append xfce4-terminal "/bin/xfce4-terminal")))
150+
              (openbox-element-execute
151+
                (label "Icecat")
152+
                (command (file-append icecat "/bin/icecat -P --no-remote")))
153+
              (openbox-element-execute
154+
                (label "Gestionnaire de fichiers")
155+
                (command (file-append pcmanfm "/bin/pcmanfm")))))
156+
          (rc openbox-rc)))
157+
      (hexchat-home
158+
	(hexchat-configuration
159+
	  (servlist
160+
	    (list
161+
	      (hexchat-server
162+
		(name "ZNC")
163+
		(servers '("lepiller.eu/6697"))
164+
		(flags '(cycle global honor-proxy ssl favorite
165+
			       allow-invalid-certificates)))))
166+
	  (log-dir "/data/tyreunom/.config/hexchat/logs")
167+
	  (scrollback-dir "/data/tyreunom/.config/hexchat/scrollback")))
168+
      (keepassxc-home
169+
	(keepassxc-configuration
170+
	  (last-databases '("/data/tyreunom/owncloud/synchro/pass.kdbx"))
171+
	  (last-dir "/data/tyreunom")
172+
	  (last-opened-databases '("/data/tyreunom/owncloud/synchro/pass.kdbx"))))
173+
      (ssh-home
174+
	(ssh-configuration
175+
	  (known-hosts known-hosts)
176+
	  (default-host
177+
	    (ssh-host-configuration
178+
	      (identity-file "/data/tyreunom/.ssh/id_rsa")))))
98179
      (simple-file-home bashrc ".bashrc")
99180
      (simple-file-home bash_profile ".bash_profile")
100181
      (simple-file-home gitconfig ".gitconfig")
101182
      (simple-file-home gtkrc-2 ".gtkrc-2.0")
102183
      (simple-file-home gtkrc-3 ".config/gtk-3.0/settings.ini")
103-
      (simple-file-home xfce4-terminalrc ".config/xfce4/terminal/terminalrc"))))
184+
      (simple-file-home xfce4-terminalrc ".config/xfce4/terminal/terminalrc")
185+
      (symlink-file-home "/data/tyreunom/.mozilla" ".mozilla")
186+
      (symlink-file-home "/mnt/usb/.gnupg" ".gnupg")
187+
      (symlink-file-home "/data/tyreunom/.PlayOnLinux" ".PlayOnLinux")
188+
      (symlink-file-home "/data/tyreunom/PlayOnLinux" "PlayOnLinux")
189+
      (symlink-file-home "/data/tyreunom/Downloads" "Downloads")
190+
      (symlink-file-home "/data/tyreunom/.config/transmission"
191+
			 ".config/transmission")
192+
      (symlink-file-home "/data/tyreunom/.config/guix-gaming-channels"
193+
			 ".config/guix-gaming-channels")))
194+
  #:guix-config-symlink "/data/tyreunom/.config/guix")

homes/tyreunom.manifest

77
   "guile-readline" "guile"
88
99
   "gettext" "unzip" "hunspell-dict-fr" "file" "licensecheck" "git:send-email"
10-
   "bind:utils" "keepassxc" "gnupg" "pinentry" "youtube-dl" "git"
10+
   "bind:utils" "gnupg" "pinentry" "youtube-dl" "git"
1111
1212
   "adb" "icedtea:jdk"
1313
1414
   "poedit"
1515
16-
   "zathura" "zathura-pdf-poppler" "owncloud-client"
16+
   "zathura" "zathura-pdf-poppler"
1717
   "transmission:gui" "pavucontrol" "ibus" "ibus-anthy"
1818
19-
   "dunst" "compton"
20-
21-
   "icecat" "hexchat" "claws-mail" "wget" "feh" "mpv" "libreoffice"
22-
   "pcmanfm" "inkscape"
19+
   "wget" "feh" "mpv"
2320
2421
   "glibc-locales" "diffoscope"
25-
   "python" "python-neovim" "neovim"))
22+
   "python" "python-pynvim" "neovim"
23+
   "setxkbmap"))

modules/home-config/ssh.scm unknown status 1

1+
(define-module (home-config ssh)
2+
  #:use-module (home ssh)
3+
  #:export (known-hosts))
4+
5+
(define known-hosts
6+
  (list
7+
    (ssh-known-host-configuration
8+
      (names '("192.168.1.68"))
9+
      (key "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBGfAqcwAP7zdDpV6xEzvrClcW0rHa2AY6NNM/AOWPV8zU8nJ0x7XVpQWKhxfGVfa+EmGzmK1/h2/xBxSRBnB2FA="))
10+
    (ssh-known-host-configuration
11+
      (names '("bayfront.guixsd.org" "185.233.100.56"))
12+
      (key "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBKov4OZDoFlbD3DZtPl7O2LO1IuMdBdToMVOxpF1vkPBL7N7Q9VBz8Faq6KBWzHYriTwg2XEq667sgUxvHzTIJE="))
13+
    (ssh-known-host-configuration
14+
      (names '("framagit.org" "144.76.206.42"))
15+
      (key "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBMwVAxRFizaWBgaKvpwwBJZumDqaxXuucDvFsYhPZXxoUmvGG/+dQB90vC4rJRzZn/cFN5USQCaEVTWZQzqHJGg="))
16+
    (ssh-known-host-configuration
17+
      (names '("git.savannah.gnu.org" "git.sv.gnu.org" "208.118.235.201" "209.51.188.201"))
18+
      (key "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBP9c1Z2f4OHxymvLxqxQ/hY1g0ol0/iiXUrVFGZBBq4h5gD05c7Gw9rRrcrvF9XvumBvOghOQzDSZZLRWvFGocA="))
19+
    (ssh-known-host-configuration
20+
      (names '("github.com" "192.30.253.112" "192.30.253.113" "140.82.118.4"))
21+
      (algo "ssh-rsa")
22+
      (key "AAAAB3NzaC1yc2EAAAABIwAAAQEAq2A7hRGmdnm9tUDbO9IDSwBK6TbQa+PXYPCPy6rbTrTtw7PHkccKrpp0yVhp5HdEIcKr6pLlVDBfOLX9QUsyCOV0wzfjIJNlGEYsdlLJizHhbn2mUjvSAHQqZETYP81eFzLQNnPHt4EVVUh7VfDESU84KezmD5QlWpXLmvU31/yMf+Se8xhHTvKSCZIFImWwoG6mbUoWf9nzpIoaSjB+weqqUUmpaaasXVal72J+UX2B+2RPW3RcT0eOzQgqlJL3RKrTJvdsjE3JEAvGq3lGHSZXy28G3skua2SmVi/w4yCE6gbODqnTWlg7+wC604ydGXA8VJiS5ap43JXiUFFAaQ=="))
23+
    (ssh-known-host-configuration
24+
      (names '("hermes.lepiller.eu" "lepiller.eu" "89.234.186.109"))
25+
      (key "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBHwFjjb3LeA8S5P1SJE1Drn7KQgJSLNn3li7ChvF6POEfekix4PKkRFKpvFNKjDVvYLq9/p863Kk3d94dzxGJs4="))
26+
    (ssh-known-host-configuration
27+
      (names '("lfs.shaka.xyz]:2224" "[51.15.10.95]:2224"))
28+
      (key "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBBRclTw3aigtukAmMH8AiijpSPMrgSVtVZpk+vFPudOKDdV/k4X43jvBQaGBmq8dTJzPwV15VsX2XwObmlr3JOg="))
29+
    (ssh-known-host-configuration
30+
      (names '("svn.linuxfromscratch.org" "192.155.86.174" "www.linuxfromscratch.org" "higgs.linuxfromscratch.org" "fr.linuxfromscratch.org"))
31+
      (key "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBArm5Qu/vMLDKhrdIZ+5/jQOvr1J9ip08RY3Qkd7bDFTfMk1gbyJnCiQBncIK4iNjUF1OLiqJKMkTpLwv0bEvsc="))
32+
    (ssh-known-host-configuration
33+
      (names '("ftp.federez.net" "62.210.81.204"))
34+
      (algo "ecdsa-sha2-nistp521")
35+
      (key "AAAAE2VjZHNhLXNoYTItbmlzdHA1MjEAAAAIbmlzdHA1MjEAAACFBABzn68pwsOtQDzFEBsDo4U/k6N3YqWSK5ngEKMa9OVKqZEgnXyxVN8ew4r7o2Dp3yNx9FooWXDqTaeycaXjwNwkVQHOo4/Wj59d+7a8U0HOM+nogd2oqwAmMziN2mN39vncXVx+tiOnRXFS84JSsLJE68omMUyGbvYTvH+EsoRZaP+JQw=="))
36+
    (ssh-known-host-configuration
37+
      (names '("notabug.org" "176.9.32.93"))
38+
      (key "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBK0PiD7FUF9Zo5YYh+dq7VY/zptvDPS9YjUq45jogxPLMq2b9zBgkfAVFrUTNjPsxh26jOWxI6OxxldUgse4CpY="))
39+
    (ssh-known-host-configuration
40+
      (names '("gitlab.com" "35.231.145.151"))
41+
      (key "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBFSMqzJeV9rUzU4kWitGjeR4PWSa29SPqJ1fVkhtj3Hw9xjLVXVYrU9QlYWrOLXBpQ6KWjbjTDTdDkoohFzgbEY="))
42+
    (ssh-known-host-configuration
43+
      (names '("ene.lepiller.eu" "rennes.lepiller.eu" "89.92.10.229" "192.168.1.20"))
44+
      (key "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBOhW/qorkJoTi2nvOxmDbaMlKsO6jTfj7FBB18Oj7tOBziJaDpgUNxyuRazEVOK0b/fdgzgBdzjSWfii+qwNzGI="))
45+
    (ssh-known-host-configuration
46+
      (names '("xana.lepiller.eu" "62.210.81.154"))
47+
      (key "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBDp5sneP8KW0w/JrOSU61d049dROsR2PYxwO6hDon71gB88aqLaTuF5G162bwHKMX7LV37cy46RNbvwYQaeOPZQ="))))