diff options
author | Alex Auvolat <alex@adnab.me> | 2023-01-01 19:13:58 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2023-01-01 19:13:58 +0100 |
commit | efb97e598942043fb1439caaae6ea1d5633e198c (patch) | |
tree | 6cc8edf4e243a9117510d9f058663f376b77508b /kusanagi | |
parent | 031e4226b98b8511d8ae9473d79c83922a0e4eba (diff) | |
download | user-config-efb97e598942043fb1439caaae6ea1d5633e198c.tar.gz user-config-efb97e598942043fb1439caaae6ea1d5633e198c.zip |
update home manager config
Diffstat (limited to 'kusanagi')
-rw-r--r-- | kusanagi/nixos/configuration.nix | 5 | ||||
-rw-r--r-- | kusanagi/nixpkgs/Makefile | 2 | ||||
-rw-r--r-- | kusanagi/nixpkgs/home.nix | 12 | ||||
-rw-r--r-- | kusanagi/vim/vimrc | 1 |
4 files changed, 20 insertions, 0 deletions
diff --git a/kusanagi/nixos/configuration.nix b/kusanagi/nixos/configuration.nix index dde620b..dcc1376 100644 --- a/kusanagi/nixos/configuration.nix +++ b/kusanagi/nixos/configuration.nix @@ -89,10 +89,13 @@ tmux git git-lfs + pass + openssl htop powertop iotop jnettop + socat nethogs speedtest-cli ncdu @@ -109,8 +112,10 @@ keepassxc vlc mpv + spotify jellyfin-media-player nheko + steam ]; programs.vim.defaultEditor = true; diff --git a/kusanagi/nixpkgs/Makefile b/kusanagi/nixpkgs/Makefile new file mode 100644 index 0000000..c0eafb3 --- /dev/null +++ b/kusanagi/nixpkgs/Makefile @@ -0,0 +1,2 @@ +all: + home-manager switch -f home.nix diff --git a/kusanagi/nixpkgs/home.nix b/kusanagi/nixpkgs/home.nix index a85703d..9518272 100644 --- a/kusanagi/nixpkgs/home.nix +++ b/kusanagi/nixpkgs/home.nix @@ -5,11 +5,23 @@ programs.bash = { enable = true; }; + programs.keychain = { + enable = true; + enableBashIntegration = true; + keys = [ + "/home/lx/.ssh/id_ed25519" + ]; + }; programs.git.enable = true; programs.git.userName = "Alex Auvolat"; programs.git.userEmail = "alex@adnab.me"; + home.file = { + ".vimrc".source = ../vim/vimrc; + ".config/tmux/tmux.conf".source = ../tmux/tmux.conf; + }; + xsession.enable = true; xdg.enable = true; diff --git a/kusanagi/vim/vimrc b/kusanagi/vim/vimrc index e330e22..a5f8092 100644 --- a/kusanagi/vim/vimrc +++ b/kusanagi/vim/vimrc @@ -95,6 +95,7 @@ au FileType yaml setl sw=2 sts=2 et au FileType css setl sw=4 sts=4 et au FileType lua setl ts=4 sw=4 noet au FileType elixir setl sw=2 sts=2 et +au FileType nix setl sw=2 sts=2 et autocmd FileType tex setlocal spell spelllang=en |