mirror of
https://github.com/kmein/niveum
synced 2026-03-21 04:11:07 +01:00
i3: delay unicode paste
This commit is contained in:
@@ -234,7 +234,7 @@ in {
|
|||||||
"${modifier}+p" = "exec rofi-pass";
|
"${modifier}+p" = "exec rofi-pass";
|
||||||
"${modifier}+Shift+p" = "exec rofi-pass --insert";
|
"${modifier}+Shift+p" = "exec rofi-pass --insert";
|
||||||
"${modifier}+u" = "exec ${niveumPackages.unicodmenu}/bin/unicodmenu";
|
"${modifier}+u" = "exec ${niveumPackages.unicodmenu}/bin/unicodmenu";
|
||||||
"${modifier}+Shift+u" = "exec ${pkgs.writers.writeDash "last-unicode" ''${pkgs.xdotool}/bin/xdotool type "$(${pkgs.gawk}/bin/awk 'END{print $1}' ~/.cache/unicodmenu)"''}";
|
"${modifier}+Shift+u" = "exec ${pkgs.writers.writeDash "last-unicode" ''${pkgs.xdotool}/bin/xdotool type --delay 1000 "$(${pkgs.gawk}/bin/awk 'END{print $1}' ~/.cache/unicodmenu)"''}";
|
||||||
|
|
||||||
"${modifier}+F7" = "exec ${pkgs.writers.writeDash "showkeys-toggle" ''
|
"${modifier}+F7" = "exec ${pkgs.writers.writeDash "showkeys-toggle" ''
|
||||||
if ${pkgs.procps}/bin/pgrep screenkey; then
|
if ${pkgs.procps}/bin/pgrep screenkey; then
|
||||||
|
|||||||
@@ -3,22 +3,15 @@
|
|||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
inherit (import ../../lib) retiolumAddresses restic;
|
inherit (import ../../lib) retiolumAddresses;
|
||||||
in {
|
in {
|
||||||
imports = [
|
imports = [
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
./home-assistant.nix
|
|
||||||
./backup.nix
|
|
||||||
./atuin.nix
|
|
||||||
../../configs/spacetime.nix
|
../../configs/spacetime.nix
|
||||||
../../configs/sshd.nix
|
../../configs/sshd.nix
|
||||||
../../configs/printing.nix
|
|
||||||
../../configs/monitoring.nix
|
|
||||||
../../configs/tmux.nix
|
|
||||||
../../configs/retiolum.nix
|
../../configs/retiolum.nix
|
||||||
../../configs/nix.nix
|
../../configs/nix.nix
|
||||||
../../configs/admin-essentials.nix
|
../../configs/admin-essentials.nix
|
||||||
../../configs/wpa_supplicant.nix
|
|
||||||
];
|
];
|
||||||
|
|
||||||
age.secrets = {
|
age.secrets = {
|
||||||
@@ -34,40 +27,47 @@ in {
|
|||||||
owner = "tinc-retiolum";
|
owner = "tinc-retiolum";
|
||||||
group = "tinc-retiolum";
|
group = "tinc-retiolum";
|
||||||
};
|
};
|
||||||
restic = {
|
};
|
||||||
file = ../../secrets/restic.age;
|
|
||||||
mode = "400";
|
console.keyMap = "de";
|
||||||
owner = "restic";
|
i18n.defaultLocale = "de_DE.UTF-8";
|
||||||
group = "restic";
|
services.xserver = {
|
||||||
|
layout = "de";
|
||||||
|
libinput.enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
users.users.xenos = {
|
||||||
|
name = "xenos";
|
||||||
|
password = "xenos";
|
||||||
|
isNormalUser = true;
|
||||||
|
extraGroups = ["networkmanager"];
|
||||||
|
};
|
||||||
|
|
||||||
|
services.xserver = {
|
||||||
|
enable = true;
|
||||||
|
desktopManager.pantheon.enable = true;
|
||||||
|
displayManager = {
|
||||||
|
lightdm = {
|
||||||
|
enable = true;
|
||||||
|
greeters.pantheon.enable = true;
|
||||||
|
};
|
||||||
|
autoLogin = {
|
||||||
|
enable = true;
|
||||||
|
user = "xenos";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
boot.plymouth.enable = true;
|
||||||
|
|
||||||
services.restic.backups.niveum = {
|
environment.systemPackages = [
|
||||||
initialize = true;
|
pkgs.libreoffice
|
||||||
inherit (restic) repository;
|
pkgs.gimp
|
||||||
timerConfig = {
|
pkgs.inkscape
|
||||||
OnCalendar = "daily";
|
pkgs.firefox
|
||||||
RandomizedDelaySec = "1h";
|
pkgs.audacity
|
||||||
};
|
pkgs.pidgin
|
||||||
passwordFile = config.age.secrets.restic.path;
|
pkgs.git
|
||||||
paths = [
|
];
|
||||||
"/var/lib/moodle-dl"
|
|
||||||
"/var/lib/containers/storage/volumes/home-assistant"
|
|
||||||
config.services.postgresqlBackup.location
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
services.logind = {
|
|
||||||
lidSwitch = "ignore";
|
|
||||||
lidSwitchDocked = "ignore";
|
|
||||||
lidSwitchExternalPower = "ignore";
|
|
||||||
suspendKey = "ignore";
|
|
||||||
suspendKeyLongPress = "ignore";
|
|
||||||
hibernateKey = "ignore";
|
|
||||||
hibernateKeyLongPress = "ignore";
|
|
||||||
};
|
|
||||||
|
|
||||||
services.illum.enable = true;
|
|
||||||
|
|
||||||
networking = {
|
networking = {
|
||||||
useDHCP = false;
|
useDHCP = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user