Compare commits

..

5 commits

Author SHA1 Message Date
Bruno BELANYI 6b00d6a499 nixos: hardware: sound: remove ALSA
All checks were successful
ci/woodpecker/push/check Pipeline was successful
Not needed for Pulseaudio.
2024-07-11 13:16:52 +00:00
Bruno BELANYI e8652cbc16 home: vim: enable swap and undo files
Trying it on for size, since NeoVim does use XDG directories for those.
2024-07-10 22:47:14 +01:00
Bruno BELANYI ace6212f49 home: vim: remove redundant 'nobackup'
It's already the default.
2024-07-10 22:45:48 +01:00
Bruno BELANYI 241071df30 home: vim: oil: add detail view toggle mapping 2024-07-10 22:18:43 +01:00
Bruno BELANYI c2723363ec home: vim: migrate to 'oil.nvim' 2024-07-10 22:18:43 +01:00
3 changed files with 8 additions and 11 deletions

View file

@ -0,0 +1,8 @@
local wk = require("which-key")
local oil = require("oil")
local keys = {
["-"] = { oil.open, "Open parent directory" },
}
wk.register(keys)

View file

@ -1,6 +1,4 @@
local oil = require("oil") local oil = require("oil")
local wk = require("which-key")
local detail = false local detail = false
oil.setup({ oil.setup({
@ -26,9 +24,3 @@ oil.setup({
}, },
}, },
}) })
local keys = {
["-"] = { oil.open, "Open parent directory" },
}
wk.register(keys)

View file

@ -54,9 +54,6 @@ in
# Pulseaudio setup # Pulseaudio setup
(lib.mkIf cfg.pulse.enable { (lib.mkIf cfg.pulse.enable {
# ALSA
sound.enable = true;
hardware.pulseaudio.enable = true; hardware.pulseaudio.enable = true;
}) })
]); ]);