reorg for literate config

main
Steve Ayerhart 2020-08-12 14:06:20 -04:00
parent 7c498a17e5
commit ef759c80c6
6 changed files with 186 additions and 0 deletions

120
guix/guixbook-pro.scm Normal file
View File

@ -0,0 +1,120 @@
(setenv "GUIX_PACKAGE_PATH" "/home/steve/Source/bbbsd")
(use-modules (gnu)
(gnu system nss)
(bbbsd packages linux)
(bbbsd packages firmware))
(use-service-modules desktop xorg avahi dbus sound networking pm sddm ssh earlyloom security-token)
(use-package-modules bootloaders certs suckless wm gnome libusb ssh
xdisorg xorg pulseaudio ssh web curl sqlite nss wget curl
file linux bash)
(define %guixbook-packages
(cons* sway swaylock dmenu
glibc-utf8-locales
git
gvfs
sqlite
nss nss-certs
wget curl file strace binutils
acpi cpupower
bash bash-completion coreutils
%base-packages))
(operating-system
(host-name "guixbook-pro")
(timezone "America/New_York")
(locale "en_US.utf8")
(kernel linux)
(kernel-arguments '("acpi_backlight=vendor" "modprobe.blacklist=pcspkr,snd_pcsp"))
(firmware
(cons*
b43-firmware
linux-firmware-nonfree
%base-firmware))
(bootloader
(bootloader-configuration
(bootloader grub-efi-bootloader)
(target "/boot/efi")))
(file-systems
(cons* (file-system
(device (file-system-label "guixsd"))
(mount-point "/")
(type "ext4"))
(file-system
(device (file-system-label "EFI"))
(mount-point "/boot/efi")
(type "vfat"))
%base-file-systems))
(swap-devices '("/dev/sda3"))
(users
(cons (user-account
(name "steve")
(comment "Steve")
(group "users")
(supplementary-groups '("wheel" "netdev" "input"
"audio" "video" "users"))
(home-directory "/home/steve"))
%base-user-accounts))
(packages %guixbook-packages)
(services
(cons*
(service
sddm-service-type
(sddm-configuration
(display-server "wayland")
(auto-login-user "steve")))
(service gnome-desktop-service-type)
(screen-locker-service swaylock "swaylock")
(simple-service 'mtp udev-service-type (list libmtp))
(service network-manager-service-type)
(service wpa-supplicant-service-type)
(service thermald-service-type)
(service tlp-service-type)
(service upower-service-type
(upower-configuration
(use-percentage-for-policy? #t)
(percentage-low 25)
(percentage-critical 10)
(percentage-action 5)))
(service avahi-service-type)
(udisks-service)
(accountsservice-service)
(service colord-service-type)
(geoclue-service)
(polkit-service)
(elogind-service)
(dbus-service)
(bluetooth-service #:auto-enable? #t)
(service gnome-keyring-service-type)
(service pcscd-service-type)
(service ntp-service-type)
(service openssh-service-type)
(service alsa-service-type)
(service pulseaudio-service-type)
(service earlyloom-service-type)
%base-services))
(name-service-switch %mdns-host-lookup-nss))

23
sway/README.org Normal file
View File

@ -0,0 +1,23 @@
#+TITLE: Sway Config
* Sway
:PROPERTIES:
:header-args: :tangle ~/.config/sway/config :mkdirp true
:END:
** Variables
#+begin_src conf
set $mod Mod4
set $term gnome-terminal
#+end_src
** Window Borders
#+begin_src conf
default_border pixel 0
default_floating_border normal
#+end_src
** Input Configurations
Swap `ctrl` for `caps lock`
#+begin_src conf
input * {
xkb_options ctrl:swapcaps
}
#+end_src

6
swaybar/README.org Normal file
View File

@ -0,0 +1,6 @@
#+TITLE: Swaybar Config
* Swaybar
:PROPERTIES:
:header-args: :tangle ~/.config/swaybar/config :mkdirp true
:END:

37
vimb/README.org Normal file
View File

@ -0,0 +1,37 @@
#+TITLE: Vimb
* Vimb
:PROPERTIES:
:header-args: :tangle ~/.config/vimb/config :mkdirp true
:END:
** General
#+begin_src conf
set history-max-items=30000
set home-page=https://
set webgl=true
set incsearch=true
set offline-cache=true
set smooth-scrolling=true
set stylesheet=true
set cookie-accept=always
nnoremap H <C-O>
nnoremap L <C-I>
#+end_src
** Shortcuts
#+begin_src conf
shortcut-add goog=https://encrypted.google.com/search?q=$0
shortcut-default goog
#+end_src
** Colors
Color scheme: Base16 Eighties (https://github.com/chriskempson/base16)
#+begin_src conf
set completion-css=color:#bbbbbb;background-color:#111111;font:12pt DejaVu Sans Mono;
set completion-hover-css=color:#bbbbbb;background-color:#111111;font:12pt DejaVu Sans Mono;
set completion-selected-css=color:#bbbbbb;background-color:#111111;font:12pt DejaVu Sans Mono;
set input-css=color:#bbbbbb;background-color:#111111;font:12pt DejaVu Sans Mono;
set input-error-css=color:#bbbbbb;background-color:#111111;font:12pt DejaVu Sans Mono;
set status-css=color:#bbbbbb;background-color:#111111;font:12pt DejaVu Sans Mono;
set status-ssl-css=color:#f2f0ec;background-color:#111111;font:12pt DejaVu Sans Mono;
set status-ssl-invalid-css=color:#f2777a;background-color:#111111;font:12pt DejaVu Sans Mono;
#+end_src