Compare commits
2 commits
bc44678dac
...
d8ed4fea1c
| Author | SHA1 | Date | |
|---|---|---|---|
| d8ed4fea1c | |||
| 91b5421848 |
46 changed files with 51 additions and 58 deletions
15
home/desktop-full.nix
Normal file
15
home/desktop-full.nix
Normal file
|
|
@ -0,0 +1,15 @@
|
||||||
|
{ ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
./desktop-slim.nix
|
||||||
|
|
||||||
|
./modules/messaging.nix
|
||||||
|
./modules/r.nix
|
||||||
|
./modules/tex.nix
|
||||||
|
./modules/mail
|
||||||
|
./modules/office-gui.nix
|
||||||
|
./modules/office-cli.nix
|
||||||
|
./modules/aichat.nix
|
||||||
|
];
|
||||||
|
}
|
||||||
|
|
@ -4,14 +4,13 @@
|
||||||
imports = [
|
imports = [
|
||||||
./minimal.nix
|
./minimal.nix
|
||||||
|
|
||||||
../devel.nix
|
./modules/devel.nix
|
||||||
../firefox.nix
|
./modules/firefox.nix
|
||||||
../fonts.nix
|
./modules/fonts.nix
|
||||||
# ../foot.nix
|
./modules/media.nix
|
||||||
../media.nix
|
./modules/user-dirs.nix
|
||||||
../user-dirs.nix
|
./modules/gpg.nix
|
||||||
../gpg.nix
|
./modules/password-store.nix
|
||||||
../password-store.nix
|
|
||||||
];
|
];
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
|
|
@ -5,6 +5,14 @@
|
||||||
|
|
||||||
home.homeDirectory = "/home/${config.home.username}";
|
home.homeDirectory = "/home/${config.home.username}";
|
||||||
|
|
||||||
|
imports = [
|
||||||
|
./modules/fish.nix
|
||||||
|
./modules/vifm.nix
|
||||||
|
./modules/nvim
|
||||||
|
./modules/tmux.nix
|
||||||
|
./modules/git.nix
|
||||||
|
];
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
dust
|
dust
|
||||||
eza
|
eza
|
||||||
|
|
@ -31,30 +39,14 @@
|
||||||
ymd = "date +'%Y-%m-%d'";
|
ymd = "date +'%Y-%m-%d'";
|
||||||
};
|
};
|
||||||
|
|
||||||
imports = [
|
|
||||||
../fish.nix
|
|
||||||
../vifm.nix
|
|
||||||
../nvim
|
|
||||||
../tmux.nix
|
|
||||||
];
|
|
||||||
|
|
||||||
programs.nix-index = {
|
programs.nix-index = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableFishIntegration = true;
|
enableFishIntegration = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.git = {
|
|
||||||
enable = true;
|
|
||||||
settings = {
|
|
||||||
pull.rebase = true;
|
|
||||||
extraConfig.init.defaultBranch = "main";
|
|
||||||
};
|
|
||||||
lfs.enable = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
programs.bottom = {
|
programs.bottom = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings.styles.theme = "default-light";
|
# settings.styles.theme = "default-light";
|
||||||
};
|
};
|
||||||
|
|
||||||
home.stateVersion = "22.11";
|
home.stateVersion = "22.11";
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
{ config, pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
12
home/modules/git.nix
Normal file
12
home/modules/git.nix
Normal file
|
|
@ -0,0 +1,12 @@
|
||||||
|
{...}:
|
||||||
|
|
||||||
|
{
|
||||||
|
programs.git = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
pull.rebase = true;
|
||||||
|
extraConfig.init.defaultBranch = "main";
|
||||||
|
};
|
||||||
|
lfs.enable = true;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -5,8 +5,7 @@ let
|
||||||
makeConfig = accountName:
|
makeConfig = accountName:
|
||||||
''
|
''
|
||||||
unset reverse_name
|
unset reverse_name
|
||||||
unset crypt_auto_pgp
|
unset smime_is_default
|
||||||
unset crypt_auto_smime
|
|
||||||
set my_account='${ accountName }'
|
set my_account='${ accountName }'
|
||||||
macro index,pager / "<vfolder-from-query>tag:${ accountName } "
|
macro index,pager / "<vfolder-from-query>tag:${ accountName } "
|
||||||
unalternates *
|
unalternates *
|
||||||
|
|
@ -88,7 +87,7 @@ in
|
||||||
extraConfig = makeConfig name + ''
|
extraConfig = makeConfig name + ''
|
||||||
color status blue default
|
color status blue default
|
||||||
alternates ^tstraube@(em|rz)?.uni-frankfurt.de$
|
alternates ^tstraube@(em|rz)?.uni-frankfurt.de$
|
||||||
set crypt_auto_smime
|
set smime_is_default
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
@ -108,7 +107,6 @@ in
|
||||||
color status green default
|
color status green default
|
||||||
alternates @t9e.me$ @ktiu.net$ ^(tillkowski|till.straube)@gmail.com$
|
alternates @t9e.me$ @ktiu.net$ ^(tillkowski|till.straube)@gmail.com$
|
||||||
set reverse_name
|
set reverse_name
|
||||||
set crypt_auto_pgp
|
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
msmtp.extraConfig.port = "587";
|
msmtp.extraConfig.port = "587";
|
||||||
|
|
@ -128,7 +126,6 @@ in
|
||||||
neomutt = {
|
neomutt = {
|
||||||
extraConfig = makeConfig name + ''
|
extraConfig = makeConfig name + ''
|
||||||
color status red default
|
color status red default
|
||||||
set crypt_auto_pgp
|
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
passwordCommand = "pass ksh/systemli";
|
passwordCommand = "pass ksh/systemli";
|
||||||
|
|
@ -176,7 +173,7 @@ in
|
||||||
settings = {
|
settings = {
|
||||||
abort_noattach = "ask-yes";
|
abort_noattach = "ask-yes";
|
||||||
abort_noattach_regex = "\"(attach|enclosed|anbei|anhängen|angehängt|anhang|anhänge|hängt an)\"";
|
abort_noattach_regex = "\"(attach|enclosed|anbei|anhängen|angehängt|anhang|anhänge|hängt an)\"";
|
||||||
auto_edit = "yes";
|
auto_edit = "no";
|
||||||
beep = "no";
|
beep = "no";
|
||||||
confirm_append = "no";
|
confirm_append = "no";
|
||||||
crypt_auto_sign = "yes";
|
crypt_auto_sign = "yes";
|
||||||
|
|
@ -220,7 +217,7 @@ in
|
||||||
{ key = "k"; map = [ "pager" ]; action = "previous-entry"; }
|
{ key = "k"; map = [ "pager" ]; action = "previous-entry"; }
|
||||||
{ key = "j"; map = [ "pager" ]; action = "next-entry"; }
|
{ key = "j"; map = [ "pager" ]; action = "next-entry"; }
|
||||||
{ key = "<return>"; map = [ "index" ]; action = "display-message"; }
|
{ key = "<return>"; map = [ "index" ]; action = "display-message"; }
|
||||||
{ key = "<space>"; map = "index"; action = "entire-thread"; }
|
{ key = "<space>"; map = [ "index" ]; action = "entire-thread"; }
|
||||||
{ key = "gf"; map = [ "index" "pager" ]; action = "change-folder"; }
|
{ key = "gf"; map = [ "index" "pager" ]; action = "change-folder"; }
|
||||||
{ key = "<Tab>"; map = [ "editor" ]; action = "complete-query"; }
|
{ key = "<Tab>"; map = [ "editor" ]; action = "complete-query"; }
|
||||||
{ key = "P"; map = [ "compose" ]; action = "pgp-menu"; }
|
{ key = "P"; map = [ "compose" ]; action = "pgp-menu"; }
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
{
|
{
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
signal-desktop
|
signal-desktop
|
||||||
telegram-desktop
|
# telegram-desktop
|
||||||
simplex-chat-desktop
|
simplex-chat-desktop
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
@ -5,6 +5,7 @@
|
||||||
astro-language-server
|
astro-language-server
|
||||||
marksman
|
marksman
|
||||||
nil
|
nil
|
||||||
|
tree-sitter
|
||||||
typescript-language-server
|
typescript-language-server
|
||||||
vim-language-server
|
vim-language-server
|
||||||
];
|
];
|
||||||
|
|
@ -107,6 +108,7 @@
|
||||||
vim.lsp.enable('marksman')
|
vim.lsp.enable('marksman')
|
||||||
vim.lsp.enable('nil_ls')
|
vim.lsp.enable('nil_ls')
|
||||||
vim.lsp.enable('r_language_server')
|
vim.lsp.enable('r_language_server')
|
||||||
|
vim.lsp.enable('rust-analyzer')
|
||||||
vim.lsp.enable('texlab')
|
vim.lsp.enable('texlab')
|
||||||
vim.lsp.enable('ts_ls')
|
vim.lsp.enable('ts_ls')
|
||||||
vim.lsp.enable('vimls')
|
vim.lsp.enable('vimls')
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
prefix = ${HOME}/.npm-packages
|
|
||||||
|
|
@ -1,15 +0,0 @@
|
||||||
{ ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
imports = [
|
|
||||||
./desktop-slim.nix
|
|
||||||
|
|
||||||
../messaging.nix
|
|
||||||
../r.nix
|
|
||||||
../tex.nix
|
|
||||||
../mail
|
|
||||||
../office-gui.nix
|
|
||||||
../office-cli.nix
|
|
||||||
../aichat.nix
|
|
||||||
];
|
|
||||||
}
|
|
||||||
|
|
@ -1,8 +0,0 @@
|
||||||
{ ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
imports = [
|
|
||||||
./minimal.nix
|
|
||||||
./devel.nix
|
|
||||||
];
|
|
||||||
}
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue