88 lines
3.8 KiB
Scheme
88 lines
3.8 KiB
Scheme
(use-modules (gnu)
|
|
(nongnu packages linux)
|
|
(nongnu system linux-initrd)
|
|
(gnu packages cups)
|
|
(gnu packages shells)
|
|
(nongnu packages printers))
|
|
(use-service-modules cups desktop networking ssh syncthing xorg)
|
|
|
|
(operating-system
|
|
(kernel linux)
|
|
(initrd microcode-initrd)
|
|
(firmware (list linux-firmware))
|
|
(locale "en_US.utf8")
|
|
(timezone "America/Chicago")
|
|
(keyboard-layout (keyboard-layout "us"))
|
|
(host-name "sanderson")
|
|
|
|
;; The list of user accounts ('root' is implicit).
|
|
(users (cons* (user-account
|
|
(name "skylar")
|
|
(comment "Skylar")
|
|
(group "users")
|
|
(shell (file-append fish "/bin/fish"))
|
|
(home-directory "/home/skylar")
|
|
(supplementary-groups '("wheel" "netdev" "audio" "video")))
|
|
%base-user-accounts))
|
|
|
|
;; Packages installed system-wide. Users can also install packages
|
|
;; under their own account: use 'guix search KEYWORD' to search
|
|
;; for packages and 'guix install PACKAGE' to install a package.
|
|
(packages %base-packages)
|
|
|
|
;; Below is the list of system services. To search for available
|
|
;; services, run 'guix system search KEYWORD' in a terminal.
|
|
(services
|
|
(append (list (service plasma-desktop-service-type)
|
|
|
|
;; To configure OpenSSH, pass an 'openssh-configuration'
|
|
;; record as a second argument to 'service' below.
|
|
(service openssh-service-type)
|
|
(service cups-service-type
|
|
(cups-configuration
|
|
(web-interface? #t)
|
|
(extensions
|
|
(list brlaser cups-filters epson-inkjet-printer-escpr foomatic-filters hplip hplip-plugin splix))))
|
|
(set-xorg-configuration
|
|
(xorg-configuration (keyboard-layout keyboard-layout)))
|
|
(service syncthing-service-type
|
|
(syncthing-configuration
|
|
(user "skylar")
|
|
(home "/home/skylar")))
|
|
(simple-service 'add-hosts
|
|
hosts-service-type
|
|
(list (host "192.168.254.167" "vtt"
|
|
'("vtt.skylarhill.me"))
|
|
(host "192.168.254.167" "files"
|
|
'("files.skylarhill.me")))))
|
|
|
|
;; This is the default list of services we
|
|
;; are appending to.
|
|
(modify-services %desktop-services
|
|
(guix-service-type config => (guix-configuration
|
|
(inherit config)
|
|
(substitute-urls
|
|
(append (list "https://substitutes.nonguix.org")
|
|
%default-substitute-urls))
|
|
(authorized-keys
|
|
(append (list (local-file "./signing-key.pub"))
|
|
%default-authorized-guix-keys)))))))
|
|
|
|
(bootloader (bootloader-configuration
|
|
(bootloader grub-bootloader)
|
|
(targets (list "/dev/sda"))
|
|
(keyboard-layout keyboard-layout)))
|
|
(swap-devices (list (swap-space
|
|
(target (uuid
|
|
"646006cb-84a4-46ea-a03c-78a343b2fd07")))))
|
|
|
|
;; The list of file systems that get "mounted". The unique
|
|
;; file system identifiers there ("UUIDs") can be obtained
|
|
;; by running 'blkid' in a terminal.
|
|
(file-systems (cons* (file-system
|
|
(mount-point "/")
|
|
(device (uuid
|
|
"38be76dc-b7d8-4433-bab6-04c6c7f62733"
|
|
'ext4))
|
|
(type "ext4")) %base-file-systems)))
|