Skip to content

sballert/nixos-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NixOs Configuration

Installation

Iso

sudo dd bs=4M if=path/to/input.iso of=/dev/sda status=progress

Download Config

curl  -L -O https://github.com/sballert/nixos-config/archive/refs/heads/master.zip

unzip master.zip

Install

sudo nixos-config-master/bin/install

shutdown -r now

After Install

Login is as root:

passwd <username>
# enter password

Login as <user>:

curl  -L -O https://github.com/sballert/nixos-config/archive/refs/heads/master.zip
unzip master.zip
mv nixos-config-master nixos-config
sudo rm -rf /etc/nixos/configuration.nix
sudo ln -s /home/pherseus/nixos-config/machines/andromeda.nix /etc/nixos/configuration.nix

sudo nix-channel --add https://nixos.org/channels/nixos-unstable nixos
nix-util u

Download of4chooV from Dropbox.

mkdir container
veracrypt -t --mount <container_file> ./container

cd ./containter/gpg
gpg --import public.key
gpg --import subkeys
# DONT IMPORT privkey.asc
# This is the primary privat key and only needed for editing the keys

cd
sudo umount container
rm -rf container

chown -R $(whoami) ~/.gnupg/
chmod 600 ~/.gnupg/*
chmod 700 ~/.gnupg

git clone [email protected]:sballert/pass.git .password-store

Manuell Updates

packages/pkgs/node-packages

Execute the ./generate.sh script.

Emacs Configuration

Space Map

KeyCommand
bBuffer
wWindow
fFind
/Search
jJump
pProjectile
oOrg
gMagit
cFlycheck
dDAP
yYasnippet
PPassword Store
mMore
BBrain
hHelp
Qsave-buffers-kill-terminal
!shell-command
:eval-expression
;pp-eval-expression
&async-shell-command
uuniversal-argument
tansi-term-default
rcounsel-recentf
xcounsel-M-x

Buffer (b)

KeyCommand
b<SPC>projectile-switch-to-buffer
bssave-buffer
bdkill-current-buffer
bDkill-buffer
bbivy-switch-buffer
bBivy-switch-buffer-other-window

Window (w)

KeyCommand
whevil-window-left
wjevil-window-down
wkevil-window-up
wlevil-window-right
wodelete-other-windows
wsevil-window-split
wvevil-window-vsplit
wqevil-quit
wHevil-window-decrease-with
wLevil-window-increase-width
wJevil-window-decrease-height
wKevil-window-increase-height

Find (f)

KeyCommand
f<SPC>projectile-find-file
fffind-file
fdfind-dired
fgfind-grep-dired
fsfind-file-as-sudo
flfind-library

Search (/)

KeyCommandNote
/gGgrepgrep, command
/gllgrepgrep, autocompletion
/gfgrep-findfind exec grep, command
/grrgrepfind exec grep, autocompletion
/ggcounsel-git-grep
/sswiper
/gpprojectile-grep

Jump (j)

KeyCommand
j<SPC>xref-find-definition
jrxref-find-references
joxref-find-definitions-other-window
jbxref-pop-marker-stack
jaxref-find-apropos

Projectile (p)

KeyCommand
p<SPC>projectile-find-file
pgprojectile-grep
prprojectile-replace
ppprojectile-command-map
pcprojectile-compile-project
p!projectile-run-shell-command-in-root
p&projectile-run-async-shell-command-in-root
pspprojectile-switch-project
psoprojectile-switch-open-project
pbprojectile-switch-to-buffer

Org (o)

KeyCommand
otorgg-timer-set-timer

Magit (g)

KeyCommand
g<SPC>magit-status
gbmagit-blame
gfmagit-log-buffer-file

Flycheck (c)

KeyCommand
c<SPC>flycheck-list-errors
clflycheck-list-errors
ccflycheck-buffer
cCflycheck-clear
cpflycheck-previous-error
cnflycheckt-next-error
cnflycheck-next-error

DAP (d)

KeyCommand
d<SPC>dap-debug
dddap-debug
dDdap-debug-edit-template
dhdap-hydra/body
dbtdap-breakpoint-toggle
dbadap-breakpoint-add
dbddap-breakpoint-delete
dbcdap-breakpoint-condition
dbhdap-breakpoint-hit-condition
dbldap-breakpoint-log-message
dwsdap-ui-session
dwldap-ui-locals
dwedap-ui-expressions
dwbdap-ui-breakpoints
dwrdap-ui-repl
dsddap-delete-session
dsDdap-delete-all-sessions
dqdap-disconnect

Yasnippet (y)

KeyCommand
yhyas-describe-tables
ynyas-new-snippet
yvyas-visit-snippet-file
yryas-reload-all

Passowrd Store (P)

KeyCommand
Pdpassword-store-remove
Pepassword-store-edit
Pgpassword-store-get
Pipassword-store-insert
Prpassword-store-rename]
Pupassword-store-url
PCpassword-store-clear
PGpassword-store-generate
PIpassword-store-init
Pcpassword-store-copy

More (m)

KeyCommand
mmevil-show-marks
maaggressive-indent-mode
ml<SPC>dictcc
mlpdictcc-at-point
mddired-jump
mDdired-jump-other-window

Brain (B)

KeyCommand
B<SPC>org-roam-node-find
Biorg-roam-node-insert
Bborg-roam-buffer-toggle
Baorg-roam-alias-add

Help (h)

KeyCommand
hmdescribe-mode
hfdescribe-function
hvdescribe-variable
hkdescribe-key
haapropos
hcapropos-command
hdapropos-documentation
hlapropos-library
huapropos-user-options
hVapropos-value
hiinfo
hyyas-describe-tables

Org-Mode Map

KeyCommand
oorg-open-at-point
Oorg-mark-ring-goto
borg-babel-demarcate-block
torg-babel-tangle
eorg-export-dispatch
lorg-insert-link
Lorg-toggle-link-display
iorg-id-get-create
nborg-narrow-to-block
neorg-narrow-to-element
nsorg-narrow-to-subtree
nwwiden
d<SPC>org-drill
dtorg-drill-tree
ddorg-drill-directory
drorg-drill-resume
rorg-ref-insert-link
Norg-noter

PDF-View-Mode Map

From Evil Collection

KeyCommand
opdf-outline
jevil-collection-pdf-view-next-line-or-next-page
nevil-collection-pdf-view-previous-line-or-previous-page
C-fpdf-view-scroll-up-or-next-page
C-bpdf-view-scroll-down-or-previous-page
]]pdf-view-next-page-command
[[pdf-view-previous-page-command
C-jpdf-view-next-page-command
C-kpdf-view-previous-page-command
gjpdf-view-next-page-command
gkpdf-view-previous-page-command

Bibtex-Mode Map

From Bibtex-Mode

KeyCommand
C-c C-qbibtex-fill-entry

Prog-Mode Map

KeyCommand
aalign-regexp

Snippet-Mode Map

KeyCommand
lyas-load-snippet-buffer
tyas-tryout-snippet
cyas-load-snippet-buffer-and-close

Elisp-Mode Map

KeyCommand
ppp-eval-last-sexp
beval-buffer
dtoggle-debug-on-error
fdebug-on-entry
Fcancel-debug-on-entry
leval-last-exep
eeval-defun

Haskell-Mode Map

KeyCommand
ihaskell-navigate-imports
=,=haskell-mode-format-imports
shaskell-sort-imports
rrun-haskell

Js-Mode Map

KeyCommand
rnodejs-repl
cenodejs-repl-send-last-expression
cjnodejs-repl-send-line
crnodejs-repl-send-region
ccnodejs-repl-send-buffer
clnodejs-send-load-file
cznodejs-repl-switch-to-repl

JSON-Mode Map

KeyCommand
fevil-json-pretty-print

Nix-Mode Map

KeyCommand
fbnixpkgs-fmt-buffer
frhelp:nixpkgs-fmt-region

License

Copyright (C) 2019-2021 sballert

This program is free software: you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation, either version 3 of the License, or (at your option) any later
version.

This program is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
details.

You should have received a copy of the GNU General Public License along with
this program.  If not, see <http://www.gnu.org/licenses/>