More changes

work
Matthew Ess 2021-05-05 20:17:42 -04:00
parent 73960667b6
commit 35955c7c17
4 changed files with 10 additions and 30 deletions

View File

@ -36,6 +36,12 @@
alias nixops=~/dev/nixops/result/bin/nixops
alias sys="sudo systemctl"
alias rebuild="sudo nixos-rebuild switch"
alias rebuildd="sudo nixos-rebuild switch; and systemctl restart display-manager"
alias upgrade="sudo rm -rf /root/.cache/nix/tarballs; and sudo nix-channel --update; and sudo nixos-rebuild switch --upgrade"
kitty + complete setup fish | source
'';
}

View File

@ -1,4 +1,4 @@
{ config, pkgs, ... }:
{ config, pkgs, lib, ... }:
{
@ -7,7 +7,8 @@
home-manager.useUserPackages = true;
home-manager.useGlobalPkgs = true;
home-manager.users.mat = import ../users/mat-hm-laptop.nix { inherit pkgs; };
home-manager.users.mat =
import ../users/mat-hm-laptop.nix { inherit lib pkgs; };
# enable power management
powerManagement.enable = true;

View File

@ -1,4 +1,4 @@
{ pkgs, ... }:
{ pkgs, lib, ... }:
let statusCmd = "i3status-rs ~/.config/i3status.toml";
in {
home = {

View File

@ -53,12 +53,6 @@ in {
alias ag=rg
alias grep=rg
alias sys="sudo systemctl"
alias rebuild="sudo nixos-rebuild switch"
alias rebuildd="sudo nixos-rebuild switch; and systemctl restart display-manager"
alias upgrade="sudo rm -rf /root/.cache/nix/tarballs; and sudo nix-channel --update; and sudo nixos-rebuild switch --upgrade"
bind \cr 'fzy_select_history (commandline -b)'
bind -M insert \cr 'fzy_select_history (commandline -b)'
@ -88,27 +82,6 @@ in {
highlightBaseName = true;
};
kakoune = {
enable = false;
config = {
numberLines = {
enable = true;
highlightCursor = true;
relative = true;
};
ui = {
enableMouse = true;
assistant = "cat";
};
wrapLines = {
enable = true;
indent = true;
marker = "";
word = true;
};
};
};
keychain = {
enable = true;
extraFlags = [ "--quiet" "--nogui" ];