Compare commits
No commits in common. "8bcf56fdec63be3ed9a3d6c8fd36ffdfc456f247" and "13769429f6db871d8d8d64391584e280860a3fc7" have entirely different histories.
8bcf56fdec
...
13769429f6
5 changed files with 3 additions and 10 deletions
|
|
@ -1,6 +1,5 @@
|
|||
#!/usr/bin/env nix-shell
|
||||
#! nix-shell -i bash -p bitwarden-cli git gnupg jq nix
|
||||
# shellcheck shell=bash
|
||||
|
||||
# Command failure is script failure
|
||||
set -e
|
||||
|
|
@ -11,6 +10,7 @@ BOLD_GREEN="\e[0;1;32m"
|
|||
|
||||
RESET="\e[0m"
|
||||
|
||||
DEST="$HOME/.config/nixpkgs"
|
||||
BW_SESSION=""
|
||||
|
||||
warn() {
|
||||
|
|
|
|||
|
|
@ -1,7 +1,4 @@
|
|||
# shellcheck shell=bash
|
||||
|
||||
# Style the completion a bit
|
||||
# shellcheck disable=2086,2296
|
||||
zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS}
|
||||
# Show a prompt on selection
|
||||
zstyle ':completion:*' select-prompt '%SScrolling active: current selection at %p%s'
|
||||
|
|
@ -24,7 +21,6 @@ zstyle ':completion:*:*:(^rm):*:*files' ignored-patterns '*?.o' '*?.c~' '*?.old'
|
|||
|
||||
# command for process lists, the local web server details and host completion
|
||||
# on processes completion complete all user processes
|
||||
# shellcheck disable=2016
|
||||
zstyle ':completion:*:processes' command 'ps -au$USER'
|
||||
|
||||
# Completion formatting and messages
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
# shellcheck shell=bash
|
||||
# shellcheck disable=2154
|
||||
|
||||
# Fix Ctrl+u killing from the cursor instead of the whole line
|
||||
bindkey '^u' backward-kill-line
|
||||
|
|
|
|||
|
|
@ -1,5 +1,3 @@
|
|||
# shellcheck shell=bash
|
||||
|
||||
# Show an error when a globbing expansion doesn't find any match
|
||||
setopt nomatch
|
||||
# List on ambiguous completion and Insert first match immediately
|
||||
|
|
|
|||
|
|
@ -30,7 +30,6 @@ swapon /dev/sda2
|
|||
|
||||
apt install sudo
|
||||
useradd -m -G sudo setupuser
|
||||
# shellcheck disable=2117
|
||||
su setupuser
|
||||
|
||||
cat << EOF
|
||||
|
|
@ -38,7 +37,7 @@ cat << EOF
|
|||
curl -L https://nixos.org/nix/install | sh
|
||||
. $HOME/.nix-profile/etc/profile.d/nix.sh
|
||||
nix-channel --add https://nixos.org/channels/nixos-20.09 nixpkgs
|
||||
sudo "$(which nixos-generate-config)" --root /mnt
|
||||
sudo `which nixos-generate-config` --root /mnt
|
||||
|
||||
# Change uuids to labels
|
||||
vim /mnt/etc/nixos/hardware-configuration.nix
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue