Compare commits

..

8 Commits

Author SHA1 Message Date
mir
f422a7b82e add lynn's channel (might not need?) 2024-10-11 19:38:15 -08:00
mir
3a3906399d re-indent and fix spelling 2024-10-11 19:37:47 -08:00
mir
38ad21a033 add firefox and gparted 2024-10-11 19:37:05 -08:00
mir
116e49f322 add unicron, the build machine 2024-10-11 19:36:01 -08:00
mir
8e63730e60 add initrd and update placeything hashes 2024-10-09 18:59:40 -08:00
mir
e2a27dbc57 ignore emacs backup files :3 2024-10-09 18:58:47 -08:00
mir
8b3bad38af finally fix and document file-fetch 2024-10-09 18:56:02 -08:00
mir
821d7027b0 add dconf.ini, for idle delay 2024-10-08 09:42:59 -08:00
6 changed files with 99 additions and 40 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
current
*~

View File

@ -7,6 +7,15 @@
"9edb3f66fd807b096b48283debdcddccfea34bad"
(openpgp-fingerprint
"BBB0 2DDF 2CEA F6A8 0D1D E643 A2A0 6DF2 A33A 54FA"))))
(channel
(name 'artoria)
(url "https://git.bloodyno.se/lynn/artoria.git")
(branch "main")
(introduction
(make-channel-introduction
"56579fce18ab54c21442a98d923bd2bc6844d321"
(openpgp-fingerprint
"FE30 E8F6 522D 0615 35E0 E449 55E7 97F6 31DD A03C"))))
(channel
(name 'nonguix)
(url "https://gitlab.com/nonguix/nonguix")
@ -17,7 +26,7 @@
(openpgp-fingerprint
"2A39 3FFF 68F4 EF7A 3D29 12AF 6F51 20A0 22FB B2D5"))))
(channel
(name 'michael_atlas)
(name 'michal_atlas)
(url "https://git.sr.ht/~michal_atlas/guix-channel")
(branch "master")
;;(introduction
@ -26,4 +35,5 @@
;; (openpgp-fingerprint
;; "")
;; ))
))
)
)

2
dconf.ini Normal file
View File

@ -0,0 +1,2 @@
[/]
idle-delay=uint32 0

View File

@ -25,7 +25,10 @@
(define (file-fetch url hash)
(with-store store
(run-with-store store
(url-fetch url 'sha256 (base64-decode hash)))))
(url-fetch url 'sha256
; hash
(base64-decode hash)
))))
(home-environment
;; Below is the list of packages that will show up in your
@ -44,8 +47,9 @@
home-files-service-type
`(
(".face" ,(file-fetch
"https://marq42.xyz/mir-avatar-picrew-3.png"
"cf5ck8db4d5n24drdnv77wx1liiqi6an"
"https://marq42.xyz/mir-avatar-picrew-3.png"
;; get below with `guix download URL --format=base64` - this took ages to work out
"Psx4J7+7mMKqpsT/rl/Iv/XQnZlTJ1WSMpswuNDjv38="
))))
(service home-dconf-load-service-type
#~`((org/gnome/shell

View File

@ -11,7 +11,8 @@
;; used in this configuration.
(use-modules
(gnu)
(nongnu packages linux))
(nongnu packages linux)
(nongnu system linux-initrd))
(use-service-modules
cups
desktop
@ -21,20 +22,22 @@
(operating-system
(kernel linux)
(initrd microcode-initrd)
(firmware (list linux-firmware))
(locale "en_US.utf8")
(timezone "America/Anchorage")
(keyboard-layout (keyboard-layout "us"))
(host-name "starscream")
;; The list of user accounts ('root' is implicit).
(users (cons* (user-account
(name "mir")
(comment "Miranda Marquez")
(group "users")
(home-directory "/home/mir")
(supplementary-groups '("wheel" "netdev" "audio" "video")))
%base-user-accounts))
(name "mir")
(comment "Miranda Marquez")
(group "users")
(home-directory "/home/mir")
(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
@ -44,44 +47,76 @@
(specification->package "emacs")
(specification->package "eza")
(specification->package "git")
;; (specification->package "nss-certs") ;removed because version conflict
)
%base-packages))
(specification->package "gparted")
(specification->package "firefox")
;; (specification->package "nss-certs") ;removed because version conflict
)
%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 gnome-desktop-service-type)
(append
(modify-services %desktop-services
(guix-service-type
config => (guix-configuration
(inherit config)
(authorized-keys
(append (list
(local-file "./unikey.txt"))
%default-authorized-guix-keys))
;; To configure OpenSSH, pass an 'openssh-configuration'
;; record as a second argument to 'service' below.
(service openssh-service-type)
(service cups-service-type)
(set-xorg-configuration
(xorg-configuration (keyboard-layout keyboard-layout))))
(build-machines (list
#~(build-machine
(name "192.168.1.3") ; unicron
(systems (list "x86_64-linux" "1686-linux"))
(host-key "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIALuQ9g+xYE7Wu5o+8GjtJXLEfOaJwgURMVaJIDb0e8T")
(user "root")
(speed 2.) ; incredibly fast :3
))
)
)))
(list (service gnome-desktop-service-type)
;; This is the default list of services we
;; are appending to.
%desktop-services))
;; To configure OpenSSH, pass an 'openssh-configuration'
;; record as a second argument to 'service' below.
(service openssh-service-type)
(service cups-service-type)
(set-xorg-configuration
(xorg-configuration (keyboard-layout keyboard-layout)))
)
;; This is the default list of services we
;; are appending to.
;%desktop-services ; already modified above?
))
(bootloader (bootloader-configuration
(bootloader grub-efi-bootloader)
(targets (list "/boot/efi"))
(keyboard-layout keyboard-layout)))
(bootloader grub-efi-bootloader)
(targets (list "/boot/efi"))
(keyboard-layout keyboard-layout)))
(swap-devices (list (swap-space
(target (uuid
"dc1220de-fbc4-4008-86d1-5c9b152cc32c")))))
(target
; (uuid
; "dc1220de-fbc4-4008-86d1-5c9b152cc32c")
(file-system-label "swap")
))))
;; 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 "/boot/efi")
(device (uuid "67E3-17ED"
'fat32))
(type "vfat"))
(file-system
(mount-point "/")
(device (uuid
"39ec24ba-7c1f-49ff-9af6-57ace91cfba5"
'ext4))
(type "ext4")) %base-file-systems)))
(mount-point "/boot/efi")
(device (uuid ;"67E3-17ED"
"FBB5-2030"
'fat32))
(type "vfat"))
(file-system
(mount-point "/")
(device
(file-system-label "guix-root")
;(uuid
; "25b6c953-f92e-47df-baf0-6a80bccba45f"
; 'ext4)
)
(type "ext4")) %base-file-systems)))

7
unikey.txt Normal file
View File

@ -0,0 +1,7 @@
(public-key
(ecc
(curve Ed25519)
(q #E175C2683B75DE142F39AA7EA7CEDF1E939A80F44DBDC35479BFA81EB541F125#)
)
)