Compare commits

...

No commits in common. "fb3e9a47983c49892183f67d2dc2c7e5355485c5" and "7528eddfa50be3afd345a456bc4e4bf7862f581d" have entirely different histories.

3 changed files with 25 additions and 60 deletions

View file

@ -1,29 +0,0 @@
[user]
email = root@ivnglkv.me
name = Ivan Golikov
[push]
default = current
[diff]
external = difft
tool = difftastic
[difftool]
prompt = false
[difftool "difftastic"]
cmd = difft "$LOCAL" "$REMOTE"
[pager]
difftool = true
[credential]
helper = cache --timeout=600
[core]
editor = nvim
autocrlf = input
[init]
defaultBranch = main

View file

@ -17,27 +17,31 @@
# The home.packages option allows you to install Nix packages into your # The home.packages option allows you to install Nix packages into your
# environment. # environment.
home.packages = with pkgs; [ home.packages = [
obsidian pkgs.obsidian
kitty pkgs.kitty
git pkgs.git
darktable pkgs.darktable
gparted pkgs.gparted
telegram-desktop pkgs.telegram-desktop
keepassxc pkgs.keepassxc
libreoffice pkgs.libreoffice
ungoogled-chromium pkgs.ungoogled-chromium
difftastic pkgs.difftastic
uv pkgs.uv
lazygit pkgs.lazygit
zoxide pkgs.zoxide
qmk pkgs.qmk
dos2unix pkgs.dos2unix
gnumake pkgs.gnumake
ripgrep pkgs.ripgrep
github-copilot-cli pkgs.github-copilot-cli
nerd-fonts.iosevka-term pkgs.nerd-fonts.iosevka-term
fzf pkgs.fzf
# # Adds the 'hello' command to your environment. It prints a friendly
# # "Hello, world!" when run.
# pkgs.hello
# # It is sometimes useful to fine-tune packages, for example, by applying # # It is sometimes useful to fine-tune packages, for example, by applying
# # overrides. You can do that directly here, just don't forget the # # overrides. You can do that directly here, just don't forget the
# # parentheses. Maybe you want to install Nerd Fonts with a limited number of # # parentheses. Maybe you want to install Nerd Fonts with a limited number of
@ -59,7 +63,6 @@
# # the Nix store. Activating the configuration will then make '~/.screenrc' a # # the Nix store. Activating the configuration will then make '~/.screenrc' a
# # symlink to the Nix store copy. # # symlink to the Nix store copy.
# ".screenrc".source = dotfiles/screenrc; # ".screenrc".source = dotfiles/screenrc;
".gitconfig".source = dotfiles/.gitconfig;
# # You can also set the file content immediately. # # You can also set the file content immediately.
# ".gradle/gradle.properties".text = '' # ".gradle/gradle.properties".text = ''

View file

@ -36,12 +36,3 @@ require'nvim-treesitter.configs'.setup {
}, },
} }
vim.opt.runtimepath:append(vim.fn.stdpath "data" .. "site") vim.opt.runtimepath:append(vim.fn.stdpath "data" .. "site")
-- Load last session when started without arguments
vim.api.nvim_create_autocmd("VimEnter", {
callback = function()
if vim.fn.argc() == 0 then
require("persistence").load()
end
end,
})