guixconfig/config.scm

248 lines
8.7 KiB
Scheme
Raw Normal View History

2023-12-14 21:49:12 +00:00
(use-modules
(gnu)
(gnu image)
(gnu system nss)
2024-04-04 12:57:34 +00:00
(guix channels)
2024-04-03 14:15:08 +00:00
(rosenthal packages wm)
2024-04-04 00:08:03 +00:00
(zilti packages hyprland)
2024-03-13 21:28:27 +00:00
(nongnu packages firmware)
2023-12-14 21:49:12 +00:00
(nongnu packages linux)
2024-01-26 16:05:49 +00:00
(nongnu system linux-initrd))
2023-12-01 14:30:07 +00:00
2024-04-04 10:34:06 +00:00
(use-service-modules
admin
authentication
base
configuration
dbus
desktop
docker
linux
networking
nix
pm
sddm
sound
virtualization
xorg)
2023-12-01 14:30:07 +00:00
2023-12-14 21:49:12 +00:00
(use-package-modules
bootloaders
certs
2023-12-20 16:21:33 +00:00
containers
2024-04-04 00:08:03 +00:00
freedesktop
2023-12-14 21:49:12 +00:00
fonts
2023-12-22 17:32:59 +00:00
gl
2024-01-05 14:31:18 +00:00
gnome
2024-04-04 11:45:43 +00:00
kde-frameworks
2024-01-05 14:31:18 +00:00
linux
2023-12-14 21:49:12 +00:00
pciutils
2024-04-04 00:08:03 +00:00
qt
2023-12-14 21:49:12 +00:00
readline
terminals
version-control
2024-03-26 18:09:53 +00:00
virtualization
2023-12-14 21:49:12 +00:00
wm
2023-12-22 17:32:59 +00:00
xdisorg
2023-12-14 21:49:12 +00:00
xorg)
2023-12-01 14:30:07 +00:00
2023-11-28 21:38:47 +00:00
(operating-system
(host-name "ziltis-machine")
(timezone "Europe/Berlin")
(locale "de_DE.utf8")
2023-11-29 13:08:49 +00:00
(keyboard-layout
2023-12-01 13:22:33 +00:00
(keyboard-layout "de" #:options '("caps:swapescape")))
2023-12-11 11:54:43 +00:00
(kernel linux)
(initrd microcode-initrd)
(firmware (list linux-firmware))
2023-11-28 22:38:08 +00:00
(bootloader
(bootloader-configuration
2023-12-01 13:34:54 +00:00
(bootloader grub-efi-bootloader)
2023-11-28 22:38:08 +00:00
(targets
'("/boot/efi"))
(keyboard-layout keyboard-layout)))
2023-12-18 00:05:20 +00:00
#;(file-systems %local-filesystem)
#;(swap-devices %local-swap)
2023-12-14 21:49:12 +00:00
(file-systems (append (list
(file-system
2023-12-17 16:40:03 +00:00
(device (file-system-label "EFI"))
(mount-point "/boot/efi")
(type "vfat"))
(file-system
(device (file-system-label "guix"))
(mount-point "/")
(type "xfs")))
2023-12-14 21:49:12 +00:00
%base-file-systems))
(swap-devices
(list (swap-space (target (file-system-label "swap")))))
2023-11-28 22:38:08 +00:00
(users
2023-11-29 12:01:54 +00:00
(cons*
(user-account
(name "zilti")
(group "users")
(supplementary-groups
2024-04-10 22:58:30 +00:00
'("avahi" "users" "input" "wheel" "netdev" "audio" "cdrom" "video" "libvirt" "lp")))
2023-11-28 22:38:08 +00:00
%base-user-accounts))
2023-12-01 13:22:33 +00:00
(packages
(append
2024-03-13 21:28:27 +00:00
(list bluez-firmware
2024-04-15 20:28:41 +00:00
egl-gbm
2024-03-13 21:28:27 +00:00
egl-wayland
2023-12-22 17:32:59 +00:00
eglexternalplatform
2023-12-14 21:49:12 +00:00
font-terminus
2024-03-13 21:28:27 +00:00
fwupd-nonfree
2023-12-14 21:49:12 +00:00
git
2023-12-22 17:32:59 +00:00
glu
2023-12-14 21:49:12 +00:00
hwdata
2024-04-16 10:16:03 +00:00
hyprland-xwayland
2024-01-30 21:57:39 +00:00
i915-firmware
2023-12-22 17:32:59 +00:00
libdrm
2024-04-15 20:28:41 +00:00
libglvnd
2024-04-05 11:25:10 +00:00
linux-pam
2023-12-22 17:32:59 +00:00
mesa
2023-12-18 00:05:20 +00:00
network-manager
2024-04-04 11:45:43 +00:00
kwayland
2024-04-04 00:08:03 +00:00
qtwayland
2023-12-22 13:59:57 +00:00
readline
2024-01-17 15:34:06 +00:00
tuxedo-keyboard
2024-04-03 14:15:08 +00:00
xdg-desktop-portal-hyprland
2024-04-04 12:57:34 +00:00
xdg-desktop-portal
2024-01-30 21:57:39 +00:00
xf86-video-amdgpu
xf86-video-intel
2024-03-19 18:49:03 +00:00
xorg-server-xwayland
2024-04-04 12:57:34 +00:00
xorg-server
2024-04-04 11:45:43 +00:00
wayland
2024-03-13 21:32:06 +00:00
amdgpu-firmware
amd-microcode
intel-microcode)
2023-12-14 19:57:10 +00:00
2023-12-01 13:22:33 +00:00
%base-packages))
(services
(append
(modify-services
%desktop-services
2023-12-18 21:11:28 +00:00
(delete screen-locker-service-type)
(delete pulseaudio-service-type)
2023-12-11 10:59:44 +00:00
(guix-service-type config => (guix-configuration
(inherit config)
2024-04-04 12:57:34 +00:00
(channels
(cons* (channel
(name 'nonguix)
(url "https://gitlab.com/nonguix/nonguix")
;; Enable signature verification:
(introduction
(make-channel-introduction
"897c1a470da759236cc11798f4e0a5f7d4d59fbc"
(openpgp-fingerprint
"2A39 3FFF 68F4 EF7A 3D29 12AF 6F51 20A0 22FB B2D5"))))
(channel
(name 'emacs)
(url "https://github.com/babariviere/guix-emacs")
(introduction
(make-channel-introduction
"72ca4ef5b572fea10a4589c37264fa35d4564783"
(openpgp-fingerprint
"261C A284 3452 FB01 F6DF 6CF4 F9B7 864F 2AB4 6F18"))))
(channel
(name 'rosenthal)
(url "https://codeberg.org/hako/rosenthal.git")
(branch "trunk")
(introduction
(make-channel-introduction
"7677db76330121a901604dfbad19077893865f35"
(openpgp-fingerprint
"13E7 6CD6 E649 C28C 3385 4DF5 5E5A A665 6149 17F7"))))
(channel
(name 'ziltis-channel)
(url "https://gitea.lyrion.ch/zilti/guixchannel"))
%default-channels))
2023-12-11 10:59:44 +00:00
(substitute-urls
(append (list "https://substitutes.nonguix.org")
%default-substitute-urls))
(authorized-keys
2023-12-19 15:57:08 +00:00
(append (list (local-file "./keys/non-guix.pub"))
2023-12-19 00:16:03 +00:00
%default-authorized-guix-keys)))))
2023-12-14 21:49:12 +00:00
(list (service tlp-service-type (tlp-configuration))
(service
thermald-service-type
(thermald-configuration (adaptive? #t)))
(service
bluetooth-service-type
(bluetooth-configuration))
(service
earlyoom-service-type
(earlyoom-configuration
(minimum-available-memory 5)
(minimum-free-swap 5)))
(service
inputattach-service-type
(inputattach-configuration))
(service
libvirt-service-type
(libvirt-configuration
(unix-sock-group "libvirt")))
2024-04-04 10:04:30 +00:00
(service nix-service-type (nix-configuration))
2024-03-26 18:09:53 +00:00
(service
virtlog-service-type
(virtlog-configuration))
2023-12-14 21:49:12 +00:00
(service
fstrim-service-type
(fstrim-configuration))
(service
fprintd-service-type
2024-04-05 11:25:10 +00:00
(fprintd-configuration)))
2023-12-14 21:49:12 +00:00
2023-12-18 00:27:14 +00:00
(list polkit-wheel-service)
2023-12-01 13:38:40 +00:00
(list
2023-12-01 13:37:15 +00:00
(service screen-locker-service-type
(screen-locker-configuration
(name "swaylock")
(program
(file-append swaylock-effects "/bin/swaylock"))
2023-12-01 13:38:40 +00:00
(using-setuid? #f))))
2024-01-26 16:05:49 +00:00
(list
(simple-service 'add-extra-hosts
hosts-service-type
(list (host "127.0.0.1" "l.redsky.io" '("ld.redsky.io"))
(host "::1" "l.redsky.io" '("ld.redsky.io")))))
2024-04-30 21:38:57 +00:00
(list
(service pam-limits-service-type
(list
(pam-limits-entry "*" 'both 'nofile 524288))))
2023-12-18 00:05:20 +00:00
(list
(service unattended-upgrade-service-type
2024-04-30 21:38:57 +00:00
(unattended-upgrade-configuration
(schedule "5 12 * * 1")
(channels #~
(cons* (channel
(name 'nonguix)
(url "https://gitlab.com/nonguix/nonguix")
;; Enable signature verification:
(introduction
(make-channel-introduction
"897c1a470da759236cc11798f4e0a5f7d4d59fbc"
(openpgp-fingerprint
"2A39 3FFF 68F4 EF7A 3D29 12AF 6F51 20A0 22FB B2D5"))))
(channel
(name 'emacs)
(url "https://github.com/babariviere/guix-emacs")
(introduction
(make-channel-introduction
"72ca4ef5b572fea10a4589c37264fa35d4564783"
(openpgp-fingerprint
"261C A284 3452 FB01 F6DF 6CF4 F9B7 864F 2AB4 6F18"))))
(channel
(name 'rosenthal)
(url "https://codeberg.org/hako/rosenthal.git")
(branch "trunk")
(introduction
(make-channel-introduction
"7677db76330121a901604dfbad19077893865f35"
(openpgp-fingerprint
"13E7 6CD6 E649 C28C 3385 4DF5 5E5A A665 6149 17F7"))))
(channel
(name 'ziltis-channel)
(url "https://gitea.lyrion.ch/zilti/guixchannel"))
%default-channels)))))))
2023-11-28 21:38:47 +00:00
(name-service-switch %mdns-host-lookup-nss))