diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/home-config/base-system.scm | 33 | ||||
-rw-r--r-- | modules/home-packages/gcc.scm | 12 | ||||
-rw-r--r-- | modules/home-packages/virtualization.scm | 4 |
3 files changed, 33 insertions, 16 deletions
diff --git a/modules/home-config/base-system.scm b/modules/home-config/base-system.scm index 239f254..6900561 100644 --- a/modules/home-config/base-system.scm +++ b/modules/home-config/base-system.scm @@ -6,6 +6,7 @@ #:use-module (gnu packages avahi) #:use-module (gnu packages shells) #:use-module (gnu packages tls) + #:use-module (gnu packages gcc) #:use-module (gnu packages security-token) #:use-module (gnu packages virtualization) #:use-module (guix packages) @@ -118,20 +119,19 @@ ;; services. run 'guix system search KEYWORD' in a terminal. (services (append (list - - ;; To configure OpenSSH, pass an 'openssh-configuration' - ;; record as a second argument to 'service' below. - (service openssh-service-type) - (service pcscd-service-type) - (service spice-vdagent-service-type) - (service cups-service-type - (cups-configuration - (web-interface? #t))) - ;; Avahi is only present for CUPS to support "automagic" printing - (service avahi-service-type - (avahi-configuration - (publish? #f) ;; do not advertise this machiene - (publish-workstation? #f))) ; do not advertise, I want this to be as silent as possible + ;; To configure OpenSSH, pass an 'openssh-configuration' + ;; record as a second argument to 'service' below. + (service openssh-service-type) + (service pcscd-service-type) + (service spice-vdagent-service-type) + (service cups-service-type + (cups-configuration + (web-interface? #t))) + ;; Avahi is only present for CUPS to support "automagic" printing + (service avahi-service-type + (avahi-configuration + (publish? #f) ;; do not advertise this machiene + (publish-workstation? #f))) ; do not advertise, I want this to be as silent as possible (service docker-service-type) (service nix-service-type) (service libvirt-service-type @@ -143,6 +143,11 @@ (service bluetooth-service-type) (service pam-limits-service-type) (service fprintd-service-type) + ;; (service special-files-service-type + ;; `(("/lib64" ,(directory-union "rustup-libs" + ;; (list + ;; (file-append glibc "/lib") + ;; (file-append gcc "/lib")))))) (udev-rules-service 'fido2 libfido2 #:groups '("plugdev"))) ;; This is the default list of services we diff --git a/modules/home-packages/gcc.scm b/modules/home-packages/gcc.scm new file mode 100644 index 0000000..5d6a208 --- /dev/null +++ b/modules/home-packages/gcc.scm @@ -0,0 +1,12 @@ +(define-module (home-packages gcc) + #:use-module (gnu) + #:use-module (guix packages) + #:use-module (gnu packages gcc)) + +(define-public gcc-new + (package + (inherit gcc) + (name "gcc-new") + (outputs (package-outputs gcc)))) + + diff --git a/modules/home-packages/virtualization.scm b/modules/home-packages/virtualization.scm index e87b0e0..e85b0af 100644 --- a/modules/home-packages/virtualization.scm +++ b/modules/home-packages/virtualization.scm @@ -19,7 +19,7 @@ (substitute-keyword-arguments (package-arguments libvirt) ((#:phases phases) #~(modify-phases #$phases - (add-after 'install 'install-firmware + (add-after 'install 'install-uefi (lambda _ (let ((fmw (string-append #$output "/share/qemu"))) (mkdir-p fmw) @@ -38,7 +38,7 @@ (substitute-keyword-arguments (package-arguments virt-manager) ((#:phases phases) #~(modify-phases #$phases - (add-after 'install 'install-firmware + (add-after 'install 'install-uefi (lambda _ (let ((fmw (string-append #$output "/share/qemu"))) (mkdir-p fmw) |