Compare commits

..

3 Commits

Author SHA1 Message Date
b9f26e154a
feat(hypr): add .nvim.lua file
Some checks failed
Check Formatting of Files / Check-Formatting (push) Failing after 1m6s
2024-06-28 01:34:55 -05:00
6c7bc41f37
feat(host/orion): enable NIXOS_OZONE_WL env var 2024-06-28 01:05:54 -05:00
317edd6f12
feat(nvim): add commentstring for kdl filetypes 2024-06-28 01:04:59 -05:00
3 changed files with 14 additions and 0 deletions

View File

@ -1,5 +1,7 @@
{ pkgs, ... }:
{
# Allow Chromium & Electron apps run natively in wayland
environment.sessionVariables.NIXOS_OZONE_WL = "1";
services.displayManager = {
autoLogin = {
enable = true;

View File

@ -0,0 +1,11 @@
local cur_dir = vim.fn.fnamemodify(debug.getinfo(1, "S").source:sub(2), ":p:h")
vim.filetype.add({
extension = {
conf = function(path)
if path:sub(1, cur_dir:len()) == cur_dir then
return "hyprlang"
end
end,
},
})

View File

@ -0,0 +1 @@
vim.opt.commentstring = "// %s"