Merge changes from work
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@ -0,0 +1 @@
|
||||
plugins/
|
||||
|
||||
@ -51,6 +51,10 @@
|
||||
#home.shellAliases = {
|
||||
# "ll" = "ls -la";
|
||||
#};
|
||||
# home.shellAliases = {
|
||||
# "t" = "tmuxp";
|
||||
# "tl" = "tmuxp load";
|
||||
# };
|
||||
|
||||
news.display = "silent";
|
||||
|
||||
|
||||
@ -60,7 +60,7 @@
|
||||
./user/task.nix
|
||||
];
|
||||
};
|
||||
"work" = home-manager.lib.homeManagerConfiguration {
|
||||
"pan" = home-manager.lib.homeManagerConfiguration {
|
||||
inherit pkgs;
|
||||
|
||||
modules = [
|
||||
|
||||
@ -24,5 +24,10 @@
|
||||
push.default = "matching";
|
||||
init.defaultBranch = "main";
|
||||
};
|
||||
|
||||
ignores = [
|
||||
".direnv/"
|
||||
".envrc"
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
@ -1,8 +1,8 @@
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
home.username = "moustachioed";
|
||||
home.homeDirectory = "/Users/moustachioed";
|
||||
home.username = "pan";
|
||||
home.homeDirectory = "/home/pan";
|
||||
|
||||
home.stateVersion = "23.11"; # Please read the comment before changing.
|
||||
|
||||
@ -10,4 +10,15 @@
|
||||
userName = "Martin Pander";
|
||||
userEmail = "martin.pander@knowtion.de";
|
||||
};
|
||||
|
||||
home.packages = with pkgs; [
|
||||
yaml-language-server
|
||||
marksman
|
||||
dockerfile-language-server-nodejs
|
||||
];
|
||||
|
||||
programs.zsh.profileExtra = ''
|
||||
source $HOME/.profile
|
||||
'';
|
||||
|
||||
}
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
{ config, pkgs, ... }:
|
||||
{ config, pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
programs.zsh = {
|
||||
@ -63,12 +63,26 @@
|
||||
enableAliases = true;
|
||||
};
|
||||
|
||||
programs.zoxide = {
|
||||
enable = true;
|
||||
enableZshIntegration = true;
|
||||
options = [
|
||||
"--cmd cd"
|
||||
];
|
||||
};
|
||||
|
||||
programs.bat.enable = true;
|
||||
programs.ripgrep.enable = true;
|
||||
|
||||
home.packages = with pkgs; [
|
||||
fd
|
||||
du-dust
|
||||
glow
|
||||
#nerdfonts
|
||||
];
|
||||
|
||||
home.sessionVariables = lib.mkMerge [ {
|
||||
BAT_THEME = "Coldark-Cold";
|
||||
}
|
||||
];
|
||||
}
|
||||
|
||||
@ -1,16 +1,42 @@
|
||||
{config, pkgs, ...}:
|
||||
{config, pkgs, lib, ...}:
|
||||
|
||||
{
|
||||
programs.taskwarrior = {
|
||||
enable = true;
|
||||
colorTheme = "light-256";
|
||||
package = pkgs.taskwarrior3;
|
||||
config = {
|
||||
weekstart = "monday";
|
||||
|
||||
uda.priority.values = "H,M,,L";
|
||||
urgency.uda.priority.L.coefficient = -0.5;
|
||||
urgency.user.tag.deferred.coefficient = -15.0;
|
||||
urgency.user.tag.cust.coefficient = 5.0;
|
||||
|
||||
context.today.read = "-deferred and (prio:H or +next)";
|
||||
context.today.write = "prio:H or +next";
|
||||
context.deferred.read = "+deferred";
|
||||
context.deferred.write = "+deferred";
|
||||
context.customer.read = "+cust";
|
||||
context.customer.write = "+cust";
|
||||
context.low_energy.read = "+low";
|
||||
context.low_energy.write = "+low";
|
||||
|
||||
uda.taskwarrior-tui.task-report.show-info = false;
|
||||
uda.taskwarrior-tui.selection.reverse = "yes";
|
||||
};
|
||||
};
|
||||
|
||||
home.packages = with pkgs; [
|
||||
taskwarrior-tui
|
||||
timewarrior
|
||||
];
|
||||
|
||||
home.shellAliases = {
|
||||
t = "task";
|
||||
tt = "taskwarrior-tui";
|
||||
};
|
||||
home.shellAliases = lib.mkMerge [ {
|
||||
t = "task";
|
||||
tt = "taskwarrior-tui";
|
||||
tw = "timew";
|
||||
tws = "timew summary :ids";
|
||||
}
|
||||
];
|
||||
}
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
{ config, pkgs, ... }:
|
||||
{ config, pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
programs.tmux = {
|
||||
@ -9,7 +9,6 @@
|
||||
escapeTime = 0;
|
||||
terminal = "screen-256color";
|
||||
tmuxp.enable = true;
|
||||
# newSession = true;
|
||||
extraConfig = ''
|
||||
set -g display-time 1500
|
||||
|
||||
@ -58,4 +57,10 @@
|
||||
set -g pane-border-style "bg=#eeeeee,fg=#999999"
|
||||
'';
|
||||
};
|
||||
|
||||
home.shellAliases = lib.mkMerge [ {
|
||||
"o" = "tmuxp";
|
||||
"ol" = "tmuxp load";
|
||||
}
|
||||
];
|
||||
}
|
||||
|
||||
@ -39,8 +39,6 @@ vim.opt.scrolloff = 8
|
||||
vim.opt.background = 'light'
|
||||
vim.opt.wrap = true
|
||||
vim.opt.showbreak = '..'
|
||||
-- vim.opt.clipboard = vim.opt.clipboard + 'unnamedplus'
|
||||
-- vim.opt.clipboard = 'unnamedplus'
|
||||
vim.opt.errorbells = false
|
||||
vim.opt.visualbell = false
|
||||
vim.opt.title = true
|
||||
@ -49,10 +47,19 @@ vim.opt.syntax = 'on'
|
||||
vim.opt.encoding = 'utf-8'
|
||||
vim.opt.completeopt = 'menu,menuone,noselect'
|
||||
|
||||
|
||||
----------------------------
|
||||
-------- COMMANDS --------
|
||||
-------- CLIPBOARD ---------
|
||||
----------------------------
|
||||
--
|
||||
if vim.fn.has("wsl") == 1 then
|
||||
vim.opt.clipboard = vim.opt.clipboard + 'unnamedplus'
|
||||
end
|
||||
|
||||
|
||||
----------------------------
|
||||
-------- COMMANDS ----------
|
||||
----------------------------
|
||||
|
||||
vim.cmd('filetype plugin indent on')
|
||||
|
||||
-- vim.cmd('colorscheme lucius')
|
||||
@ -60,7 +67,7 @@ vim.cmd('filetype plugin indent on')
|
||||
|
||||
|
||||
----------------------------
|
||||
-------- AUTOGROUPs --------
|
||||
-------- AUTOGROUPS --------
|
||||
----------------------------
|
||||
|
||||
vim.api.nvim_create_augroup('VimIntern', { clear = true })
|
||||
|
||||
@ -41,7 +41,6 @@ cmp.setup({
|
||||
{ name = 'buffer', keyword_length = 2 },
|
||||
}),
|
||||
|
||||
formatting = {
|
||||
formatting = {
|
||||
format = lspkind.cmp_format({
|
||||
-- mode = "symbol_text",
|
||||
|
||||
Reference in New Issue
Block a user