This blog is a package
By March 9, 2025
·So, I decided to publish this blog as a guix chanel. Having it that way lets me "quickly" deploy on a system running guix.
The operating system configuration goes as follows.
(use-modules (nostate notes))
(operating-system
(simple-service 'nostate-notes nginx-service-type
(list (nginx-server-configuration
(listen '("80"))
(root nostate-notes)))))
You also need to include a new channel in ~/.config/guix/channels.scm
, like.
(cons* (channel
(name 'nostate-notes)
(url "https://git.sr.ht/~frndmg/nostate-notes")
(branch "main"))
%default-channels)
Pst
I really was just looking for a reason to use guix and have my own channel. Cool experience overall.