add packages and setup for warmachine offload

This commit is contained in:
Adrien Bourmault 2025-02-23 13:09:33 +01:00
parent 78bca9c657
commit ee584cb3dd
No known key found for this signature in database
GPG Key ID: 57BC26A3687116F6
4 changed files with 27 additions and 6 deletions

1
.gitignore vendored
View File

@ -49,3 +49,4 @@ ssh/authorized_keys.d/
guix/acl*
bluetooth
shadow*
elogind/

View File

@ -325,7 +325,7 @@ fi"))
;; Application de la configuration sudoer personnalisée (définie plus haut)
(kernel-arguments
(list
"console=ttyS0,1152008n1"
;"console=ttyS0,1152008n1"
"nohz=on"
"modprobe.blacklist=pcspkr,usbmouse,usbkbd"
"iommu=pt"
@ -363,6 +363,7 @@ fi"))
'("wheel"
"netdev"
"audio"
"dialout"
"video"
"libvirt"
"kvm"
@ -423,7 +424,7 @@ fi"))
"git-lfs"
"git:send-email"
"glmark2"
"gnome-bluetooth"
;"gnome-bluetooth"
"gnome-builder"
"gnome-font-viewer"
"gnome-maps"
@ -436,6 +437,8 @@ fi"))
"gnome-shell-extension-noannoyance"
"gnome-shell-extension-vitals"
"gnome-tweaks"
"gnunet"
"gnunet-gtk"
"gnupg"
"gnuplot"
"gparted"
@ -454,6 +457,7 @@ fi"))
"jp2a"
"kajongg"
"kcachegrind"
"kexec-tools"
"kgraphviewer"
"kicad"
"kicad-doc"
@ -531,6 +535,7 @@ fi"))
"setxkbmap"
"simplescreenrecorder"
"sl"
;"speed-dreams"
"speedtest-cli"
"sqlitebrowser"
"sshpass"
@ -539,6 +544,7 @@ fi"))
"texlive"
"texlive-biber"
"texmaker"
"texstudio"
"thin-provisioning-tools"
"tig"
"tilix"
@ -562,10 +568,11 @@ fi"))
"xeyes"
"xournalpp"
"xrdp"
"yt-dlp"
"zstd"))
"yt-dlp"))
(list
nvramtool
cbfstool
gnupload)
%base-packages))
@ -596,7 +603,7 @@ fi"))
`(("neox" ,%home_configuration)))
;; Service bluetooth
(service bluetooth-service-type)
;;(service bluetooth-service-type)
;; Service de contrôle des ventilateurs
(service fancontrol-service-type "/etc/fancontrol")
@ -609,7 +616,7 @@ fi"))
(openssh-configuration
(authorized-keys
`(("neox" ,(local-file "/etc/ssh/ssh_neox_ed25519_key.pub"))
("offload" ,(local-file "/etc/ssh/ssh_n-t400s_ed25519_key.pub"))))
("offload" ,(local-file "/etc/ssh/ssh_n-t400s_ed25519_key.pub") ,(local-file "/etc/ssh/ssh_libre-warmachine_ed25519_key.pub"))))
(x11-forwarding? #t)
(password-authentication? #f)
(permit-root-login 'prohibit-password)))
@ -640,6 +647,13 @@ fi"))
;; Service Gnome/GDM
(service gnome-desktop-service-type)
;; Configuration de Guix publish
(service guix-publish-service-type
(guix-publish-configuration
(host "0.0.0.0")
(advertise? #t)
(cache "/var/cache/guix/publish")))
;; Configuration de l'environnement graphique (notamment clavier)
(set-xorg-configuration
(xorg-configuration (keyboard-layout keyboard-layout))))
@ -668,6 +682,7 @@ fi"))
(authorized-keys
(append
(list
(local-file "/etc/guix/libre-warmachine.pub")
(local-file "/etc/guix/n-t400s.pub"))
%default-authorized-guix-keys))
(extra-options '("--gc-keep-derivations=yes" "--gc-keep-output=yes"))))

View File

@ -0,0 +1,4 @@
(public-key
(ecc
(curve Ed25519)
(q #7F8EB1AE40F138A9DF5F61C57CC4E33F4F1E42244CE71D855806CDE06113A245#)))

View File

@ -0,0 +1 @@
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPhNNT9tFGTTGQ9e+L5u1gJiPpiivE04r8iQ4zapXpSU root@(none)