diff --git a/flake.nix b/flake.nix index 6cf8bc2..8eb8de0 100644 --- a/flake.nix +++ b/flake.nix @@ -30,6 +30,7 @@ home-manager.users.${user} = { imports = [ ./home.nix + ./vim.nix ./wallpaper.nix ./picom.nix ./i3.nix diff --git a/home.nix b/home.nix index 8ad7a40..60b8a9c 100644 --- a/home.nix +++ b/home.nix @@ -27,12 +27,12 @@ in # Command line utilities wget neofetch - vim ranger trash-cli # aliased to rm in .bashrc # GUI applications firefox + discord ]; file = { diff --git a/vim.nix b/vim.nix new file mode 100644 index 0000000..9c553de --- /dev/null +++ b/vim.nix @@ -0,0 +1,15 @@ +{ pkgs, ... }: + +{ + programs.vim = { + enable = true; + # Temporary configuration for editing Nix files + extraConfig = '' + set syntax + set autoindent + set expandtab + set tabstop=2 + set shiftwidth=2; + ''; + }; +}