.
This commit is contained in:
parent
0d429ab564
commit
d388221901
1 changed files with 108 additions and 102 deletions
68
config.scm
68
config.scm
|
@ -1,6 +1,7 @@
|
||||||
;; -*- mode: guix-scheme -*-
|
;; -*- mode: guix-scheme -*-
|
||||||
|
|
||||||
(use-modules (gnu)
|
(use-modules
|
||||||
|
(gnu)
|
||||||
(gnu services avahi)
|
(gnu services avahi)
|
||||||
(gnu services base)
|
(gnu services base)
|
||||||
(gnu services desktop)
|
(gnu services desktop)
|
||||||
|
@ -21,40 +22,46 @@
|
||||||
(host-name "ziltis-machine")
|
(host-name "ziltis-machine")
|
||||||
(timezone "Europe/Berlin")
|
(timezone "Europe/Berlin")
|
||||||
(locale "de_DE.utf8")
|
(locale "de_DE.utf8")
|
||||||
(bootloader (bootloader-configuration
|
(bootloader
|
||||||
|
(bootloader-configuration
|
||||||
(bootloader grub-efi-bootloader)
|
(bootloader grub-efi-bootloader)
|
||||||
(targets '("/boot/efi"))
|
(targets
|
||||||
(keyboard-layout
|
'("/boot/efi"))
|
||||||
(keyboard-layout "de"))))
|
(keyboard-layout keyboard-layout)))
|
||||||
(file-systems (append
|
(file-systems
|
||||||
(list
|
(cons*
|
||||||
(file-system
|
(file-system
|
||||||
(device (partition-label "EFI System Partition"))
|
(device
|
||||||
|
(partition-label "EFI System Partition"))
|
||||||
(mount-point "/boot/efi")
|
(mount-point "/boot/efi")
|
||||||
(type "vfat"))
|
(type "vfat"))
|
||||||
(file-system
|
(file-system
|
||||||
(device (file-system-label "guix-root")
|
(device
|
||||||
|
(file-system-label "guix-root")
|
||||||
(mount-point "/")
|
(mount-point "/")
|
||||||
(type "xfs")))
|
(type "xfs")))
|
||||||
(file-system
|
|
||||||
(device (label "swap"))
|
|
||||||
(type "swap")))
|
|
||||||
%base-file-systems))
|
%base-file-systems))
|
||||||
(swap-devices (list
|
(swap-devices
|
||||||
|
(list
|
||||||
(swap-space
|
(swap-space
|
||||||
(target (label "swap"))
|
(target
|
||||||
|
(label "swap"))
|
||||||
(discard? #t))))
|
(discard? #t))))
|
||||||
(keyboard-layout (keyboard-layout "de"))
|
(keyboard-layout
|
||||||
(users (cons (user-account
|
(keyboard-layout "de"))
|
||||||
|
(users
|
||||||
|
(cons* (user-account
|
||||||
(name "zilti")
|
(name "zilti")
|
||||||
(group "users")
|
(group "users")
|
||||||
(supplementary-groups '("wheel"
|
(supplementary-groups
|
||||||
|
'("wheel"
|
||||||
"seat"
|
"seat"
|
||||||
"audio"
|
"audio"
|
||||||
"video"
|
"video"
|
||||||
"libvirt")))
|
"libvirt")))
|
||||||
%base-user-accounts))
|
%base-user-accounts))
|
||||||
(packages (append
|
(packages
|
||||||
|
(append
|
||||||
(list
|
(list
|
||||||
nss-certs
|
nss-certs
|
||||||
emacs
|
emacs
|
||||||
|
@ -62,14 +69,18 @@
|
||||||
kitty
|
kitty
|
||||||
swayfx)
|
swayfx)
|
||||||
%base-packages))
|
%base-packages))
|
||||||
|
(services
|
||||||
(services (append
|
(append
|
||||||
(modify-services
|
(modify-services
|
||||||
%desktop-services
|
%desktop-services
|
||||||
(delete login-service-type)
|
(delete login-service-type)
|
||||||
(delete mingetty-service-type))
|
(delete mingetty-service-type))
|
||||||
(list (service avahi-service-type)
|
(list
|
||||||
|
(service network-manager-service-type)
|
||||||
|
(service wpa-supplicant-service-type)
|
||||||
|
(service ntp-service-type)
|
||||||
|
(service gdm-service-type)
|
||||||
|
(service avahi-service-type)
|
||||||
(service elogind-service-type)
|
(service elogind-service-type)
|
||||||
(service seatd-service-type)
|
(service seatd-service-type)
|
||||||
(service polkit-service-type)
|
(service polkit-service-type)
|
||||||
|
@ -82,20 +93,18 @@
|
||||||
(service udisks-service-type)
|
(service udisks-service-type)
|
||||||
(service bluetooth-service-type)
|
(service bluetooth-service-type)
|
||||||
(service inputattach-service-type)
|
(service inputattach-service-type)
|
||||||
|
|
||||||
(service fstrim-service-type)
|
(service fstrim-service-type)
|
||||||
|
|
||||||
(service earlyoom-service-type
|
(service earlyoom-service-type
|
||||||
(earlyoom-configuration
|
(earlyoom-configuration
|
||||||
(minimum-available-memory 5)
|
(minimum-available-memory 5)
|
||||||
(minimum-free-swap 5)))
|
(minimum-free-swap 5)))
|
||||||
|
|
||||||
(service greetd-service-type
|
(service greetd-service-type
|
||||||
(greetd-configuration
|
(greetd-configuration
|
||||||
(greeter-supplementary-groups
|
(greeter-supplementary-groups
|
||||||
(list "video" "input" "seat"))
|
(list "video" "input" "seat"))
|
||||||
(terminals
|
(terminals
|
||||||
(list (greetd-terminal-configuration
|
(list
|
||||||
|
(greetd-terminal-configuration
|
||||||
(terminal-vt "1")
|
(terminal-vt "1")
|
||||||
(terminal-switch #t)
|
(terminal-switch #t)
|
||||||
(default-session-command
|
(default-session-command
|
||||||
|
@ -103,17 +112,14 @@
|
||||||
(sway 'swayfx)
|
(sway 'swayfx)
|
||||||
;; (sway-configuration #f)
|
;; (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
|
||||||
(name "swaylock")
|
(name "swaylock")
|
||||||
(program (file-append swaylock-effects "/bin/swaylock"))
|
(program
|
||||||
|
(file-append swaylock-effects "/bin/swaylock"))
|
||||||
(using-setuid? #f)))
|
(using-setuid? #f)))
|
||||||
|
|
||||||
(service libvirt-service-type
|
(service libvirt-service-type
|
||||||
(libvirt-configuration
|
(libvirt-configuration
|
||||||
(unix-sock-group "libvirt"))))))
|
(unix-sock-group "libvirt"))))))
|
||||||
|
|
||||||
(name-service-switch %mdns-host-lookup-nss))
|
(name-service-switch %mdns-host-lookup-nss))
|
||||||
|
|
Loading…
Reference in a new issue