some misc stuff

This commit is contained in:
randomuser 2024-03-18 18:27:29 -05:00
parent 9dd19eb429
commit d3ebc491c1
9 changed files with 35 additions and 5 deletions

View File

@ -26,7 +26,6 @@ things to do
------------ ------------
- integrate `disko` and `sops-nix` into the setup - integrate `disko` and `sops-nix` into the setup
- switch from gitea to cgit
- establish backup infrastructure for `netbox` - establish backup infrastructure for `netbox`
- move gmail-mail-bridge into mail-sync repo - move gmail-mail-bridge into mail-sync repo
* (perhaps figure out how to produce a flake for it) * (perhaps figure out how to produce a flake for it)

View File

@ -4,6 +4,7 @@
./hardware-configuration.nix ./hardware-configuration.nix
../../modules/ssh-phone-home.nix ../../modules/ssh-phone-home.nix
../../modules/bootstrap.nix ../../modules/bootstrap.nix
../../modules/hosts.nix
../../modules/common.nix ../../modules/common.nix
]; ];

View File

@ -5,6 +5,7 @@
./hardware-configuration.nix ./hardware-configuration.nix
./nvidia.nix ./nvidia.nix
../../modules/ssh-phone-home.nix ../../modules/ssh-phone-home.nix
../../modules/hosts.nix
../../modules/bootstrap.nix ../../modules/bootstrap.nix
../../modules/common.nix ../../modules/common.nix
../../modules/x11.nix ../../modules/x11.nix
@ -24,6 +25,7 @@
vscodium vscodium
thunderbird thunderbird
libreoffice libreoffice
texliveMedium
]; ];
services.hardware.bolt.enable = true; # thunderbolt support services.hardware.bolt.enable = true; # thunderbolt support

View File

@ -4,6 +4,7 @@
imports = [ imports = [
./hardware-configuration.nix ./hardware-configuration.nix
../../modules/bootstrap.nix ../../modules/bootstrap.nix
../../modules/hosts.nix
../../modules/common.nix ../../modules/common.nix
../../modules/x11.nix ../../modules/x11.nix
../../modules/discord.nix ../../modules/discord.nix

View File

@ -7,6 +7,7 @@
../../modules/bootstrap.nix ../../modules/bootstrap.nix
../../modules/common.nix ../../modules/common.nix
../../modules/x11.nix ../../modules/x11.nix
../../modules/hosts.nix
../../modules/tlp.nix ../../modules/tlp.nix
../../modules/media.nix ../../modules/media.nix
../../modules/anki.nix ../../modules/anki.nix

View File

@ -146,8 +146,8 @@ local packer = require('packer').startup(function(use)
require('packer').sync() require('packer').sync()
end end
end); end);
-- }}} -- -- }}}
nnoremap('<leader>ff', function() nnoremap('<leader>ff', function()
require('telescope.builtin').find_files() require('telescope.builtin').find_files()
end) end)
@ -171,6 +171,12 @@ luasnip.add_snippets("tex", {
luasnip.text_node({ "", "\\end{" }), ls_extras.rep(1), luasnip.text_node("}") luasnip.text_node({ "", "\\end{" }), ls_extras.rep(1), luasnip.text_node("}")
}) })
}) })
-- }}}
return packer luasnip.add_snippets("tex", {
luasnip.snippet("desc", {
luasnip.text_node({ "\\begin{description}", "\t\\item "}),
luasnip.insert_node(1),
luasnip.text_node({ "", "\\end{description}" }),
})
})
-- }}}

9
home/nws/default.nix Normal file
View File

@ -0,0 +1,9 @@
{ lib, config, pkgs, home, ... }:
{
home.file = {
".config/nws" = {
text = ''KOHX'';
};
};
}

View File

@ -18,6 +18,7 @@
./neomutt ./neomutt
./msmtp ./msmtp
./rbw ./rbw
./nws
./x11-progs.nix ./x11-progs.nix
./tty.nix ./tty.nix

10
modules/hosts.nix Normal file
View File

@ -0,0 +1,10 @@
{ lib, config, pkgs, inputs, ...}:
{
networking.hosts = {
"192.168.1.120" = [ "x230t" ];
"192.168.1.52" = [ "mlg" ];
"192.168.1.100" = [ "mainsail" ];
};
}