This commit is contained in:
Till 2023-11-23 18:00:17 +01:00
parent 5a227bfc45
commit c956dfb659
12 changed files with 59 additions and 35 deletions

View file

@ -25,6 +25,7 @@
./system/gnome.nix ./system/gnome.nix
./system/btrbk.nix ./system/btrbk.nix
./system/hardware-nova.nix ./system/hardware-nova.nix
#firewall
]; ];
}; };
romulus = nixpkgs.lib.nixosSystem { romulus = nixpkgs.lib.nixosSystem {

View file

@ -30,7 +30,7 @@
src = builtins.fetchGit { src = builtins.fetchGit {
url = "ssh://git@ktiu.net/home/git/goethR/"; url = "ssh://git@ktiu.net/home/git/goethR/";
ref = "main"; ref = "main";
rev = "e21aa96dfd410105822ead33b26d9d92bdd0053c"; rev = "e953fdb9814c02858017e623519c0a4c59ff583d";
}; };
propagatedBuildInputs = []; propagatedBuildInputs = [];
nativeBuildInputs = []; nativeBuildInputs = [];

View file

@ -18,6 +18,9 @@ url=https://tribuenengespraech.podigee.io/feed/mp3
url=https://www.wett-broetchen.de/feed/mp3 url=https://www.wett-broetchen.de/feed/mp3
id3album=Wettbrötchen id3album=Wettbrötchen
[efpodcast]
url=https://www.eintracht-podcast.de/feed/mp3
[*] [*]
id3contenttype=Podcast id3contenttype=Podcast
spool=/home/till/.local/share/podcasts spool=/home/till/.local/share/podcasts

View file

@ -76,7 +76,7 @@
evolution evolution
freemind freemind
# publishing # text publishing
hunspell hunspell
hunspellDicts.de_DE hunspellDicts.de_DE
hunspellDicts.th_TH hunspellDicts.th_TH
@ -88,25 +88,26 @@
zathura zathura
# graphics # graphics
inkscape drawing
gimp gimp
godot_4 godot_4
inkscape
scrcpy scrcpy
drawing
# web # web
qutebrowser
nyxt
chromium chromium
mullvad-vpn mullvad-vpn
nyxt
qutebrowser
# media # media
bookworm bookworm
vlc
rhythmbox
freetube
yt-dlp
castget castget
freetube
qbittorrent
rhythmbox
vlc
yt-dlp
# development # development
bundler bundler
@ -161,6 +162,16 @@
}; };
}; };
programs.vscode = {
enable = true;
package = pkgs.vscodium;
extensions = with pkgs.vscode-extensions; [
# dracula-theme.theme-dracula
# vscodevim.vim
# yzhang.markdown-all-in-one
];
};
programs.taskwarrior = { programs.taskwarrior = {
enable = true; enable = true;
dataLocation = "${config.xdg.dataHome}/taskwarrior/tasks"; dataLocation = "${config.xdg.dataHome}/taskwarrior/tasks";
@ -174,5 +185,7 @@
verbose=affected,context,edit,label,header,new-id,project,special,sync,recur verbose=affected,context,edit,label,header,new-id,project,special,sync,recur
"; ";
}; };
programs.obs-studio.enable = true;
} }

View file

@ -15,6 +15,7 @@
pullds = "ssh tstraube@login.server.uni-frankfurt.de \"cd ds23 && git pull\""; pullds = "ssh tstraube@login.server.uni-frankfurt.de \"cd ds23 && git pull\"";
pullmla = "ssh tstraube@login.server.uni-frankfurt.de \"cd malta23 && git pull\""; pullmla = "ssh tstraube@login.server.uni-frankfurt.de \"cd malta23 && git pull\"";
pulldkg = "ssh till@geocom.uni-frankfurt.de \"cd /var/www/dkg_lp && git pull\""; pulldkg = "ssh till@geocom.uni-frankfurt.de \"cd /var/www/dkg_lp && git pull\"";
pullgrid = "ssh till@geocom.uni-frankfurt.de \"cd /var/www/grid && git pull\"";
pullsneak = "ssh till@geocom.uni-frankfurt.de \"cd /var/www/dkg_lp_prev && git pull\""; pullsneak = "ssh till@geocom.uni-frankfurt.de \"cd /var/www/dkg_lp_prev && git pull\"";
pullkhole = "ssh root@ktiu.net \"cd /var/www/karaoke && git pull\""; pullkhole = "ssh root@ktiu.net \"cd /var/www/karaoke && git pull\"";
buildfk = "curl -X POST -d '{}' https://api.netlify.com/build_hooks/61669ddfeaa3cccc44e752ea"; buildfk = "curl -X POST -d '{}' https://api.netlify.com/build_hooks/61669ddfeaa3cccc44e752ea";
@ -22,6 +23,7 @@
showc = "chromium-browser -app=https://user.uni-frankfurt.de/~tstraube/c/"; showc = "chromium-browser -app=https://user.uni-frankfurt.de/~tstraube/c/";
castget = "castget -pvC ~/.config/castget/castget.conf"; castget = "castget -pvC ~/.config/castget/castget.conf";
castsync = "mv -v ~/.local/share/podcasts/* /run/media/till/CLIP\\ JAM/Podcasts/"; castsync = "mv -v ~/.local/share/podcasts/* /run/media/till/CLIP\\ JAM/Podcasts/";
univpn = "secret-tool lookup server uni-frankfurt.de account tstraube | sudo openconnect --config=/home/till/.config/openconnect/config --passwd-on-stdin";
}; };
shellAbbrs = { shellAbbrs = {
openconnect = "openconnect --config=/home/till/.config/openconnect/config"; openconnect = "openconnect --config=/home/till/.config/openconnect/config";

View file

@ -4,7 +4,7 @@ let maplocalleader="\\"
set colorcolumn=+1 set colorcolumn=+1
set expandtab set expandtab
set ignorecase set ignorecase
set iskeyword+=ä,Ä,ö,Ö,ü,Ü,ß set iskeyword+=-,ä,Ä,ö,Ö,ü,Ü,ß
set linebreak set linebreak
set list listchars=tab:»\ ,trail,nbsp:~ set list listchars=tab:»\ ,trail,nbsp:~
set number set number

View file

@ -16,7 +16,6 @@
}; };
}; };
in [ in [
# todo: SNIPPETS pandoc, completion, lsp
{ {
plugin = woof; plugin = woof;
config = '' config = ''

View file

@ -1,22 +1,22 @@
lua <<EOF lua <<EOF
local cmp = require'cmp' local cmp = require('cmp')
cmp.setup({ cmp.setup({
snippet = { snippet = {
expand = function(args) expand = function(args)
vim.fn["UltiSnips#Anon"](args.body) -- For `ultisnips` users. vim.fn["UltiSnips#Anon"](args.body)
end, end,
}, },
window = { window = {
-- completion = cmp.config.window.bordered(), documentation = cmp.config.window.bordered(),
-- documentation = cmp.config.window.bordered(), completion = cmp.config.window.bordered(),
},
mapping = {
['<C-p>'] = cmp.mapping.select_prev_item(),
['<C-n>'] = cmp.mapping.select_next_item(),
['<C-g>'] = cmp.mapping.abort(),
['<Tab>'] = cmp.mapping.confirm({ select = true }),
['<Cr>'] = cmp.mapping.confirm({ select = false }),
}, },
mapping = cmp.mapping.preset.insert({
['<C-b>'] = cmp.mapping.scroll_docs(-4),
['<C-f>'] = cmp.mapping.scroll_docs(4),
['<C-Space>'] = cmp.mapping.complete(),
['<C-e>'] = cmp.mapping.abort(),
['<CR>'] = cmp.mapping.confirm({ select = true }), -- Accept currently selected item. Set `select` to `false` to only confirm explicitly selected items.
}),
sources = cmp.config.sources({ sources = cmp.config.sources({
{ name = 'nvim_lsp' }, { name = 'nvim_lsp' },
{ name = 'ultisnips' }, { name = 'ultisnips' },
@ -41,7 +41,6 @@ lua <<EOF
} }
}) })
-- Use cmdline & path source for ':' (if you enabled `native_menu`, this won't work anymore).
cmp.setup.cmdline(':', { cmp.setup.cmdline(':', {
mapping = cmp.mapping.preset.cmdline(), mapping = cmp.mapping.preset.cmdline(),
sources = cmp.config.sources({ sources = cmp.config.sources({
@ -51,14 +50,17 @@ lua <<EOF
}) })
}) })
-- -- Set up lspconfig. local on_attach = function(_, _)
-- local capabilities = require('cmp_nvim_lsp').default_capabilities() vim.keymap.set('n', '<leader>rn', vim.lsp.buf.rename, {})
-- -- Replace <YOUR_LSP_SERVER> with each lsp server you've enabled. vim.keymap.set('n', '<leader>ca', vim.lsp.buf.code_action, {})
-- require('lspconfig')['typescript'].setup { vim.keymap.set('n', 'gd', vim.lsp.buf.definition, {})
-- capabilities = capabilities vim.keymap.set('n', 'gi', vim.lsp.buf.implementation, {})
-- } vim.keymap.set('n', 'gr', vim.lsp.buf.references, {})
vim.keymap.set('n', 'K', vim.lsp.buf.hover, {})
end
local nvim_lsp = require('lspconfig') local nvim_lsp = require('lspconfig')
local capabilities = require('cmp_nvim_lsp').default_capabilities()
local servers = { "r_language_server", "tsserver" } local servers = { "r_language_server", "tsserver" }
for _, lsp in ipairs(servers) do for _, lsp in ipairs(servers) do
nvim_lsp[lsp].setup { nvim_lsp[lsp].setup {

0
home/nvim/test.md Normal file
View file

View file

@ -11,8 +11,8 @@
snapshot_preserve_min = "4d"; snapshot_preserve_min = "4d";
snapshot_dir = "/btrbk_snapshots"; snapshot_dir = "/btrbk_snapshots";
target = "/run/media/till/backup/${config.networking.hostName}"; target = "/run/media/till/backup/${config.networking.hostName}";
target_preserve_min = "2h"; target_preserve_min = "latest";
target_preserve = "40d 52w *m"; target_preserve = "10d 10w *m";
}; };
}; };
}; };

View file

@ -20,6 +20,11 @@
}; };
time.timeZone = "Europe/Berlin"; time.timeZone = "Europe/Berlin";
i18n.extraLocaleSettings = {
LC_TIME = "de_DE.UTF-8";
LC_CTYPE = "de_DE.UTF-8";
LC_PAPER = "de_DE.UTF-8";
};
users.users.till = { users.users.till = {
isNormalUser = true; isNormalUser = true;
@ -63,6 +68,7 @@
foot foot
htop htop
killall killall
pciutils
virt-manager virt-manager
]; ];

View file

@ -6,10 +6,8 @@
services.xserver.desktopManager.gnome.enable = true; services.xserver.desktopManager.gnome.enable = true;
services.gnome.gnome-browser-connector.enable = true; services.gnome.gnome-browser-connector.enable = true;
environment.gnome.excludePackages = (with pkgs; [ environment.gnome.excludePackages = (with pkgs; [
# gnome-photos
gnome-tour gnome-tour
]) ++ (with pkgs.gnome; [ ]) ++ (with pkgs.gnome; [
epiphany
geary geary
yelp yelp
gnome-contacts gnome-contacts