mirror of https://codeberg.org/anemofilia/zero
Compare commits
7 Commits
5c7d9c2a16
...
e7af051da4
Author | SHA1 | Date |
---|---|---|
Luis Guilherme Coelho | e7af051da4 | |
Luis Guilherme Coelho | 0e631d55f7 | |
Luis Guilherme Coelho | 102c542180 | |
Luis Guilherme Coelho | 6167d59e70 | |
Luis Guilherme Coelho | f96a4a3808 | |
Luis Guilherme Coelho | 2a12b1f930 | |
Luis Guilherme Coelho | 114595e476 |
|
@ -231,6 +231,9 @@
|
||||||
(!network . ,(format #f "doas herd restart networking ~
|
(!network . ,(format #f "doas herd restart networking ~
|
||||||
&& doas herd restart wpa-supplicant"))
|
&& doas herd restart wpa-supplicant"))
|
||||||
|
|
||||||
|
#|Pass|#
|
||||||
|
(!pass . "pass show % | wl-copy")
|
||||||
|
|
||||||
#|Processes|#
|
#|Processes|#
|
||||||
(tf . "setsid -f % >/dev/null 2>&1 & disown")
|
(tf . "setsid -f % >/dev/null 2>&1 & disown")
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,10 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
escape() {
|
||||||
|
printf "%s" "$1" | sed 's#\#\\#g'
|
||||||
|
}
|
||||||
|
|
||||||
|
notify-send --urgency=normal --expire-time=0 --category=Mail "[$BUFFER] $SENDER" "$(escape "$MESSAGE")"
|
||||||
|
|
||||||
|
mpv ~/.guix-home/profile/share/sounds/freedesktop/stereo/complete.oga
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
read -p 'senpai password: '
|
|
@ -0,0 +1,13 @@
|
||||||
|
address chat.sr.ht
|
||||||
|
nickname anemofilia
|
||||||
|
password-cmd pass show senpai/password
|
||||||
|
highlight anemofilia: anemofilia, radix saayix cargo2guix misako
|
||||||
|
channel "#coreboot" "#fossandcrafts" "#fsf" "#gnu" "#guix" "#guile" "#hurd" "#ibmthinkpad" "#kakoune" "#lisp" "#lobsters" "#scheme" "#spritely" "#savannah" "#whereiseveryone"
|
||||||
|
on-highlight-path /home/radio/.config/senpai/scripts/on-highlight.sh
|
||||||
|
tls true
|
||||||
|
typings false
|
||||||
|
mouse true
|
||||||
|
pane-widths {
|
||||||
|
nicknames 20
|
||||||
|
channels 20
|
||||||
|
}
|
|
@ -23,7 +23,6 @@
|
||||||
#|GNU services|#
|
#|GNU services|#
|
||||||
#|•|# #:use-module (gnu services)
|
#|•|# #:use-module (gnu services)
|
||||||
#|A|# #:use-module (gnu services admin)
|
#|A|# #:use-module (gnu services admin)
|
||||||
#:use-module (gnu services avahi)
|
|
||||||
#|B|# #:use-module ((gnu services base) #:hide (greetd-service-type))
|
#|B|# #:use-module ((gnu services base) #:hide (greetd-service-type))
|
||||||
#|D|# #:use-module (gnu services dbus)
|
#|D|# #:use-module (gnu services dbus)
|
||||||
#:use-module (gnu services desktop)
|
#:use-module (gnu services desktop)
|
||||||
|
@ -122,7 +121,8 @@
|
||||||
|
|
||||||
(kernel linux-libre-6.11)
|
(kernel linux-libre-6.11)
|
||||||
(kernel-arguments
|
(kernel-arguments
|
||||||
(cons* "modprobe.blacklist=usbmouse,usbkbd,pcspkr"
|
(cons* "resume=/swap/swapfile"
|
||||||
|
"modprobe.blacklist=usbmouse,usbkbd,pcspkr"
|
||||||
"thinkpad_acpi.fan_control=1"
|
"thinkpad_acpi.fan_control=1"
|
||||||
(filter (negate ((on disjoin
|
(filter (negate ((on disjoin
|
||||||
(partial partial string-prefix?))
|
(partial partial string-prefix?))
|
||||||
|
@ -132,7 +132,12 @@
|
||||||
(file-systems
|
(file-systems
|
||||||
(append file-system:volumes
|
(append file-system:volumes
|
||||||
file-system:persistent-directories))
|
file-system:persistent-directories))
|
||||||
|
(swap-devices
|
||||||
|
(list (swap-space
|
||||||
|
(target "/swap/swapfile")
|
||||||
|
(dependencies
|
||||||
|
(filter (file-system-mount-point-predicate "/swap")
|
||||||
|
file-systems)))))
|
||||||
(users
|
(users
|
||||||
(cons* user:radio
|
(cons* user:radio
|
||||||
user:root
|
user:root
|
||||||
|
@ -204,16 +209,10 @@
|
||||||
#|IPC services|#
|
#|IPC services|#
|
||||||
(service dbus-root-service-type)
|
(service dbus-root-service-type)
|
||||||
|
|
||||||
#|Avahi service|#
|
|
||||||
(service avahi-service-type
|
|
||||||
(avahi-configuration
|
|
||||||
(wide-area? #t)))
|
|
||||||
|
|
||||||
#|Guix services|#
|
#|Guix services|#
|
||||||
(service guix-service-type
|
(service guix-service-type
|
||||||
(guix-configuration
|
(guix-configuration
|
||||||
(build-accounts 16)
|
(build-accounts 16)
|
||||||
(discover? #t)
|
|
||||||
(authorized-keys
|
(authorized-keys
|
||||||
(cons* substitute-key:genenetwork.pub
|
(cons* substitute-key:genenetwork.pub
|
||||||
substitute-key:inria.pub
|
substitute-key:inria.pub
|
||||||
|
@ -284,6 +283,7 @@
|
||||||
#|Memory management services|#
|
#|Memory management services|#
|
||||||
(service zram-device-service-type
|
(service zram-device-service-type
|
||||||
(zram-device-configuration
|
(zram-device-configuration
|
||||||
|
(priority 100)
|
||||||
(size (* 2 (ram-total)))
|
(size (* 2 (ram-total)))
|
||||||
(compression-algorithm 'lz4)))
|
(compression-algorithm 'lz4)))
|
||||||
|
|
||||||
|
@ -303,7 +303,7 @@
|
||||||
(simple-service 'persistent-files
|
(simple-service 'persistent-files
|
||||||
special-files-service-type
|
special-files-service-type
|
||||||
(map (juxt identity
|
(map (juxt identity
|
||||||
(partial string-append "/gnu/persist/"))
|
(partial string-append "/gnu/persist"))
|
||||||
file-system:persistent-files))
|
file-system:persistent-files))
|
||||||
|
|
||||||
#|Sysctl services|#
|
#|Sysctl services|#
|
||||||
|
|
|
@ -112,6 +112,17 @@
|
||||||
(needed-for-boot? #t)
|
(needed-for-boot? #t)
|
||||||
(options "mode=0755"))
|
(options "mode=0755"))
|
||||||
|
|
||||||
|
#|swap|#
|
||||||
|
(file-system
|
||||||
|
(device partition:guix)
|
||||||
|
(type "btrfs")
|
||||||
|
(mount-point "/swap")
|
||||||
|
(check? #f)
|
||||||
|
(needed-for-boot? #t)
|
||||||
|
(options (format #f "subvol=@swap,~
|
||||||
|
discard=async,~
|
||||||
|
ssd")))
|
||||||
|
|
||||||
#|home|#
|
#|home|#
|
||||||
(file-system
|
(file-system
|
||||||
(device partition:guix)
|
(device partition:guix)
|
||||||
|
@ -139,8 +150,7 @@
|
||||||
(check? #f)
|
(check? #f)
|
||||||
(flags '(no-atime bind-mount))))
|
(flags '(no-atime bind-mount))))
|
||||||
`("/etc/guix"
|
`("/etc/guix"
|
||||||
"/etc/ssh"
|
"/etc/ssh")))
|
||||||
"/etc/wireguard")))
|
|
||||||
|
|
||||||
(define persistent-files
|
(define persistent-files
|
||||||
(list "/etc/machine-id"
|
(list "/etc/machine-id"
|
||||||
|
|
Loading…
Reference in New Issue