diff options
author | Alex Auvolat <alex@adnab.me> | 2023-01-10 18:53:01 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2023-01-10 18:53:01 +0100 |
commit | 0fe1e2445f805a9558cb19540966e72a02fc5326 (patch) | |
tree | e092c3a6680158fa9e7fe0c0973da2889cd9979d /kusanagi | |
parent | ff9335738b44ae431963dbcd8ef398ceec76545c (diff) | |
download | user-config-0fe1e2445f805a9558cb19540966e72a02fc5326.tar.gz user-config-0fe1e2445f805a9558cb19540966e72a02fc5326.zip |
reformat home manager config and add aliases
Diffstat (limited to 'kusanagi')
-rw-r--r-- | kusanagi/nixpkgs/Makefile | 1 | ||||
-rw-r--r-- | kusanagi/nixpkgs/home.nix | 20 |
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; |