summaryrefslogtreecommitdiff
path: root/kusanagi/nixpkgs
diff options
context:
space:
mode:
Diffstat (limited to 'kusanagi/nixpkgs')
-rw-r--r--kusanagi/nixpkgs/Makefile1
-rw-r--r--kusanagi/nixpkgs/home.nix20
2 files changed, 9 insertions, 12 deletions
diff --git a/kusanagi/nixpkgs/Makefile b/kusanagi/nixpkgs/Makefile
index c0eafb3..e99f6c2 100644
--- a/kusanagi/nixpkgs/Makefile
+++ b/kusanagi/nixpkgs/Makefile
@@ -1,2 +1,3 @@
all:
+ nixfmt home.nix
home-manager switch -f home.nix
diff --git a/kusanagi/nixpkgs/home.nix b/kusanagi/nixpkgs/home.nix
index eae4f96..ae8bc5d 100644
--- a/kusanagi/nixpkgs/home.nix
+++ b/kusanagi/nixpkgs/home.nix
@@ -1,34 +1,30 @@
-{ pkgs, ...}: {
+{ pkgs, ... }: {
home.username = "lx";
home.homeDirectory = "/home/lx";
programs.bash = {
enable = true;
+ shellAliases = {
+ ll = "ls -lah";
+ irc = "ssh -t adnab.me /usr/local/bin/irc";
+ };
};
programs.keychain = {
enable = true;
enableBashIntegration = true;
- keys = [
- "/home/lx/.ssh/id_ed25519"
- ];
+ keys = [ "/home/lx/.ssh/id_ed25519" ];
};
programs.vim = {
enable = true;
extraConfig = (builtins.readFile ../vim/vimrc);
- plugins = with pkgs.vimPlugins; [
- vim-nix
- fzf-vim
- nerdtree
- ];
+ plugins = with pkgs.vimPlugins; [ vim-nix fzf-vim nerdtree ];
};
programs.git.enable = true;
programs.git.userName = "Alex Auvolat";
programs.git.userEmail = "alex@adnab.me";
- home.file = {
- ".config/tmux/tmux.conf".source = ../tmux/tmux.conf;
- };
+ home.file = { ".config/tmux/tmux.conf".source = ../tmux/tmux.conf; };
xsession.enable = true;