Initial commit

This commit is contained in:
Skylar Hill 2023-11-11 14:13:11 -06:00
commit 2319da4ec7
7 changed files with 221 additions and 0 deletions

18
channels.scm Normal file
View File

@ -0,0 +1,18 @@
(list (channel
(name 'guix)
(url "https://git.savannah.gnu.org/git/guix.git")
(branch "master")
(introduction
(make-channel-introduction
"9edb3f66fd807b096b48283debdcddccfea34bad"
(openpgp-fingerprint
"BBB0 2DDF 2CEA F6A8 0D1D E643 A2A0 6DF2 A33A 54FA"))))
(channel
(name 'nonguix)
(url "https://gitlab.com/nonguix/nonguix")
(branch "master")
(introduction
(make-channel-introduction
"897c1a470da759236cc11798f4e0a5f7d4d59fbc"
(openpgp-fingerprint
"2A39 3FFF 68F4 EF7A 3D29 12AF 6F51 20A0 22FB B2D5")))))

8
home/.bash_profile Normal file
View File

@ -0,0 +1,8 @@
# Merge search-paths from multiple profiles, the order matters.
# eval "$(guix package --search-paths \
# -p $HOME/.config/guix/current \
# -p $HOME/.guix-profile \
# -p /run/current-system/profile)"
# Prepend setuid programs.
export PATH=/run/setuid-programs:$PATH

24
home/.bashrc Normal file
View File

@ -0,0 +1,24 @@
# Bash initialization for interactive non-login shells and
# for remote shells (info "(bash) Bash Startup Files").
# Export 'SHELL' to child processes. Programs such as 'screen'
# honor it and otherwise use /bin/sh.
export SHELL
if [[ $- != *i* ]]
then
# We are being invoked from a non-interactive shell. If this
# is an SSH session (as in "ssh host command"), source
# /etc/profile so we get PATH and other essential variables.
[[ -n "$SSH_CLIENT" ]] && source /etc/profile
# Don't do anything else.
return
fi
# Source the system-wide file.
[ -f /etc/bashrc ] && source /etc/bashrc
alias ls='ls -p --color=auto'
alias ll='ls -l'
alias grep='grep --color=auto'

78
home/sanderson-home.scm Normal file
View File

@ -0,0 +1,78 @@
(use-modules (gnu home)
(gnu packages)
(gnu services)
(guix gexp)
(gnu home services)
(gnu home services shells)
(gnu home services shepherd)
(gnu services audio))
(home-environment
;; Below is the list of packages that will show up in your
;; Home profile, under ~/.guix-home/profile.
(packages (specifications->packages (list "alsa-utils"
"deluge"
"emacs-aggressive-indent"
"fish"
"font-awesome"
"font-hack"
"guile-goblins"
"guile-hall"
"guile-ncurses"
"haunt"
"lagrange"
"mpd"
"mpd-mpc"
"mpv"
"musescore"
"ncmpcpp"
"neomutt"
"picom"
"python"
"skribilo"
"steam"
"waybar"
"xterm"
"emacs-magit"
"curl"
"emacs"
"emacs-company"
"emacs-geiser"
"emacs-geiser-guile"
"emacs-ivy"
"emacs-paredit"
"emacs-sly"
"emacs-swiper"
"emacs-which-key"
"emacs-yasnippet"
"firefox-wayland"
"font-google-noto-emoji"
"fossil"
"gcc-toolchain"
"git"
"gnome-keyring"
"gnupg"
"guile"
"guile-ts"
"kitty"
"make"
"nheko"
"password-store"
"pinentry-qt"
"rofi-wayland"
"sbcl"
"sway"
"syncthing"
"tree-sitter-scheme"
"zoom")))
;; Below is the list of Home services. To search for available
;; services, run 'guix home search KEYWORD' in a terminal.
(services
(list (service home-bash-service-type
(home-bash-configuration
(aliases '(("grep" . "grep --color=auto") ("ll" . "ls -l")
("ls" . "ls -p --color=auto")))
(bashrc (list (local-file "./.bashrc" "bashrc")))
(bash-profile (list (local-file "./.bash_profile"
"bash_profile"))))))))

3
hosts Normal file
View File

@ -0,0 +1,3 @@
192.168.254.167 skylarhill.me
192.168.254.167 code code.skylarhill.me
192.168.254.167 vtt vtt.skylarhill.me

84
sanderson.scm Normal file
View File

@ -0,0 +1,84 @@
;; This is an operating system configuration generated
;; by the graphical installer.
;;
;; Once installation is complete, you can learn and modify
;; this file to tweak the system configuration, and pass it
;; to the 'guix system reconfigure' command to effect your
;; changes.
;; Indicate which modules to import to access the variables
;; used in this configuration.
(use-modules (gnu)
(nongnu packages linux)
(gnu packages shells))
(use-service-modules cups desktop networking ssh xorg audio)
(operating-system
(kernel linux)
(firmware (list linux-firmware))
(locale "en_US.utf8")
(timezone "America/Chicago")
(keyboard-layout (keyboard-layout "us" "colemak"))
(host-name "sanderson")
(hosts-file (local-file "hosts"))
;; The list of user accounts ('root' is implicit).
(users (cons* (user-account
(name "skylar")
(shell (file-append fish "/bin/fish"))
(comment "Skylar")
(group "users")
(home-directory "/home/skylar")
(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
;; for packages and 'guix install PACKAGE' to install a package.
(packages (append (list (specification->package "nss-certs"))
%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
;; To configure OpenSSH, pass an 'openssh-configuration'
;; record as a second argument to 'service' below.
(service openssh-service-type)
(service tor-service-type)
(service cups-service-type))
;; This is the default list of services we
;; are appending to.
(modify-services
%desktop-services
(delete gdm-service-type)
(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 "./signing-key.pub"))
%default-authorized-guix-keys)))))))
(bootloader (bootloader-configuration
(bootloader grub-bootloader)
(targets (list "/dev/sda"))
(keyboard-layout keyboard-layout)))
(swap-devices (list (swap-space
(target (uuid
"bbfae3a1-8471-4fa6-9cd5-d9c32059820d")))))
;; 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 "/")
(device (uuid
"de8a0bfb-3a0c-4e53-8358-4bb31351bd7d"
'ext4))
(type "ext4")) %base-file-systems)))

6
signing-key.pub Normal file
View File

@ -0,0 +1,6 @@
(public-key
(ecc
(curve Ed25519)
(q #C1FD53E5D4CE971933EC50C9F307AE2171A2D3B52C804642A7A35F84F3A4EA98#)
)
)