Compare commits
No commits in common. "5a35cd04a6d02467e84ad6ac9bbcb15a7c7ce9a6" and "3a6d5bb8c402e4ff973b18ef98d32f749ab93421" have entirely different histories.
5a35cd04a6
...
3a6d5bb8c4
3 changed files with 8 additions and 26 deletions
|
|
@ -2,24 +2,16 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
let
|
||||
signalDesktopItem = pkgs.makeDesktopItem {
|
||||
name = "signal-desktop";
|
||||
desktopName = "Signal";
|
||||
icon = "signal-desktop";
|
||||
exec = "signal-desktop --ozone-platform=x11 --enable-features=VaapiVideoDecoder -- %u";
|
||||
};
|
||||
|
||||
signalWorkDesktopItem = pkgs.makeDesktopItem {
|
||||
name = "signal-work";
|
||||
desktopName = "Signal with work profile";
|
||||
icon = "signal-desktop";
|
||||
exec = "signal-desktop --ozone-platform=x11 --enable-features=VaapiVideoDecoder --enable-dev-tools --user-data-dir=/home/dominik/.config/Signal-work -- %u";
|
||||
exec = "signal-desktop --enable-dev-tools --enable-features=VaapiVideoDecoder --user-data-dir=/home/dominik/.config/Signal-work -- %u";
|
||||
};
|
||||
in {
|
||||
environment.systemPackages = [
|
||||
environment.systemPackages = [
|
||||
pkgs.signal-cli
|
||||
pkgs.signal-desktop
|
||||
signalDesktopItem
|
||||
pkgs.zbar
|
||||
signalWorkDesktopItem
|
||||
];
|
||||
|
|
|
|||
|
|
@ -37,13 +37,10 @@ local config = {
|
|||
-- lvim.builtin.terminal.execs[#lvim.builtin.terminal.execs+1] = {"gdb", "tg", "GNU Debugger"}
|
||||
-- TODO: pls add mappings in which key and refactor this
|
||||
execs = {
|
||||
-- { vim.o.shell, "<M-1>", "Horizontal Terminal", "horizontal", 0.3 },
|
||||
-- { vim.o.shell, "<M-2>", "Vertical Terminal", "vertical", 0.4 },
|
||||
{ vim.o.shell, "<M-1>", "Float Terminal 1", "float", nil },
|
||||
{ vim.o.shell, "<M-2>", "Float Terminal 2", "float", nil },
|
||||
{ vim.o.shell, "<M-3>", "Float Terminal 3", "float", nil },
|
||||
{ vim.o.shell, "<M-4>", "Float Terminal 4", "float", nil },
|
||||
{ vim.o.shell, "<M-5>", "Float Terminal 5", "float", nil },
|
||||
{ vim.o.shell, "<M-1>", "Horizontal Terminal", "horizontal", 0.3 },
|
||||
{ vim.o.shell, "<M-2>", "Vertical Terminal", "vertical", 0.4 },
|
||||
{ vim.o.shell, "<M-3>", "Float Terminal", "float", nil },
|
||||
{ vim.o.shell, "<C-a>", "AI Agent Terminal", "float", nil },
|
||||
},
|
||||
}
|
||||
|
||||
|
|
@ -84,7 +81,7 @@ Add_exec = function(opts)
|
|||
end
|
||||
|
||||
vim.keymap.set({ "n", "t" }, opts.keymap, function()
|
||||
_exec_toggle { cmd = opts.cmd, count = opts.count, direction = opts.direction, size = opts.size() }
|
||||
M._exec_toggle { cmd = opts.cmd, count = opts.count, direction = opts.direction, size = opts.size() }
|
||||
end, { desc = opts.label, noremap = true, silent = true })
|
||||
end
|
||||
|
||||
|
|
|
|||
|
|
@ -1,13 +1,6 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
{ config, ... }:
|
||||
|
||||
{
|
||||
system.autoUpgrade.enable = true;
|
||||
system.autoUpgrade.allowReboot = false;
|
||||
|
||||
# Skip auto-upgrade when on battery to save power
|
||||
systemd.services.nixos-upgrade = {
|
||||
unitConfig = {
|
||||
ConditionACPower = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue