Remove unnecessary files
This commit is contained in:
parent
783df35d45
commit
1149941c2a
|
@ -110,54 +110,50 @@
|
|||
(gnu home services shells)
|
||||
(gnu home services gnupg))
|
||||
|
||||
(load "./emacs-packages.scm")
|
||||
|
||||
(home-environment
|
||||
;; Below is the list of packages that will show up in your
|
||||
;; Home profile, under ~/.guix-home/profile.
|
||||
(packages (append
|
||||
(specifications->packages
|
||||
(list "bat"
|
||||
"blinkenlights"
|
||||
"calibre"
|
||||
"cups"
|
||||
"emacs"
|
||||
"firefox"
|
||||
"font-fira-code"
|
||||
"font-google-noto"
|
||||
"font-google-noto-emoji"
|
||||
"font-google-noto-serif-cjk"
|
||||
"font-microsoft-web-core-fonts"
|
||||
"font-sony-misc"
|
||||
"gerbil"
|
||||
"git"
|
||||
"gnupg"
|
||||
"gnutls"
|
||||
"hicolor-icon-theme"
|
||||
"hplip"
|
||||
"kitty"
|
||||
"kmonad"
|
||||
"kwallet"
|
||||
"nheko"
|
||||
"offlineimap3"
|
||||
"okular"
|
||||
"opentaxsolver"
|
||||
"mu"
|
||||
"pamixer"
|
||||
"password-store"
|
||||
"pavucontrol"
|
||||
"python"
|
||||
"rofi"
|
||||
"rofi-pass"
|
||||
"sbcl-stumpwm-pamixer"
|
||||
"smtpmail"
|
||||
"steam"
|
||||
"stumpwm"
|
||||
"swi-prolog"
|
||||
"unzip"
|
||||
"xclip"
|
||||
"zoom"))
|
||||
emacs-packages))
|
||||
(packages (specifications->packages
|
||||
(list "bat"
|
||||
"blinkenlights"
|
||||
"calibre"
|
||||
"cups"
|
||||
"emacs"
|
||||
"firefox"
|
||||
"font-fira-code"
|
||||
"font-google-noto"
|
||||
"font-google-noto-emoji"
|
||||
"font-google-noto-serif-cjk"
|
||||
"font-microsoft-web-core-fonts"
|
||||
"font-sony-misc"
|
||||
"gerbil"
|
||||
"git"
|
||||
"gnupg"
|
||||
"gnutls"
|
||||
"hicolor-icon-theme"
|
||||
"hplip"
|
||||
"kitty"
|
||||
"kmonad"
|
||||
"kwallet"
|
||||
"nheko"
|
||||
"offlineimap3"
|
||||
"okular"
|
||||
"opentaxsolver"
|
||||
"mu"
|
||||
"pamixer"
|
||||
"password-store"
|
||||
"pavucontrol"
|
||||
"python"
|
||||
"rofi"
|
||||
"rofi-pass"
|
||||
"sbcl-stumpwm-pamixer"
|
||||
"smtpmail"
|
||||
"steam"
|
||||
"stumpwm"
|
||||
"swi-prolog"
|
||||
"unzip"
|
||||
"xclip"
|
||||
"zoom")))
|
||||
|
||||
;; Below is the list of Home services. To search for available
|
||||
;; services, run 'guix home search KEYWORD' in a terminal.
|
||||
|
|
165
Sanderson.org~
Normal file
165
Sanderson.org~
Normal file
|
@ -0,0 +1,165 @@
|
|||
* Sanderson config
|
||||
|
||||
** Main system
|
||||
|
||||
#+begin_src scheme :tangle sanderson.scm
|
||||
(use-modules (gnu)
|
||||
(nongnu packages linux)
|
||||
(nongnu system linux-initrd))
|
||||
(use-service-modules cups desktop networking ssh syncthing xorg)
|
||||
(operating-system
|
||||
(kernel linux)
|
||||
(initrd microcode-initrd)
|
||||
(firmware (list linux-firmware))
|
||||
(locale "en_US.utf8")
|
||||
(timezone "America/Chicago")
|
||||
(keyboard-layout (keyboard-layout "us"))
|
||||
(host-name "sanderson")
|
||||
|
||||
;; The list of user accounts ('root' is implicit).
|
||||
(users (cons* (user-account
|
||||
(name "skylar")
|
||||
(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 (specifications->packages (list "nss-certs"
|
||||
"stumpwm"))
|
||||
%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 plasma-desktop-service-type)
|
||||
|
||||
;; 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)))
|
||||
(service syncthing-service-type
|
||||
(syncthing-configuration
|
||||
(user "skylar")
|
||||
(home "/home/skylar"))))
|
||||
|
||||
;; This is the default list of services we
|
||||
;; are appending to.
|
||||
(modify-services %desktop-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 "./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
|
||||
"646006cb-84a4-46ea-a03c-78a343b2fd07")))))
|
||||
|
||||
;; 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
|
||||
"38be76dc-b7d8-4433-bab6-04c6c7f62733"
|
||||
'ext4))
|
||||
(type "ext4")) %base-file-systems)))
|
||||
#+end_src
|
||||
|
||||
** Home configuration
|
||||
|
||||
#+begin_src scheme :tangle home/sanderson.scm
|
||||
(use-modules (gnu home)
|
||||
(gnu home services)
|
||||
(gnu packages)
|
||||
(gnu packages emacs-xyz)
|
||||
(gnu packages gnupg)
|
||||
(gnu packages scheme)
|
||||
(gnu packages text-editors)
|
||||
(gnu services)
|
||||
(guix build-system emacs)
|
||||
(guix build-system font)
|
||||
(guix download)
|
||||
(guix gexp)
|
||||
(guix packages)
|
||||
(gnu home services shells)
|
||||
(gnu home services gnupg))
|
||||
|
||||
(load "./emacs-packages.scm")
|
||||
|
||||
(home-environment
|
||||
;; Below is the list of packages that will show up in your
|
||||
;; Home profile, under ~/.guix-home/profile.
|
||||
(packages (append
|
||||
(specifications->packages
|
||||
(list "bat"
|
||||
"calibre"
|
||||
"emacs"
|
||||
"firefox"
|
||||
"font-fira-code"
|
||||
"font-google-noto"
|
||||
"font-google-noto-emoji"
|
||||
"gerbil"
|
||||
"git"
|
||||
"gnupg"
|
||||
"gnutls"
|
||||
"kitty"
|
||||
"kmonad"
|
||||
"kwallet"
|
||||
"nheko"
|
||||
"offlineimap3"
|
||||
"okular"
|
||||
"mu"
|
||||
"pamixer"
|
||||
"password-store"
|
||||
"pavucontrol"
|
||||
"python"
|
||||
"rofi"
|
||||
"rofi-pass"
|
||||
"sbcl-stumpwm-pamixer"
|
||||
"smtpmail"
|
||||
"steam"
|
||||
"stumpwm"
|
||||
"swi-prolog"
|
||||
"xclip"
|
||||
"zoom"))
|
||||
emacs-packages))
|
||||
|
||||
;; 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")
|
||||
("ip" . "ip -color=auto")
|
||||
("ll" . "ls -l")
|
||||
("ls" . "ls -p --color=auto")))
|
||||
(bashrc (list (local-file
|
||||
"/home/skylar/.config/guix/home/.bashrc"
|
||||
"bashrc")))
|
||||
(bash-profile (list (local-file
|
||||
"/home/skylar/.config/guix/home/.bash_profile"
|
||||
"bash_profile")))))
|
||||
(service home-gpg-agent-service-type
|
||||
(home-gpg-agent-configuration
|
||||
(pinentry-program
|
||||
(file-append pinentry "/bin/pinentry"))
|
||||
(default-cache-ttl 86400)
|
||||
(max-cache-ttl 86400)
|
||||
(ssh-support? #t)))
|
||||
(service home-files-service-type
|
||||
`((".emacs.d/init.el" ,(local-file "init.el"))
|
||||
(".offlineimaprc" ,(local-file "offlineimaprc")))))))
|
||||
#+end_src
|
|
@ -1,74 +0,0 @@
|
|||
(define-public emacs-parinfer-rust-mode
|
||||
(package
|
||||
(name "emacs-parinfer-rust-mode")
|
||||
(version "0.8.6")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (string-append
|
||||
"https://stable.melpa.org/packages/parinfer-rust-mode-" version
|
||||
".tar"))
|
||||
(sha256
|
||||
(base32 "0pg0xrwi6w5xbpm85hbpapj0x12s0npyvfg1x0bvwghmcsn9y4xr"))))
|
||||
(build-system emacs-build-system)
|
||||
(home-page "https://github.com/justinbarclay/parinfer-rust-mode")
|
||||
(synopsis "An interface for the parinfer-rust library")
|
||||
(propagated-inputs (list parinfer-rust))
|
||||
(description
|
||||
"An intuitive editor mode to make paren management fun and easy without
|
||||
sacrificing power. How it works: Parinfer users the state of the buffer
|
||||
combined with the current mode (paren, indent, or smart) to either balance an
|
||||
s-expression's indentation, paren, or to do both. Let's go over some light
|
||||
examples to get a sense of how parinfer works. I am going to use `|` to
|
||||
indicate the cursor and `_` to indicate the a space that's been added either by
|
||||
the user or parinfer. Paren Mode gives you full control of parens, while
|
||||
Parinfer corrects indentation. For example, if we start off with the cursor
|
||||
before `(foo` ``` |(foo bar) ``` and the user inserts a space ``` _|(foo bar)
|
||||
``` then parinfer will maintain, infer, that a space is needed in front of
|
||||
`bar)` to maintain indentation ``` |(foo _bar) ``` Indent Mode gives you full
|
||||
control of indentation, while Parinfer corrects or inserts close-parens where
|
||||
appropriate. Now the cursor is before `4` ``` (foo [1 2 3] |4 5 6) ``` and the
|
||||
user inserts a space ``` (foo [1 2 3] _|4 5 6) ``` then parinfer will adjust the
|
||||
`]` and move it down to the follow line to enclose the 4 5 6 ``` (foo [1 2 3 |4
|
||||
5 6]) ``` Smart Mode is like Indent Mode, but it tries to preserve the structure
|
||||
too. This roughly translates to it treating everything before the cursor as
|
||||
indent-mode and every after the cursor as paren-mode. The cursor is before `(+`
|
||||
``` (let [x (fn [])] |(+ 1 2) x) ``` and the user add several spaces to the sexp
|
||||
``` (let [x (fn [])] ________|(+ 1 2) x) ``` Smart-Mode will move a ) and a ] to
|
||||
enclose the addition function call and move the 2 to maintain structure ``` (let
|
||||
[x (fn [] |(+ 1 _________2))] x) ``` To find out more about how parinfer works
|
||||
go to: https://shaunlebron.github.io/parinfer/ `parinfer-rust-mode` provides an
|
||||
interface between the `parinfer-rust` library and Emacs. As such it's primary
|
||||
role is to capture meta information about the buffer and transfer it to the
|
||||
parinfer-rust API. As such parinfer-rust-mode requires that your version of
|
||||
Emacs supports modules.")
|
||||
(license #f)))
|
||||
|
||||
(define emacs-packages (list
|
||||
emacs-all-the-icons
|
||||
emacs-all-the-icons-dired
|
||||
emacs-company
|
||||
emacs-company-box
|
||||
emacs-company-quickhelp
|
||||
emacs-counsel
|
||||
emacs-crux
|
||||
emacs-dracula-theme
|
||||
emacs-geiser
|
||||
emacs-geiser-guile
|
||||
emacs-gerbil-mode
|
||||
emacs-guix
|
||||
emacs-ivy
|
||||
emacs-ivy-rich
|
||||
emacs-kbd
|
||||
emacs-ligature
|
||||
emacs-magit
|
||||
emacs-meow
|
||||
emacs-org-roam
|
||||
emacs-org-superstar
|
||||
emacs-parinfer-rust-mode
|
||||
;; emacs-polymode
|
||||
;; emacs-polymode-org
|
||||
emacs-swiper
|
||||
emacs-telephone-line
|
||||
emacs-which-key
|
||||
emacs-yasnippet))
|
|
@ -14,54 +14,50 @@
|
|||
(gnu home services shells)
|
||||
(gnu home services gnupg))
|
||||
|
||||
(load "./emacs-packages.scm")
|
||||
|
||||
(home-environment
|
||||
;; Below is the list of packages that will show up in your
|
||||
;; Home profile, under ~/.guix-home/profile.
|
||||
(packages (append
|
||||
(specifications->packages
|
||||
(list "bat"
|
||||
"blinkenlights"
|
||||
"calibre"
|
||||
"cups"
|
||||
"emacs"
|
||||
"firefox"
|
||||
"font-fira-code"
|
||||
"font-google-noto"
|
||||
"font-google-noto-emoji"
|
||||
"font-google-noto-serif-cjk"
|
||||
"font-microsoft-web-core-fonts"
|
||||
"font-sony-misc"
|
||||
"gerbil"
|
||||
"git"
|
||||
"gnupg"
|
||||
"gnutls"
|
||||
"hicolor-icon-theme"
|
||||
"hplip"
|
||||
"kitty"
|
||||
"kmonad"
|
||||
"kwallet"
|
||||
"nheko"
|
||||
"offlineimap3"
|
||||
"okular"
|
||||
"opentaxsolver"
|
||||
"mu"
|
||||
"pamixer"
|
||||
"password-store"
|
||||
"pavucontrol"
|
||||
"python"
|
||||
"rofi"
|
||||
"rofi-pass"
|
||||
"sbcl-stumpwm-pamixer"
|
||||
"smtpmail"
|
||||
"steam"
|
||||
"stumpwm"
|
||||
"swi-prolog"
|
||||
"unzip"
|
||||
"xclip"
|
||||
"zoom"))
|
||||
emacs-packages))
|
||||
(packages (specifications->packages
|
||||
(list "bat"
|
||||
"blinkenlights"
|
||||
"calibre"
|
||||
"cups"
|
||||
"emacs"
|
||||
"firefox"
|
||||
"font-fira-code"
|
||||
"font-google-noto"
|
||||
"font-google-noto-emoji"
|
||||
"font-google-noto-serif-cjk"
|
||||
"font-microsoft-web-core-fonts"
|
||||
"font-sony-misc"
|
||||
"gerbil"
|
||||
"git"
|
||||
"gnupg"
|
||||
"gnutls"
|
||||
"hicolor-icon-theme"
|
||||
"hplip"
|
||||
"kitty"
|
||||
"kmonad"
|
||||
"kwallet"
|
||||
"nheko"
|
||||
"offlineimap3"
|
||||
"okular"
|
||||
"opentaxsolver"
|
||||
"mu"
|
||||
"pamixer"
|
||||
"password-store"
|
||||
"pavucontrol"
|
||||
"python"
|
||||
"rofi"
|
||||
"rofi-pass"
|
||||
"sbcl-stumpwm-pamixer"
|
||||
"smtpmail"
|
||||
"steam"
|
||||
"stumpwm"
|
||||
"swi-prolog"
|
||||
"unzip"
|
||||
"xclip"
|
||||
"zoom")))
|
||||
|
||||
;; Below is the list of Home services. To search for available
|
||||
;; services, run 'guix home search KEYWORD' in a terminal.
|
||||
|
|
Loading…
Reference in a new issue