convert to proper module

This commit is contained in:
ryan77627 2023-05-19 00:27:16 -04:00 committed by Ryan Schanzenbacher
parent 04498cbd95
commit f48af547d7
Signed by: ryan77627
GPG key ID: 81B0E222A3E2308E

View file

@ -1,16 +1,27 @@
(use-modules (gnu) (nongnu packages linux))
(use-modules (gnu system setuid))
(use-modules (gnu packages admin))
(use-modules (guix packages))
(use-modules (gnu packages shells))
(use-modules (guix build-system trivial))
(use-modules (guix licenses))
(use-modules (gnu packages tls))
(use-modules (srfi srfi-1))
(use-modules (ryan-packages freedesktop))
(use-modules (ryan-packages wm))
(use-package-modules security-token)
(use-service-modules cups desktop networking xorg ssh nix sound security-token docker virtualization)
(define-module (ryan-config base-system)
#:use-module (gnu)
#:use-module (nongnu packages linux)
#:use-module (gnu system setuid)
#:use-module (gnu packages admin)
#:use-module (guix packages)
#:use-module (gnu packages shells)
#:use-module (guix build-system trivial)
#:use-module (guix licenses)
#:use-module (gnu packages tls)
#:use-module (srfi srfi-1)
#:use-module (ryan-packages freedesktop)
#:use-module (ryan-packages wm)
#:use-module (gnu packages security-token)
#:use-module (gnu services security-token)
#:use-module (gnu services cups)
#:use-module (gnu services desktop)
#:use-module (gnu services networking)
#:use-module (gnu services xorg)
#:use-module (gnu services ssh)
#:use-module (gnu services nix)
#:use-module (gnu services sound)
#:use-module (gnu services docker)
#:use-module (gnu services virtualization))
; Define package that installs my root ca public keys
(define my-ca-certs
@ -70,6 +81,7 @@
"ACTION==\"add\", SUBSYSTEM==\"backlight\", "
"RUN+=\"/run/current-system/profile/bin/chmod g+w /sys/class/backlight/%k/brightness\"")))
(define-public base-operating-system
(operating-system
(kernel linux)
(firmware (list linux-firmware))
@ -183,4 +195,4 @@
(bootloader (bootloader-configuration
(bootloader grub-efi-bootloader)
(targets (list "/boot/efi"))
(keyboard-layout keyboard-layout))))))))
(keyboard-layout keyboard-layout)))))))))