This commit is contained in:
Daniel Ziltener 2023-11-30 13:22:14 +01:00
parent c4bfb152ba
commit 342f33ae8c
Signed by: zilti
GPG key ID: B38976E82C9DAE42

View file

@ -2,7 +2,6 @@
(use-modules (use-modules
(gnu) (gnu)
(gnu build file-systems)
(gnu image) (gnu image)
(gnu services authentication) (gnu services authentication)
(gnu services avahi) (gnu services avahi)
@ -41,7 +40,12 @@
(targets (targets
'("/boot/efi")) '("/boot/efi"))
(keyboard-layout keyboard-layout))) (keyboard-layout keyboard-layout)))
(file-systems #~(call-with-input-file "/etc/config.scm"
(lambda (port)
(read port)
(read port)
(last-pair (read-port))))
#;(file-systems
(cons* (cons*
(file-system (file-system
(device "/dev/disk/by-partlabel/EFI\\x20System\\x20Partition") (device "/dev/disk/by-partlabel/EFI\\x20System\\x20Partition")
@ -74,6 +78,7 @@
(specifications->packages (specifications->packages
(list (list
"nss-certs" "nss-certs"
"readline"
"emacs" "emacs"
"emacs-desktop-environment" "emacs-desktop-environment"
"font-terminus" "font-terminus"
@ -106,15 +111,24 @@
(list "video" "input")) (list "video" "input"))
(terminals (terminals
(list (list
(greetd-terminal-configuration
(terminal-vt "1"))
(greetd-terminal-configuration
(terminal-vt "2"))
(greetd-terminal-configuration
(terminal-vt "3"))
(greetd-terminal-configuration
(terminal-vt "4"))
(greetd-terminal-configuration
(terminal-vt "5"))
(greetd-terminal-configuration
(terminal-vt "6"))
(greetd-terminal-configuration (greetd-terminal-configuration
(terminal-vt "7") (terminal-vt "7")
(terminal-switch #t) (terminal-switch #t)
(default-session-command (default-session-command
(greetd-wlgreet-sway-session (greetd-wlgreet-session
(sway (command (file-append swayfx "/bin/sway")))))))))
(specification->package "swayfx"))
;; (sway-configuration #f)
)))))))
(service fprintd-service-type) (service fprintd-service-type)
(service screen-locker-service-type (service screen-locker-service-type
(screen-locker-configuration (screen-locker-configuration