Guix Tricks: Managing secrets using password-store and run-time decryption scripts.
freakingpenguin.com·7h
🔓Binary Exploitation
Preview
Report Post

Intro

Guix is a package management tool with support for declarative operation. By declarative, I mean I can write various objects—such as an operating system configuration—in a text file. Guix will take that text file and use it to create what I want. For example...

(define %simple-os
(operating-system
(host-name "komputilo")
(timezone "America/New_York")
(locale "en_US.UTF-8")

(bootloader (bootloader-configuration
(bootloader grub-bootloader)
(targets '("/dev/sdX"))))
(file-systems (cons (file-system
(device (file-system-label "my-root"))
(mount-point "/")
(type "ext4"))
%base-file-systems))

(users (cons (user-account
(name "alice")
(comment "Bob's sister")
(group "users")
(supplementary-groups '("wheel" "audio" "video")))
%base-user-accounts))))

Generally speaking…

Similar Posts

Loading similar posts...