;; This is an operating system configuration generated ;; by the graphical installer. (use-modules (gnu) (nongnu packages linux) (nongnu system linux-initrd)) (use-service-modules desktop networking ssh xorg nfs) (define %my-wol-rule (udev-rule "90-my-wol.rules" (string-append "ACTION==\"add\", " "SUBSYSTEM==\"net\", " "NAME==\"yolo420\", " "RUN+=\"/run/current-system/profile/sbin/ethtool -s $name wol g\""))) (define %my-NIC-name-rule (udev-rule "60-my-NIC-name.rules" (string-append "ACTION==\"add\", " "SUBSYSTEM==\"net\", " "ATTR{address}==\"XX:XX:XX:XX:XX:XX\", " "NAME:=\"yolo420\""))) (operating-system (kernel linux) (initrd microcode-initrd) (firmware (list linux-firmware));; So onboard radeon card works (locale "en_AU.utf8") (timezone "Australia/Sydney") (keyboard-layout (keyboard-layout "us")) (host-name "streetkid") (users (cons* (user-account (name "mark") (comment "Mark") (group "users") (home-directory "/home/mark") (supplementary-groups '("wheel" "netdev" "audio" "video"))) %base-user-accounts)) (packages (append (list (specification->package "nss-certs") (specification->package "nfs-utils") (specification->package "hdparm") (specification->package "smartmontools") (specification->package "ethtool") (specification->package "lvm2") (specification->package "vim")) %base-packages)) (services (cons* (service static-networking-service-type ;; For static networking (list (static-networking (addresses (list (network-address (device "yolo420");; For streetkid NIC (value "192.168.0.6/24")))) (routes (list (network-route (destination "default") (gateway "192.168.0.1"))))))) (service openssh-service-type) (service ntp-service-type) (udev-rules-service 'my-wol-rule %my-wol-rule) (udev-rules-service 'my-NIC-name-rule %my-NIC-name-rule) (service nfs-service-type (nfs-configuration (exports '(("/home/mark/exports" "192.168.0.0/24(rw,fsid=0,no_subtree_check)") ("/home/mark/exports/pictures" "192.168.0.0/24(rw,no_subtree_check)") ("/home/mark/exports/videos" "192.168.0.0/24(rw,no_subtree_check)"))))) (modify-services %base-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 "/home/mark/.config/guix/substitute-server-signing-keys/nonguix-signing-key.pub")) %default-authorized-guix-keys))))))) (bootloader (bootloader-configuration (bootloader grub-bootloader) (targets '("/dev/sda")) (keyboard-layout keyboard-layout))) (mapped-devices (list (mapped-device (source "streetkid_VG_storage") (target "streetkid_VG_storage-streetkid_LV_home") (type lvm-device-mapping)))) (file-systems (cons* (file-system (mount-point "/") (device (uuid "00000000-0000-0000-0000-000000000000")) (type "ext4")) (file-system (mount-point "/home") (device "/dev/mapper/streetkid_VG_storage-streetkid_LV_home") (type "ext4") (dependencies mapped-devices)) %base-file-systems)))