refactor: Comment nix and hyprlang without spacing in between
This commit is contained in:
parent
5d6ab73544
commit
acd513371b
4 changed files with 9 additions and 9 deletions
|
@ -189,7 +189,7 @@ env = __GL_GSYNC_ALLOWED,1
|
|||
env = __GL_VRR_ALLOWED,1
|
||||
env = WLR_DRM_NO_ATOMIC,1
|
||||
env = WLR_USE_LIBINPUT,1
|
||||
env = XWAYLAND_NO_GLAMOR,1 # with this you'll need to use gamescope for gaming
|
||||
#env = XWAYLAND_NO_GLAMOR,1 # with this you'll need to use gamescope for gaming
|
||||
env = __GL_MaxFramesAllowed,1
|
||||
env = WLR_RENDERER_ALLOW_SOFTWARE,1
|
||||
|
||||
|
|
|
@ -99,8 +99,8 @@
|
|||
};
|
||||
|
||||
users.users.ziro = {
|
||||
name = "ziro";
|
||||
home = "/Users/ziro";
|
||||
name = vars.user;
|
||||
home = "/Users/${vars.user}";
|
||||
};
|
||||
home-manager.users.ziro = {
|
||||
home.stateVersion = "22.05";
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
outputs = inputs@{ self, nix-darwin, nixpkgs, home-manager }:
|
||||
let
|
||||
vars = {
|
||||
user = "ziro"; # TODO: Make it possible to setup multi-user
|
||||
rev = self.rev or self.dirtyRev or null;
|
||||
};
|
||||
in
|
||||
|
|
|
@ -57,13 +57,12 @@ return {
|
|||
},
|
||||
init = function ()
|
||||
vim.api.nvim_create_autocmd("FileType", {
|
||||
pattern = { "nix" },
|
||||
pattern = { "nix", "hyprlang" },
|
||||
callback = function()
|
||||
vim.opt_local.commentstring = "#%s"
|
||||
end,
|
||||
group = generalSettingsGroup,
|
||||
})
|
||||
|
||||
end,
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue