mirror of
https://github.com/kmein/niveum
synced 2026-03-21 04:11:07 +01:00
Compare commits
21 Commits
wayland
...
8ade3a9fc6
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8ade3a9fc6 | ||
| a307e2c186 | |||
| 1cc3a7c6e3 | |||
| db33374dc0 | |||
| 2c75c0d608 | |||
| f84cd44db5 | |||
| 84cec2eb24 | |||
| 031b934c99 | |||
|
|
7491396645 | ||
| 1c299cafef | |||
| cbce724ade | |||
| 00dfe27738 | |||
| 6e0026ed5c | |||
| d92f382b9a | |||
| 630ec3d052 | |||
| bfd7195543 | |||
| 0d2481bd78 | |||
| 28cd462bc6 | |||
| 67358560b8 | |||
| 675c453599 | |||
| e4543eeb0b |
@@ -1,5 +1,7 @@
|
|||||||
# niveum
|
# niveum
|
||||||
|
|
||||||
|
> I must Create a System, or be enslav'd by another Man's. —William Blake
|
||||||
|
|
||||||
> [nĭvĕus](https://logeion.uchicago.edu/niveus), a, um, adj. [nix], _of_ or _from snow, snowy, snow-_ (poet.)
|
> [nĭvĕus](https://logeion.uchicago.edu/niveus), a, um, adj. [nix], _of_ or _from snow, snowy, snow-_ (poet.)
|
||||||
>
|
>
|
||||||
> 1. Lit.: aggeribus niveis informis, Verg. G. 3, 354: aqua, _cooled with snow_, Mart. 12, 17, 6; cf. id. 14, 104 and 117: mons, _covered with snow_, Cat. 64, 240.—
|
> 1. Lit.: aggeribus niveis informis, Verg. G. 3, 354: aqua, _cooled with snow_, Mart. 12, 17, 6; cf. id. 14, 104 and 117: mons, _covered with snow_, Cat. 64, 240.—
|
||||||
|
|||||||
@@ -82,5 +82,9 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
home-manager.users.me = {
|
||||||
|
stylix.targets.firefox.profileNames = ["default"];
|
||||||
|
};
|
||||||
|
|
||||||
environment.variables.BROWSER = "firefox";
|
environment.variables.BROWSER = "firefox";
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ in
|
|||||||
config = {
|
config = {
|
||||||
allowUnfree = true;
|
allowUnfree = true;
|
||||||
packageOverrides = pkgs: {
|
packageOverrides = pkgs: {
|
||||||
dmenu = pkgs.writers.writeDashBin "dmenu" ''exec ${pkgs.wofi}/bin/wofi -dmenu "$@"'';
|
dmenu = pkgs.writers.writeDashBin "dmenu" ''exec ${pkgs.rofi}/bin/rofi -dmenu "$@"'';
|
||||||
};
|
};
|
||||||
permittedInsecurePackages = [
|
permittedInsecurePackages = [
|
||||||
"qtwebkit-5.212.0-alpha4"
|
"qtwebkit-5.212.0-alpha4"
|
||||||
@@ -99,8 +99,8 @@ in
|
|||||||
{
|
{
|
||||||
o = "${pkgs.xdg-utils}/bin/xdg-open";
|
o = "${pkgs.xdg-utils}/bin/xdg-open";
|
||||||
ns = "nix-shell --run zsh";
|
ns = "nix-shell --run zsh";
|
||||||
pbcopy = "${pkgs.wl-clipboard}/bin/wl-copy";
|
pbcopy = "${pkgs.xclip}/bin/xclip -selection clipboard -in";
|
||||||
pbpaste = "${pkgs.wl-clipboard}/bin/wl-paste";
|
pbpaste = "${pkgs.xclip}/bin/xclip -selection clipboard -out";
|
||||||
tmux = "${pkgs.tmux}/bin/tmux -2";
|
tmux = "${pkgs.tmux}/bin/tmux -2";
|
||||||
sxiv = swallow "${pkgs.nsxiv}/bin/nsxiv";
|
sxiv = swallow "${pkgs.nsxiv}/bin/nsxiv";
|
||||||
zathura = swallow "${pkgs.zathura}/bin/zathura";
|
zathura = swallow "${pkgs.zathura}/bin/zathura";
|
||||||
@@ -223,7 +223,6 @@ in
|
|||||||
./htop.nix
|
./htop.nix
|
||||||
./fu-berlin.nix
|
./fu-berlin.nix
|
||||||
./i3.nix
|
./i3.nix
|
||||||
./niri.nix
|
|
||||||
./i3status-rust.nix
|
./i3status-rust.nix
|
||||||
./keyboard.nix
|
./keyboard.nix
|
||||||
./mycelium.nix
|
./mycelium.nix
|
||||||
|
|||||||
@@ -5,7 +5,6 @@
|
|||||||
}: {
|
}: {
|
||||||
home-manager.users.me = {
|
home-manager.users.me = {
|
||||||
services.flameshot = {
|
services.flameshot = {
|
||||||
package = pkgs.flameshot.override { enableWlrSupport = true; };
|
|
||||||
enable = true;
|
enable = true;
|
||||||
settings.General = {
|
settings.General = {
|
||||||
autoCloseIdleDaemon = true;
|
autoCloseIdleDaemon = true;
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
{
|
{
|
||||||
pkgs,
|
pkgs,
|
||||||
config,
|
|
||||||
niveumPackages,
|
niveumPackages,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
@@ -108,7 +107,6 @@ in {
|
|||||||
noto-fonts
|
noto-fonts
|
||||||
noto-fonts-cjk-sans
|
noto-fonts-cjk-sans
|
||||||
noto-fonts-emoji
|
noto-fonts-emoji
|
||||||
nerd-fonts.blex-mono
|
|
||||||
roboto-slab
|
roboto-slab
|
||||||
scheherazade-new
|
scheherazade-new
|
||||||
source-code-pro
|
source-code-pro
|
||||||
@@ -121,10 +119,10 @@ in {
|
|||||||
zilla-slab
|
zilla-slab
|
||||||
]; # google-fonts league-of-moveable-type
|
]; # google-fonts league-of-moveable-type
|
||||||
fontconfig.defaultFonts = rec {
|
fontconfig.defaultFonts = rec {
|
||||||
monospace = [config.stylix.fonts.monospace.name] ++ emoji;
|
monospace = ["Noto Sans Mono"] ++ emoji;
|
||||||
serif = [config.stylix.fonts.serif.name "Scheherazade New" "Ezra SIL" "Antinoou" "Noto Serif Devanagari"];
|
serif = ["Noto Serif" "Noto Naskh Arabic" "Noto Serif Devanagari"];
|
||||||
sansSerif = [config.stylix.fonts.sansSerif.name "Noto Sans Display" "Noto Naskh Arabic" "Noto Sans Hebrew" "Noto Sans Devanagari" "Noto Sans CJK JP" "Noto Sans Coptic" "Noto Sans Syriac Western"];
|
sansSerif = ["Noto Sans Display" "Noto Naskh Arabic" "Noto Sans Hebrew" "Noto Sans Devanagari" "Noto Sans CJK JP" "Noto Sans Coptic" "Noto Sans Syriac Western"];
|
||||||
emoji = [config.stylix.fonts.emoji.name];
|
emoji = ["Noto Color Emoji"];
|
||||||
};
|
};
|
||||||
# xelatex fails with woff files
|
# xelatex fails with woff files
|
||||||
# ref https://tex.stackexchange.com/questions/392144/xelatex-and-fontspec-crash-trying-to-find-woff-file-for-some-fonts-but-not-other
|
# ref https://tex.stackexchange.com/questions/392144/xelatex-and-fontspec-crash-trying-to-find-woff-file-for-some-fonts-but-not-other
|
||||||
|
|||||||
@@ -113,6 +113,7 @@ in {
|
|||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
home-manager.users.me = let
|
home-manager.users.me = let
|
||||||
modifier = "Mod4";
|
modifier = "Mod4";
|
||||||
infoWorkspace = "ℹ";
|
infoWorkspace = "ℹ";
|
||||||
@@ -269,32 +270,7 @@ in {
|
|||||||
# XF86Launch1 (thinkvantage)
|
# XF86Launch1 (thinkvantage)
|
||||||
};
|
};
|
||||||
in {
|
in {
|
||||||
wayland.windowManager.sway = {
|
stylix.targets.i3.enable = true;
|
||||||
enable = true;
|
|
||||||
config = {
|
|
||||||
menu = "rofi -modi run,ssh,window -show run";
|
|
||||||
inherit modifier modes gaps bars floating window colors keybindings;
|
|
||||||
input = {
|
|
||||||
"*" = {
|
|
||||||
xkb_layout = "de";
|
|
||||||
xkb_variant = "T3";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
terminal = (defaultApplications pkgs).terminal;
|
|
||||||
up = "k";
|
|
||||||
down = "j";
|
|
||||||
left = "h";
|
|
||||||
right = "l";
|
|
||||||
seat = {
|
|
||||||
"*" = {
|
|
||||||
hide_cursor = "when-typing enable";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
startup = [
|
|
||||||
{command = "echo hello";}
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
xsession.windowManager.i3 = {
|
xsession.windowManager.i3 = {
|
||||||
enable = true;
|
enable = true;
|
||||||
@@ -311,19 +287,9 @@ in {
|
|||||||
assign [class="dashboard"] ${infoWorkspace}
|
assign [class="dashboard"] ${infoWorkspace}
|
||||||
exec ${dashboard}/bin/dashboard
|
exec ${dashboard}/bin/dashboard
|
||||||
'';
|
'';
|
||||||
config = lib.mkMerge [
|
config = {
|
||||||
{
|
inherit modifier gaps modes bars floating window colors;
|
||||||
inherit modifier gaps modes bars floating window colors keybindings;
|
keybindings = keybindings // {
|
||||||
}
|
|
||||||
{
|
|
||||||
keybindings = let
|
|
||||||
new-workspace = pkgs.writers.writeDash "new-workspace" ''
|
|
||||||
i3-msg workspace $(($(i3-msg -t get_workspaces | tr , '\n' | grep '"num":' | cut -d : -f 2 | sort -rn | head -1) + 1))
|
|
||||||
'';
|
|
||||||
move-to-new-workspace = pkgs.writers.writeDash "new-workspace" ''
|
|
||||||
i3-msg move container to workspace $(($(i3-msg -t get_workspaces | tr , '\n' | grep '"num":' | cut -d : -f 2 | sort -rn | head -1) + 1))
|
|
||||||
'';
|
|
||||||
in {
|
|
||||||
"${modifier}+ß" = "exec ${niveumPackages.menu-calc}/bin/=";
|
"${modifier}+ß" = "exec ${niveumPackages.menu-calc}/bin/=";
|
||||||
"${modifier}+F6" = "exec ${pkgs.xorg.xkill}/bin/xkill";
|
"${modifier}+F6" = "exec ${pkgs.xorg.xkill}/bin/xkill";
|
||||||
"${modifier}+F9" = "exec ${pkgs.redshift}/bin/redshift -O 4000 -b 0.85";
|
"${modifier}+F9" = "exec ${pkgs.redshift}/bin/redshift -O 4000 -b 0.85";
|
||||||
@@ -334,8 +300,7 @@ in {
|
|||||||
# "${modifier}+x" = "exec ${new-workspace}";
|
# "${modifier}+x" = "exec ${new-workspace}";
|
||||||
"XF86Display" = "exec ${niveumPackages.dmenu-randr}/bin/dmenu-randr";
|
"XF86Display" = "exec ${niveumPackages.dmenu-randr}/bin/dmenu-randr";
|
||||||
};
|
};
|
||||||
}
|
};
|
||||||
];
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,91 +2,129 @@
|
|||||||
pkgs,
|
pkgs,
|
||||||
lib,
|
lib,
|
||||||
...
|
...
|
||||||
}: let
|
}:
|
||||||
|
let
|
||||||
|
|
||||||
commaSep = builtins.concatStringsSep ",";
|
commaSep = builtins.concatStringsSep ",";
|
||||||
xkbOptions = ["compose:caps" "terminate:ctrl_alt_bksp" "grp:ctrls_toggle"];
|
xkbOptions = [
|
||||||
|
"compose:caps"
|
||||||
|
"terminate:ctrl_alt_bksp"
|
||||||
|
"grp:ctrls_toggle"
|
||||||
|
];
|
||||||
languages = {
|
languages = {
|
||||||
arabic = { code = "ara"; variant = "buckwalter"; }; # ../lib/keyboards/arabic;
|
deutsch = {
|
||||||
avestan = ../lib/keyboards/avestan;
|
code = "de";
|
||||||
|
variant = "T3";
|
||||||
|
};
|
||||||
|
greek = {
|
||||||
|
code = "gr";
|
||||||
|
variant = "polytonic";
|
||||||
|
};
|
||||||
|
russian = {
|
||||||
|
code = "ru";
|
||||||
|
variant = "phonetic";
|
||||||
|
};
|
||||||
|
arabic = {
|
||||||
|
code = "ara";
|
||||||
|
variant = "buckwalter";
|
||||||
|
}; # ../lib/keyboards/arabic;
|
||||||
coptic = ../lib/keyboards/coptic;
|
coptic = ../lib/keyboards/coptic;
|
||||||
deutsch = { code = "de"; variant = "T3"; };
|
avestan = ../lib/keyboards/avestan;
|
||||||
farsi = { code = "ir"; variant = "qwerty"; };
|
|
||||||
gothic = ../lib/keyboards/gothic;
|
gothic = ../lib/keyboards/gothic;
|
||||||
greek = { code = "gr"; variant = "polytonic"; };
|
farsi = {
|
||||||
gujarati = {code = "in"; variant = "guj-kagapa"; };
|
code = "ir";
|
||||||
hebrew = {code = "il"; variant = "phonetic";};
|
variant = "qwerty";
|
||||||
russian = { code = "ru"; variant = "phonetic"; };
|
};
|
||||||
sanskrit = { code = "in"; variant = "san-kagapa"; };
|
syriac = {
|
||||||
syriac = { code = "sy"; variant = "syc_phonetic"; };
|
code = "sy";
|
||||||
urdu = {code = "in"; variant = "urd-phonetic"; };
|
variant = "syc_phonetic";
|
||||||
|
};
|
||||||
|
sanskrit = {
|
||||||
|
code = "in";
|
||||||
|
variant = "san-kagapa";
|
||||||
|
};
|
||||||
|
gujarati = {
|
||||||
|
code = "in";
|
||||||
|
variant = "guj-kagapa";
|
||||||
|
};
|
||||||
|
urdu = {
|
||||||
|
code = "in";
|
||||||
|
variant = "urd-phonetic";
|
||||||
|
};
|
||||||
|
hebrew = {
|
||||||
|
code = "il";
|
||||||
|
variant = "phonetic";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
defaultLanguage = languages.deutsch;
|
defaultLanguage = languages.deutsch;
|
||||||
in {
|
in
|
||||||
|
{
|
||||||
services.libinput.enable = true;
|
services.libinput.enable = true;
|
||||||
|
|
||||||
# man 7 xkeyboard-config
|
# man 7 xkeyboard-config
|
||||||
services.xserver = {
|
services.xserver = {
|
||||||
# exportConfiguration = true; # link /usr/share/X11 properly
|
exportConfiguration = true; # link /usr/share/X11 properly
|
||||||
xkb.layout = defaultLanguage.code;
|
xkb.layout = defaultLanguage.code;
|
||||||
# T3: https://upload.wikimedia.org/wikipedia/commons/a/a9/German-Keyboard-Layout-T3-Version1-large.png
|
# T3: https://upload.wikimedia.org/wikipedia/commons/a/a9/German-Keyboard-Layout-T3-Version1-large.png
|
||||||
# buckwalter: http://www.qamus.org/transliteration.htm
|
# buckwalter: http://www.qamus.org/transliteration.htm
|
||||||
xkb.variant = defaultLanguage.variant;
|
xkb.variant = defaultLanguage.variant;
|
||||||
xkb.options = commaSep xkbOptions;
|
xkb.options = commaSep xkbOptions;
|
||||||
xkb.extraLayouts = {
|
xkb.dir = pkgs.symlinkJoin {
|
||||||
"coptic" = {
|
name = "x-keyboard-directory";
|
||||||
languages = ["cop"];
|
paths = [
|
||||||
description = "Coptic";
|
"${pkgs.xkeyboard_config}/etc/X11/xkb"
|
||||||
symbolsFile = ../lib/keyboards/coptic;
|
(pkgs.linkFarm "custom-x-keyboards" (
|
||||||
};
|
lib.mapAttrsToList (name: value: {
|
||||||
"gothic" = {
|
name = "symbols/${name}";
|
||||||
languages = ["got"];
|
path = value;
|
||||||
description = "Gothic";
|
}) (lib.filterAttrs (_: value: !(value ? "code")) languages)
|
||||||
symbolsFile = ../lib/keyboards/gothic;
|
++ [
|
||||||
};
|
{
|
||||||
"avestan" = {
|
name = "symbols/ir";
|
||||||
languages = ["ave"];
|
path = ../lib/keyboards/farsi;
|
||||||
description = "Avestan";
|
}
|
||||||
symbolsFile = ../lib/keyboards/avestan;
|
]
|
||||||
};
|
))
|
||||||
"farsi-good" = {
|
];
|
||||||
languages = ["fas"];
|
|
||||||
description = "Farsi, but good";
|
|
||||||
symbolsFile = ../lib/keyboards/farsi;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.etc."x11-locale".source = toString pkgs.xorg.libX11 + "share/X11/locale";
|
environment.etc."x11-locale".source = toString pkgs.xorg.libX11 + "share/X11/locale";
|
||||||
|
|
||||||
|
home-manager.users.me = {
|
||||||
|
home.file =
|
||||||
|
lib.mapAttrs' (name: path: lib.nameValuePair ".xkb/symbols/${name}" { source = path; })
|
||||||
|
(lib.filterAttrs (_: value: !(value ? "code")) languages) // {
|
||||||
|
".xkb/symbols/ir".source = ../lib/keyboards/farsi;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
console.keyMap = "de";
|
console.keyMap = "de";
|
||||||
|
|
||||||
environment.systemPackages =
|
environment.systemPackages = lib.mapAttrsToList (
|
||||||
lib.mapAttrsToList
|
language: settings:
|
||||||
(language: settings:
|
|
||||||
let
|
let
|
||||||
code = if settings ? "code" then settings.code else language;
|
code = if settings ? "code" then settings.code else language;
|
||||||
variant = if settings ? "variant" then settings.variant else "";
|
variant = if settings ? "variant" then settings.variant else "";
|
||||||
in
|
in
|
||||||
pkgs.writers.writeDashBin "kb-${language}" ''
|
pkgs.writers.writeDashBin "kb-${language}" ''
|
||||||
${pkgs.xorg.setxkbmap}/bin/setxkbmap ${defaultLanguage.code},${code} ${defaultLanguage.variant},${variant} ${toString (map (option: "-option ${option}") xkbOptions)}
|
if [ -z $SWAYSOCK ]; then
|
||||||
'')
|
${pkgs.xorg.setxkbmap}/bin/setxkbmap ${defaultLanguage.code},${code} ${defaultLanguage.variant},${variant} ${
|
||||||
languages ++
|
toString (map (option: "-option ${option}") xkbOptions)
|
||||||
lib.mapAttrsToList
|
}
|
||||||
(language: settings:
|
else
|
||||||
let
|
swaymsg -s $SWAYSOCK 'input * xkb_layout "${defaultLanguage.code},${code}"'
|
||||||
code = if settings ? "code" then settings.code else language;
|
swaymsg -s $SWAYSOCK 'input * xkb_variant "${defaultLanguage.variant},${variant}"'
|
||||||
variant = if settings ? "variant" then settings.variant else "";
|
swaymsg -s $SWAYSOCK 'input * xkb_options "${lib.concatStringsSep "," xkbOptions}"'
|
||||||
in
|
fi
|
||||||
pkgs.writers.writeDashBin "kb-niri-${language}" ''
|
''
|
||||||
${pkgs.gnused}/bin/sed -i 's/^\(\s*layout\) ".*"$/\1 "${defaultLanguage.code},${code}"/;s/^\(\s*variant\) ".*"$/\1 "${defaultLanguage.variant},${variant}"/' ~/.config/niri/config.kdl
|
) languages;
|
||||||
'') languages;
|
|
||||||
|
|
||||||
# improve held key rate
|
# improve held key rate
|
||||||
services.xserver.displayManager.sessionCommands = "${pkgs.xorg.xset}/bin/xset r rate 300 50";
|
services.xserver.displayManager.sessionCommands = "${pkgs.xorg.xset}/bin/xset r rate 300 50";
|
||||||
|
|
||||||
systemd.user.services.gxkb = {
|
systemd.user.services.gxkb = {
|
||||||
wantedBy = ["graphical-session.target"];
|
wantedBy = [ "graphical-session.target" ];
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
SyslogIdentifier = "gxkb";
|
SyslogIdentifier = "gxkb";
|
||||||
ExecStart = "${pkgs.gxkb}/bin/gxkb";
|
ExecStart = "${pkgs.gxkb}/bin/gxkb";
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ in {
|
|||||||
"Alt+j" = "add video-pan-y -0.05";
|
"Alt+j" = "add video-pan-y -0.05";
|
||||||
};
|
};
|
||||||
scripts = [
|
scripts = [
|
||||||
# pkgs.mpvScripts.quality-menu
|
pkgs.mpvScripts.quality-menu
|
||||||
niveumPackages.mpv-visualizer
|
niveumPackages.mpv-visualizer
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -37,8 +37,8 @@
|
|||||||
environment.systemPackages = [
|
environment.systemPackages = [
|
||||||
(pkgs.writers.writeDashBin "vim" ''neovim "$@"'')
|
(pkgs.writers.writeDashBin "vim" ''neovim "$@"'')
|
||||||
(niveumPackages.vim.override {
|
(niveumPackages.vim.override {
|
||||||
stylixColors = config.lib.stylix.colors;
|
# stylixColors = config.lib.stylix.colors;
|
||||||
# colorscheme = "base16-gruvbox-light-medium";
|
colorscheme = "base16-gruvbox-light-medium";
|
||||||
})
|
})
|
||||||
|
|
||||||
# language servers
|
# language servers
|
||||||
|
|||||||
445
configs/niri.nix
445
configs/niri.nix
@@ -1,445 +0,0 @@
|
|||||||
{
|
|
||||||
pkgs,
|
|
||||||
config,
|
|
||||||
niveumPackages,
|
|
||||||
lib,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
let
|
|
||||||
inherit (import ../lib) defaultApplications;
|
|
||||||
niriConfig =
|
|
||||||
let
|
|
||||||
klem = niveumPackages.klem.override {
|
|
||||||
config.dmenu = "${pkgs.dmenu}/bin/dmenu -i -p klem";
|
|
||||||
config.scripts = {
|
|
||||||
"p.r paste" = pkgs.writers.writeDash "p.r" ''
|
|
||||||
${pkgs.curl}/bin/curl -fSs http://p.r --data-binary @- \
|
|
||||||
| ${pkgs.coreutils}/bin/tail --lines=1 \
|
|
||||||
| ${pkgs.gnused}/bin/sed 's/\\<r\\>/krebsco.de/'
|
|
||||||
'';
|
|
||||||
"envs.sh paste" = pkgs.writers.writeDash "envs-host" ''
|
|
||||||
${pkgs.curl}/bin/curl -F "file=@-" https://envs.sh
|
|
||||||
'';
|
|
||||||
"envs.sh shorten" = pkgs.writers.writeDash "envs-shorten" ''
|
|
||||||
${pkgs.curl}/bin/curl -F "shorten=$(${pkgs.coreutils}/bin/cat)" https://envs.sh
|
|
||||||
'';
|
|
||||||
"go.r shorten" = pkgs.writers.writeDash "go.r" ''
|
|
||||||
${pkgs.curl}/bin/curl -fSs http://go.r -F "uri=$(${pkgs.coreutils}/bin/cat)"
|
|
||||||
'';
|
|
||||||
"4d2.org paste" = pkgs.writers.writeDash "4d2-paste" ''
|
|
||||||
${pkgs.curl}/bin/curl -F "file=@-" https://depot.4d2.org/
|
|
||||||
'';
|
|
||||||
"0x0.st shorten" = pkgs.writers.writeDash "0x0.st" ''
|
|
||||||
${pkgs.curl}/bin/curl -fSs https://0x0.st -F "shorten=$(${pkgs.coreutils}/bin/cat)"
|
|
||||||
'';
|
|
||||||
"rot13" = pkgs.writers.writeDash "rot13" ''
|
|
||||||
${pkgs.coreutils}/bin/tr '[A-Za-z]' '[N-ZA-Mn-za-m]'
|
|
||||||
'';
|
|
||||||
"ipa" = pkgs.writers.writeDash "ipa" ''
|
|
||||||
${niveumPackages.ipa}/bin/ipa
|
|
||||||
'';
|
|
||||||
"betacode" = pkgs.writers.writeDash "betacode" ''
|
|
||||||
${niveumPackages.betacode}/bin/betacode
|
|
||||||
'';
|
|
||||||
"curl" = pkgs.writers.writeDash "curl" ''
|
|
||||||
${pkgs.curl}/bin/curl -fSs "$(${pkgs.coreutils}/bin/cat)"
|
|
||||||
'';
|
|
||||||
ocr = pkgs.writers.writeDash "ocr" ''
|
|
||||||
${pkgs.tesseract4}/bin/tesseract -l eng+deu - stdout
|
|
||||||
'';
|
|
||||||
emojai = pkgs.writers.writeDash "emojai" ''
|
|
||||||
${pkgs.curl}/bin/curl https://www.emojai.app/api/generate -X POST -H 'Content-Type: application/json' --data-raw "$(${pkgs.jq}/bin/jq -sR '{emoji:.}')" | ${pkgs.jq}/bin/jq -r .result
|
|
||||||
'';
|
|
||||||
"gpt-3.5" = pkgs.writers.writeDash "gpt" ''
|
|
||||||
${niveumPackages.gpt35}/bin/gpt
|
|
||||||
'';
|
|
||||||
gpt-4 = pkgs.writers.writeDash "gpt" ''
|
|
||||||
${niveumPackages.gpt4}/bin/gpt
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
};
|
|
||||||
in
|
|
||||||
''
|
|
||||||
spawn-at-startup "${pkgs.ironbar}/bin/ironbar"
|
|
||||||
spawn-at-startup "${pkgs.xwayland-satellite}/bin/xwayland-satellite"
|
|
||||||
|
|
||||||
environment {
|
|
||||||
DISPLAY ":0"
|
|
||||||
ANKI_WAYLAND "1"
|
|
||||||
}
|
|
||||||
|
|
||||||
input {
|
|
||||||
warp-mouse-to-focus
|
|
||||||
focus-follows-mouse max-scroll-amount="0%"
|
|
||||||
|
|
||||||
keyboard {
|
|
||||||
repeat-rate 35
|
|
||||||
repeat-delay 350
|
|
||||||
track-layout "global"
|
|
||||||
|
|
||||||
xkb {
|
|
||||||
layout "de"
|
|
||||||
variant "T3"
|
|
||||||
options "ctrl:nocaps,compose:caps,grp:ctrls_toggle"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
touchpad {
|
|
||||||
click-method "clickfinger"
|
|
||||||
tap
|
|
||||||
dwt
|
|
||||||
dwtp
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
prefer-no-csd
|
|
||||||
|
|
||||||
hotkey-overlay {
|
|
||||||
skip-at-startup
|
|
||||||
}
|
|
||||||
|
|
||||||
layout {
|
|
||||||
gaps 5
|
|
||||||
|
|
||||||
default-column-width {
|
|
||||||
proportion 0.5
|
|
||||||
}
|
|
||||||
|
|
||||||
preset-column-widths {
|
|
||||||
proportion 0.33333
|
|
||||||
proportion 0.5
|
|
||||||
proportion 0.66667
|
|
||||||
}
|
|
||||||
|
|
||||||
focus-ring {
|
|
||||||
width 2
|
|
||||||
}
|
|
||||||
|
|
||||||
shadow {
|
|
||||||
// on
|
|
||||||
softness 30
|
|
||||||
spread 5
|
|
||||||
offset x=0 y=5
|
|
||||||
draw-behind-window true
|
|
||||||
color "#00000070"
|
|
||||||
// inactive-color "#00000054"
|
|
||||||
}
|
|
||||||
|
|
||||||
tab-indicator {
|
|
||||||
// off
|
|
||||||
hide-when-single-tab
|
|
||||||
place-within-column
|
|
||||||
gap 5
|
|
||||||
width 4
|
|
||||||
length total-proportion=1.0
|
|
||||||
position "right"
|
|
||||||
gaps-between-tabs 2
|
|
||||||
corner-radius 8
|
|
||||||
active-color "red"
|
|
||||||
inactive-color "gray"
|
|
||||||
urgent-color "blue"
|
|
||||||
// active-gradient from="#80c8ff" to="#bbddff" angle=45
|
|
||||||
// inactive-gradient from="#505050" to="#808080" angle=45 relative-to="workspace-view"
|
|
||||||
// urgent-gradient from="#800" to="#a33" angle=45
|
|
||||||
}
|
|
||||||
|
|
||||||
border {
|
|
||||||
off
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
animations {
|
|
||||||
// off
|
|
||||||
workspace-switch {
|
|
||||||
spring damping-ratio=1.0 stiffness=1000 epsilon=0.0001
|
|
||||||
}
|
|
||||||
|
|
||||||
window-open {
|
|
||||||
duration-ms 150
|
|
||||||
curve "ease-out-expo"
|
|
||||||
}
|
|
||||||
|
|
||||||
window-close {
|
|
||||||
duration-ms 150
|
|
||||||
curve "ease-out-quad"
|
|
||||||
}
|
|
||||||
|
|
||||||
horizontal-view-movement {
|
|
||||||
spring damping-ratio=1.0 stiffness=800 epsilon=0.0001
|
|
||||||
}
|
|
||||||
|
|
||||||
window-movement {
|
|
||||||
spring damping-ratio=1.0 stiffness=800 epsilon=0.0001
|
|
||||||
}
|
|
||||||
|
|
||||||
window-resize {
|
|
||||||
spring damping-ratio=1.0 stiffness=800 epsilon=0.0001
|
|
||||||
}
|
|
||||||
|
|
||||||
config-notification-open-close {
|
|
||||||
spring damping-ratio=0.6 stiffness=1000 epsilon=0.001
|
|
||||||
}
|
|
||||||
|
|
||||||
screenshot-ui-open {
|
|
||||||
duration-ms 200
|
|
||||||
curve "ease-out-quad"
|
|
||||||
}
|
|
||||||
|
|
||||||
overview-open-close {
|
|
||||||
spring damping-ratio=1.0 stiffness=800 epsilon=0.0001
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
window-rule {
|
|
||||||
geometry-corner-radius 0
|
|
||||||
clip-to-geometry true
|
|
||||||
}
|
|
||||||
|
|
||||||
window-rule {
|
|
||||||
match app-id="mpv"
|
|
||||||
open-floating true
|
|
||||||
}
|
|
||||||
window-rule {
|
|
||||||
match app-id="rofi"
|
|
||||||
open-floating true
|
|
||||||
}
|
|
||||||
window-rule {
|
|
||||||
match app-id=r#"firefox$"# title="^Picture-in-Picture$"
|
|
||||||
open-floating true
|
|
||||||
default-floating-position x=32 y=32 relative-to="bottom-left"
|
|
||||||
}
|
|
||||||
|
|
||||||
window-rule {
|
|
||||||
match is-window-cast-target=true
|
|
||||||
|
|
||||||
border {
|
|
||||||
on
|
|
||||||
width 3
|
|
||||||
active-color "#f38ba8"
|
|
||||||
inactive-color "#7d0d2d"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
binds {
|
|
||||||
Mod+Shift+Slash { show-hotkey-overlay; }
|
|
||||||
Mod+Return { spawn "${(defaultApplications pkgs).terminal}"; }
|
|
||||||
Mod+D { spawn "${pkgs.wofi}/bin/wofi" "--show" "run"; }
|
|
||||||
Mod+Shift+D { spawn "${niveumPackages.notemenu}/bin/notemenu"; }
|
|
||||||
Mod+T { spawn "${(defaultApplications pkgs).fileManager}"; }
|
|
||||||
Mod+Y { spawn "${(defaultApplications pkgs).browser}"; }
|
|
||||||
Mod+P { spawn "${niveumPackages.passmenu}/bin/passmenu"; }
|
|
||||||
Mod+U { spawn "${niveumPackages.unicodmenu}/bin/unicodmenu"; }
|
|
||||||
Mod+Shift+Z { toggle-window-floating; }
|
|
||||||
|
|
||||||
Mod+B { spawn "${pkgs.ironbar}/bin/ironbar" "bar" "bar-1337" "toggle-visible"; }
|
|
||||||
Mod+F12 { spawn "${klem}/bin/klem"; }
|
|
||||||
|
|
||||||
Mod+Shift+Q { close-window; }
|
|
||||||
|
|
||||||
XF86AudioRaiseVolume allow-when-locked=true { spawn "${pkgs.pamixer}/bin/pamixer -i 5"; }
|
|
||||||
XF86AudioLowerVolume allow-when-locked=true { spawn "${pkgs.pamixer}/bin/pamixer -d 5"; }
|
|
||||||
XF86AudioMute allow-when-locked=true { spawn "${pkgs.pamixer}/bin/pamixer -t"; }
|
|
||||||
|
|
||||||
XF86AudioPause allow-when-locked=true { spawn "${pkgs.playerctl}/bin/playerctl play-pause"; }
|
|
||||||
XF86AudioPlay allow-when-locked=true { spawn "${pkgs.playerctl}/bin/playerctl play-pause"; }
|
|
||||||
XF86AudioNext allow-when-locked=true { spawn "${pkgs.playerctl}/bin/playerctl next"; }
|
|
||||||
XF86AudioPrev allow-when-locked=true { spawn "${pkgs.playerctl}/bin/playerctl previous"; }
|
|
||||||
XF86AudioStop allow-when-locked=true { spawn "${pkgs.playerctl}/bin/playerctl stop"; }
|
|
||||||
Print { spawn "flameshot gui"; }
|
|
||||||
Mod+Shift+W { spawn "swaylock"; }
|
|
||||||
|
|
||||||
Mod+Comma { consume-or-expel-window-left; }
|
|
||||||
Mod+Period { consume-or-expel-window-right; }
|
|
||||||
Mod+W { toggle-column-tabbed-display; }
|
|
||||||
Mod+A repeat=false { toggle-overview; }
|
|
||||||
Mod+F { maximize-column; }
|
|
||||||
Mod+C { center-column; }
|
|
||||||
Mod+Minus { set-column-width "-25%"; }
|
|
||||||
Mod+Plus { set-column-width "+25%"; }
|
|
||||||
|
|
||||||
Mod+Ctrl+0 { spawn "niri" "msg" "action" "switch-layout" "0"; }
|
|
||||||
Mod+Ctrl+1 { spawn "niri" "msg" "action" "switch-layout" "1"; }
|
|
||||||
Mod+Ctrl+2 { spawn "niri" "msg" "action" "switch-layout" "2"; }
|
|
||||||
Mod+Ctrl+3 { spawn "niri" "msg" "action" "switch-layout" "3"; }
|
|
||||||
Mod+Ctrl+4 { spawn "niri" "msg" "action" "switch-layout" "4"; }
|
|
||||||
Mod+Ctrl+5 { spawn "niri" "msg" "action" "switch-layout" "5"; }
|
|
||||||
Mod+Ctrl+6 { spawn "niri" "msg" "action" "switch-layout" "6"; }
|
|
||||||
Mod+Ctrl+7 { spawn "niri" "msg" "action" "switch-layout" "7"; }
|
|
||||||
Mod+Ctrl+8 { spawn "niri" "msg" "action" "switch-layout" "8"; }
|
|
||||||
Mod+Ctrl+9 { spawn "niri" "msg" "action" "switch-layout" "9"; }
|
|
||||||
|
|
||||||
Mod+H { focus-column-or-monitor-left; }
|
|
||||||
Mod+J { focus-window-or-workspace-down; }
|
|
||||||
Mod+K { focus-window-or-workspace-up; }
|
|
||||||
Mod+L { focus-column-or-monitor-right; }
|
|
||||||
|
|
||||||
Mod+Shift+H { move-column-left-or-to-monitor-left; }
|
|
||||||
Mod+Shift+J { move-window-down-or-to-workspace-down; }
|
|
||||||
Mod+Shift+K { move-window-up-or-to-workspace-up; }
|
|
||||||
Mod+Shift+L { move-column-right-or-to-monitor-right; }
|
|
||||||
|
|
||||||
Mod+Ctrl+H { focus-monitor-left; }
|
|
||||||
Mod+Ctrl+J { focus-monitor-down; }
|
|
||||||
Mod+Ctrl+K { focus-monitor-up; }
|
|
||||||
Mod+Ctrl+L { focus-monitor-right; }
|
|
||||||
|
|
||||||
Mod+Shift+Ctrl+H { move-column-to-monitor-left; }
|
|
||||||
Mod+Shift+Ctrl+J { move-column-to-workspace-down; }
|
|
||||||
Mod+Shift+Ctrl+K { move-column-to-workspace-up; }
|
|
||||||
Mod+Shift+Ctrl+L { move-column-to-monitor-right; }
|
|
||||||
|
|
||||||
Mod+Shift+Alt+Ctrl+H { move-workspace-to-monitor-left; }
|
|
||||||
Mod+Shift+Alt+Ctrl+J { move-workspace-down; }
|
|
||||||
Mod+Shift+Alt+Ctrl+K { move-workspace-up; }
|
|
||||||
Mod+Shift+Alt+Ctrl+L { move-workspace-to-monitor-right; }
|
|
||||||
|
|
||||||
Mod+1 { focus-workspace 1; }
|
|
||||||
Mod+2 { focus-workspace 2; }
|
|
||||||
Mod+3 { focus-workspace 3; }
|
|
||||||
Mod+4 { focus-workspace 4; }
|
|
||||||
Mod+5 { focus-workspace 5; }
|
|
||||||
Mod+6 { focus-workspace 6; }
|
|
||||||
Mod+7 { focus-workspace 7; }
|
|
||||||
Mod+8 { focus-workspace 8; }
|
|
||||||
Mod+9 { focus-workspace 9; }
|
|
||||||
Mod+0 { focus-workspace 10; }
|
|
||||||
|
|
||||||
Mod+Shift+1 { move-window-to-workspace "1"; }
|
|
||||||
Mod+Shift+2 { move-window-to-workspace "2"; }
|
|
||||||
Mod+Shift+3 { move-window-to-workspace "3"; }
|
|
||||||
Mod+Shift+4 { move-window-to-workspace "4"; }
|
|
||||||
Mod+Shift+5 { move-window-to-workspace "5"; }
|
|
||||||
Mod+Shift+6 { move-window-to-workspace "6"; }
|
|
||||||
Mod+Shift+7 { move-window-to-workspace "7"; }
|
|
||||||
Mod+Shift+8 { move-window-to-workspace "8"; }
|
|
||||||
Mod+Shift+9 { move-window-to-workspace "9"; }
|
|
||||||
Mod+Shift+0 { move-window-to-workspace "0"; }
|
|
||||||
}
|
|
||||||
'';
|
|
||||||
in
|
|
||||||
{
|
|
||||||
system.activationScripts.niriConfig = {
|
|
||||||
text = ''
|
|
||||||
cp ${pkgs.writeText "config.kdl" niriConfig} ${config.users.users.me.home}/.config/niri/config.kdl
|
|
||||||
chown ${config.users.users.me.name}:${config.users.users.me.group} ${config.users.users.me.home}/.config/niri/config.kdl
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
programs.niri.enable = true;
|
|
||||||
services.displayManager.defaultSession = lib.mkForce "niri";
|
|
||||||
home-manager.users.me = {
|
|
||||||
xdg.configFile."ironbar/style.css".text = ''
|
|
||||||
* {
|
|
||||||
font-size: 8pt;
|
|
||||||
font-family: "Gentium Plus", "BlexMono Nerd Font";
|
|
||||||
}
|
|
||||||
|
|
||||||
box, menubar, button {
|
|
||||||
background-color: unset;
|
|
||||||
box-shadow: none;
|
|
||||||
background-image: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.clock, .upower, .volume {
|
|
||||||
font-weight: unset;
|
|
||||||
}
|
|
||||||
|
|
||||||
tooltip * {
|
|
||||||
font-family: "BlexMono Nerd Font";
|
|
||||||
font-size: 7pt;
|
|
||||||
}
|
|
||||||
'';
|
|
||||||
xdg.configFile."ironbar/config.json".source = (pkgs.formats.json { }).generate "ironbar.json" {
|
|
||||||
name = "bar-1337";
|
|
||||||
height = 12;
|
|
||||||
layer = "top";
|
|
||||||
position = "bottom";
|
|
||||||
start = [ ];
|
|
||||||
center = [
|
|
||||||
{
|
|
||||||
type = "tray";
|
|
||||||
icon_size = 8;
|
|
||||||
}
|
|
||||||
{ type = "clipboard"; }
|
|
||||||
{ type = "notifications"; }
|
|
||||||
];
|
|
||||||
end = [
|
|
||||||
{
|
|
||||||
type = "upower";
|
|
||||||
icon_size = 8;
|
|
||||||
format = "{percentage}%";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
type = "label";
|
|
||||||
tooltip = "{{df -h --output=size,used,avail,pcent,target}}";
|
|
||||||
label = "\t{{5000:df -h / --output=avail | tail +2}}";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
type = "label";
|
|
||||||
tooltip = "{{free -Lh --si | awk '{for(i=1;i<=NF;i++){printf \"%s%s\", $i, (i%2? OFS: ORS)} if(NF%2) printf ORS}'}}";
|
|
||||||
label = "\t{{500:free -h --si | awk 'NR==2{printf $3 \"\\n\"}'}}";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
type = "label";
|
|
||||||
tooltip = "{{}}";
|
|
||||||
on_click_left = "pamixer -t";
|
|
||||||
on_scroll_up = "pamixer -i 1";
|
|
||||||
on_scroll_down = "pamixer -d 1";
|
|
||||||
label = "{{500:if $(pamixer --get-mute) = true; then echo ; else echo ; fi}}\t{{500:pamixer --get-volume}}%";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
type = "label";
|
|
||||||
tooltip = "{{uptime}}";
|
|
||||||
label = "\t{{500:uptime | sed 's/.*load average: \\([^ ]*\\);.*/\\1/' | tr ' ' '\n'}}";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
type = "label";
|
|
||||||
tooltip = "{{khal list today today -d astro-test-3 }}";
|
|
||||||
label = "";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
type = "label";
|
|
||||||
tooltip = "{{curl wttr.in/?0 | ${pkgs.ansifilter}/bin/ansifilter}}";
|
|
||||||
label = "";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
type = "label";
|
|
||||||
name = "cal";
|
|
||||||
tooltip = "{{cal}}";
|
|
||||||
label = "{{500:date +'<U+F017>\t%Y-%m-%d (%W %a) %H:%M'}}";
|
|
||||||
}
|
|
||||||
];
|
|
||||||
};
|
|
||||||
programs.alacritty.enable = true; # Super+T in the default setting (terminal)
|
|
||||||
programs.swaylock.enable = true; # Super+Alt+L in the default setting (screen locker)
|
|
||||||
services.swaync = {
|
|
||||||
enable = true;
|
|
||||||
settings = {
|
|
||||||
notification-window-width = 300;
|
|
||||||
control-center-width = 300;
|
|
||||||
widgets = [
|
|
||||||
"volume"
|
|
||||||
"mpris"
|
|
||||||
"title"
|
|
||||||
"dnd"
|
|
||||||
"notifications"
|
|
||||||
];
|
|
||||||
widget-config = {
|
|
||||||
title = {
|
|
||||||
text = "ⲡⲧⲏⲣϥ̄";
|
|
||||||
"clear-all-button" = true;
|
|
||||||
"button-text" = "ⲧⲁⲩⲟⲟⲩ";
|
|
||||||
};
|
|
||||||
dnd.text = "ⲙ̄ⲡⲣ̄ϣⲧⲣ̄ⲧⲱⲣⲧ̄";
|
|
||||||
label.text = "ⲧⲙⲏⲧⲉ";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
services.swayidle.enable = true; # idle management daemon
|
|
||||||
home.packages = with pkgs; [
|
|
||||||
xdg-desktop-portal-gnome
|
|
||||||
swaybg
|
|
||||||
];
|
|
||||||
};
|
|
||||||
services.gnome.gnome-keyring.enable = true; # secret service
|
|
||||||
security.pam.services.swaylock = { };
|
|
||||||
}
|
|
||||||
@@ -63,6 +63,9 @@ in {
|
|||||||
};
|
};
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
|
(pkgs.writers.writeDashBin "amfora" ''
|
||||||
|
${pkgs.st}/bin/st -e ${pkgs.amfora}/bin/amfora
|
||||||
|
'')
|
||||||
# INTERNET
|
# INTERNET
|
||||||
aria2
|
aria2
|
||||||
tdesktop
|
tdesktop
|
||||||
@@ -94,8 +97,9 @@ in {
|
|||||||
# HARDWARE TOOLS
|
# HARDWARE TOOLS
|
||||||
gnome-disk-utility
|
gnome-disk-utility
|
||||||
arandr # xrandr for noobs
|
arandr # xrandr for noobs
|
||||||
|
wdisplays
|
||||||
libnotify # for notify-send
|
libnotify # for notify-send
|
||||||
wl-clipboard # clipboard CLI
|
xclip # clipboard CLI
|
||||||
xdragon # drag and drop
|
xdragon # drag and drop
|
||||||
xorg.xkill # kill by clicking
|
xorg.xkill # kill by clicking
|
||||||
portfolio # personal finance overview
|
portfolio # personal finance overview
|
||||||
@@ -124,7 +128,7 @@ in {
|
|||||||
kdePackages.okular # the word is nucular
|
kdePackages.okular # the word is nucular
|
||||||
xournalpp # for annotating pdfs
|
xournalpp # for annotating pdfs
|
||||||
pdfpc # presenter console for pdf slides
|
pdfpc # presenter console for pdf slides
|
||||||
# niveumPackages.hc # print files as qr codes
|
niveumPackages.hc # print files as qr codes
|
||||||
yt-dlp
|
yt-dlp
|
||||||
espeak
|
espeak
|
||||||
rink # unit converter
|
rink # unit converter
|
||||||
@@ -144,7 +148,7 @@ in {
|
|||||||
niveumPackages.pls
|
niveumPackages.pls
|
||||||
niveumPackages.mpv-tv
|
niveumPackages.mpv-tv
|
||||||
niveumPackages.mpv-iptv
|
niveumPackages.mpv-iptv
|
||||||
# jellyfin-media-player
|
jellyfin-media-player
|
||||||
niveumPackages.devanagari
|
niveumPackages.devanagari
|
||||||
niveumPackages.betacode # ancient greek betacode to unicode converter
|
niveumPackages.betacode # ancient greek betacode to unicode converter
|
||||||
niveumPackages.meteo
|
niveumPackages.meteo
|
||||||
@@ -197,9 +201,6 @@ in {
|
|||||||
${pkgs.openssh}/bin/ssh makanek "cd /var/lib/weechat/logs && grep --ignore-case --color=always --recursive $@" | ${pkgs.less}/bin/less --raw-control-chars
|
${pkgs.openssh}/bin/ssh makanek "cd /var/lib/weechat/logs && grep --ignore-case --color=always --recursive $@" | ${pkgs.less}/bin/less --raw-control-chars
|
||||||
'')
|
'')
|
||||||
|
|
||||||
(pkgs.writers.writeDashBin "ncmpcpp-zaatar" ''MPD_HOST=${(import ../lib/local-network.nix).zaatar} exec ${pkgs.ncmpcpp}/bin/ncmpcpp "$@"'')
|
|
||||||
(pkgs.writers.writeDashBin "mpc-zaatar" ''MPD_HOST=${(import ../lib/local-network.nix).zaatar} exec ${pkgs.mpc_cli}/bin/mpc "$@"'')
|
|
||||||
|
|
||||||
inputs.scripts.packages.x86_64-linux.alarm
|
inputs.scripts.packages.x86_64-linux.alarm
|
||||||
|
|
||||||
spotify
|
spotify
|
||||||
@@ -240,7 +241,7 @@ in {
|
|||||||
nodePackages.csslint
|
nodePackages.csslint
|
||||||
nodePackages.jsonlint
|
nodePackages.jsonlint
|
||||||
deno # better node.js
|
deno # better node.js
|
||||||
# texlive.combined.scheme-full
|
texlive.combined.scheme-full
|
||||||
latexrun
|
latexrun
|
||||||
(aspellWithDicts (dict: [dict.de dict.en dict.en-computers]))
|
(aspellWithDicts (dict: [dict.de dict.en dict.en-computers]))
|
||||||
# haskellPackages.pandoc-citeproc
|
# haskellPackages.pandoc-citeproc
|
||||||
|
|||||||
@@ -3,5 +3,6 @@
|
|||||||
location = {
|
location = {
|
||||||
latitude = 52.517;
|
latitude = 52.517;
|
||||||
longitude = 13.3872;
|
longitude = 13.3872;
|
||||||
|
provider = "geoclue2";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ in {
|
|||||||
stylix.enable = true;
|
stylix.enable = true;
|
||||||
stylix.image = generatedWallpaper;
|
stylix.image = generatedWallpaper;
|
||||||
|
|
||||||
stylix.base16Scheme = "${pkgs.base16-schemes}/share/themes/ayu-light.yaml";
|
stylix.base16Scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-light-medium.yaml";
|
||||||
|
|
||||||
stylix.cursor = {
|
stylix.cursor = {
|
||||||
name = "capitaine-cursors-white";
|
name = "capitaine-cursors-white";
|
||||||
@@ -26,6 +26,9 @@ in {
|
|||||||
size = 12;
|
size = 12;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
home-manager.users.me = {
|
||||||
|
stylix.autoEnable = true;
|
||||||
|
};
|
||||||
|
|
||||||
# environment.etc."stylix/wallpaper.png".source = generatedWallpaper;
|
# environment.etc."stylix/wallpaper.png".source = generatedWallpaper;
|
||||||
|
|
||||||
@@ -52,18 +55,18 @@ in {
|
|||||||
|
|
||||||
stylix.fonts = {
|
stylix.fonts = {
|
||||||
serif = {
|
serif = {
|
||||||
package = pkgs.gentium;
|
package = pkgs.noto-fonts;
|
||||||
name = "Gentium Plus";
|
name = "Noto Serif";
|
||||||
};
|
};
|
||||||
|
|
||||||
sansSerif = {
|
sansSerif = {
|
||||||
package = pkgs.gentium;
|
package = pkgs.noto-fonts;
|
||||||
name = "Gentium Plus";
|
name = "Noto Sans";
|
||||||
};
|
};
|
||||||
|
|
||||||
monospace = {
|
monospace = {
|
||||||
package = pkgs.nerd-fonts.blex-mono;
|
package = pkgs.noto-fonts;
|
||||||
name = "BlexMono Nerd Font";
|
name = "Noto Sans Mono";
|
||||||
};
|
};
|
||||||
|
|
||||||
emoji = {
|
emoji = {
|
||||||
|
|||||||
@@ -13,7 +13,7 @@
|
|||||||
aggressiveResize = true;
|
aggressiveResize = true;
|
||||||
escapeTime = 50;
|
escapeTime = 50;
|
||||||
historyLimit = 7000;
|
historyLimit = 7000;
|
||||||
shortcut = "a";
|
shortcut = "b";
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
set -g mouse on
|
set -g mouse on
|
||||||
|
|
||||||
@@ -37,15 +37,6 @@
|
|||||||
set -g status-left-length 32
|
set -g status-left-length 32
|
||||||
set -g status-right-length 150
|
set -g status-right-length 150
|
||||||
|
|
||||||
set -g status-bg colour242
|
|
||||||
|
|
||||||
setw -g window-status-format "#[fg=colour12,bg=colour233] #I #[fg=white,bg=colour237] #W "
|
|
||||||
setw -g window-status-current-format "#[fg=colour12,bg=colour233] * #[fg=white,bg=colour237,bold] #W "
|
|
||||||
|
|
||||||
set -g status-left ""
|
|
||||||
set -g status-right "#[fg=colour255,bg=colour237,bold] #(hostname -I) #[default]#[fg=colour12,bg=colour233] %FT%R "
|
|
||||||
set -g status-justify left
|
|
||||||
|
|
||||||
set -g status-position bottom
|
set -g status-position bottom
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1,6 +1,9 @@
|
|||||||
|
{ config, ... }:
|
||||||
{
|
{
|
||||||
networking.wireless = {
|
networking.wireless = {
|
||||||
enable = true;
|
enable = true;
|
||||||
networks.Aether.pskRaw = "e1b18af54036c5c9a747fe681c6a694636d60a5f8450f7dec0d76bc93e2ec85a";
|
secretsFile = config.age.secrets.wifi.path;
|
||||||
|
# networks.Aether.pskRaw = "e1b18af54036c5c9a747fe681c6a694636d60a5f8450f7dec0d76bc93e2ec85a";
|
||||||
|
networks.Schilfpalast.pskRaw = "ext:schilfpalast";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
501
flake.lock
generated
501
flake.lock
generated
@@ -12,11 +12,11 @@
|
|||||||
"systems": "systems"
|
"systems": "systems"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1750173260,
|
"lastModified": 1754433428,
|
||||||
"narHash": "sha256-9P1FziAwl5+3edkfFcr5HeGtQUtrSdk/MksX39GieoA=",
|
"narHash": "sha256-NA/FT2hVhKDftbHSwVnoRTFhes62+7dxZbxj5Gxvghs=",
|
||||||
"owner": "ryantm",
|
"owner": "ryantm",
|
||||||
"repo": "agenix",
|
"repo": "agenix",
|
||||||
"rev": "531beac616433bac6f9e2a19feb8e99a22a66baf",
|
"rev": "9edb1787864c4f59ae5074ad498b6272b3ec308d",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -90,11 +90,11 @@
|
|||||||
"base16-helix": {
|
"base16-helix": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1736852337,
|
"lastModified": 1748408240,
|
||||||
"narHash": "sha256-esD42YdgLlEh7koBrSqcT7p2fsMctPAcGl/+2sYJa2o=",
|
"narHash": "sha256-9M2b1rMyMzJK0eusea0x3lyh3mu5nMeEDSc4RZkGm+g=",
|
||||||
"owner": "tinted-theming",
|
"owner": "tinted-theming",
|
||||||
"repo": "base16-helix",
|
"repo": "base16-helix",
|
||||||
"rev": "03860521c40b0b9c04818f2218d9cc9efc21e7a5",
|
"rev": "6c711ab1a9db6f51e2f6887cc3345530b33e152e",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -178,40 +178,19 @@
|
|||||||
"stockholm",
|
"stockholm",
|
||||||
"nixpkgs"
|
"nixpkgs"
|
||||||
],
|
],
|
||||||
"treefmt-nix": "treefmt-nix_3"
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1746626503,
|
|
||||||
"narHash": "sha256-mRnIdJLP+0NSim9ao30ue0Z3ttSuxzXwQG7UN1KuKfU=",
|
|
||||||
"owner": "Mic92",
|
|
||||||
"repo": "buildbot-nix",
|
|
||||||
"rev": "7ad9b4886eccb5eecc0686a16266ddabf6cbefe9",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "Mic92",
|
|
||||||
"repo": "buildbot-nix",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"centerpiece": {
|
|
||||||
"inputs": {
|
|
||||||
"crane": "crane",
|
|
||||||
"home-manager": "home-manager",
|
|
||||||
"nixpkgs": "nixpkgs_2",
|
|
||||||
"treefmt-nix": "treefmt-nix"
|
"treefmt-nix": "treefmt-nix"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1745697341,
|
"lastModified": 1751515480,
|
||||||
"narHash": "sha256-KDYRly/9IKDBmH3D6Jv4BkVer3u/uwkQIXR0vhAuqro=",
|
"narHash": "sha256-vCYcc/b8WizF6vnjuRVxSiU8hy9L3vOTWDVKpWM7xRE=",
|
||||||
"owner": "friedow",
|
"owner": "Mic92",
|
||||||
"repo": "centerpiece",
|
"repo": "buildbot-nix",
|
||||||
"rev": "2a610e8e0a6b65b733ea98f2ca602235f695b4f3",
|
"rev": "47ad4c7afb169df6f9d48d0df3d7e2f71d9ddd8f",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "friedow",
|
"owner": "Mic92",
|
||||||
"repo": "centerpiece",
|
"repo": "buildbot-nix",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -260,21 +239,6 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"crane": {
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1742394900,
|
|
||||||
"narHash": "sha256-vVOAp9ahvnU+fQoKd4SEXB2JG2wbENkpqcwlkIXgUC0=",
|
|
||||||
"owner": "ipetkov",
|
|
||||||
"repo": "crane",
|
|
||||||
"rev": "70947c1908108c0c551ddfd73d4f750ff2ea67cd",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "ipetkov",
|
|
||||||
"repo": "crane",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"darwin": {
|
"darwin": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
@@ -323,7 +287,7 @@
|
|||||||
},
|
},
|
||||||
"fenix": {
|
"fenix": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": "nixpkgs_7",
|
"nixpkgs": "nixpkgs_4",
|
||||||
"rust-analyzer-src": "rust-analyzer-src"
|
"rust-analyzer-src": "rust-analyzer-src"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
@@ -343,11 +307,11 @@
|
|||||||
"firefox-gnome-theme": {
|
"firefox-gnome-theme": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1744642301,
|
"lastModified": 1748383148,
|
||||||
"narHash": "sha256-5A6LL7T0lttn1vrKsNOKUk9V0ittdW0VEqh6AtefxJ4=",
|
"narHash": "sha256-pGvD/RGuuPf/4oogsfeRaeMm6ipUIznI2QSILKjKzeA=",
|
||||||
"owner": "rafaelmardojai",
|
"owner": "rafaelmardojai",
|
||||||
"repo": "firefox-gnome-theme",
|
"repo": "firefox-gnome-theme",
|
||||||
"rev": "59e3de00f01e5adb851d824cf7911bd90c31083a",
|
"rev": "4eb2714fbed2b80e234312611a947d6cb7d70caf",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -372,21 +336,6 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"flake-compat_2": {
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1733328505,
|
|
||||||
"narHash": "sha256-NeCCThCEP3eCl2l/+27kNNK7QrwZB1IJCrXfrbv5oqU=",
|
|
||||||
"owner": "edolstra",
|
|
||||||
"repo": "flake-compat",
|
|
||||||
"rev": "ff81ac966bb2cae68946d5ed5fc4994f96d0ffec",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "edolstra",
|
|
||||||
"repo": "flake-compat",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"flake-parts": {
|
"flake-parts": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs-lib": [
|
"nixpkgs-lib": [
|
||||||
@@ -417,11 +366,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1743550720,
|
"lastModified": 1751413152,
|
||||||
"narHash": "sha256-hIshGgKZCgWh6AYJpJmRgFdR3WUbkY04o82X05xqQiY=",
|
"narHash": "sha256-Tyw1RjYEsp5scoigs1384gIg6e0GoBVjms4aXFfRssQ=",
|
||||||
"owner": "hercules-ci",
|
"owner": "hercules-ci",
|
||||||
"repo": "flake-parts",
|
"repo": "flake-parts",
|
||||||
"rev": "c621e8422220273271f52058f618c94e405bb0f5",
|
"rev": "77826244401ea9de6e3bac47c2db46005e1f30b5",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -438,11 +387,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1733312601,
|
"lastModified": 1749398372,
|
||||||
"narHash": "sha256-4pDvzqnegAfRkPwO3wmwBhVi/Sye1mzps0zHWYnP88c=",
|
"narHash": "sha256-tYBdgS56eXYaWVW3fsnPQ/nFlgWi/Z2Ymhyu21zVM98=",
|
||||||
"owner": "hercules-ci",
|
"owner": "hercules-ci",
|
||||||
"repo": "flake-parts",
|
"repo": "flake-parts",
|
||||||
"rev": "205b12d8b7cd4802fbcb8e8ef6a0f1408781a4f9",
|
"rev": "9305fe4e5c2a6fcf5ba6a3ff155720fbe4076569",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -567,54 +516,6 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"git-hooks": {
|
|
||||||
"inputs": {
|
|
||||||
"flake-compat": [
|
|
||||||
"stylix",
|
|
||||||
"flake-compat"
|
|
||||||
],
|
|
||||||
"gitignore": "gitignore",
|
|
||||||
"nixpkgs": [
|
|
||||||
"stylix",
|
|
||||||
"nixpkgs"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1742649964,
|
|
||||||
"narHash": "sha256-DwOTp7nvfi8mRfuL1escHDXabVXFGT1VlPD1JHrtrco=",
|
|
||||||
"owner": "cachix",
|
|
||||||
"repo": "git-hooks.nix",
|
|
||||||
"rev": "dcf5072734cb576d2b0c59b2ac44f5050b5eac82",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "cachix",
|
|
||||||
"repo": "git-hooks.nix",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"gitignore": {
|
|
||||||
"inputs": {
|
|
||||||
"nixpkgs": [
|
|
||||||
"stylix",
|
|
||||||
"git-hooks",
|
|
||||||
"nixpkgs"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1709087332,
|
|
||||||
"narHash": "sha256-HG2cCnktfHsKV0s4XW83gU3F57gaTljL9KNSuG6bnQs=",
|
|
||||||
"owner": "hercules-ci",
|
|
||||||
"repo": "gitignore.nix",
|
|
||||||
"rev": "637db329424fd7e46cf4185293b9cc8c88c95394",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "hercules-ci",
|
|
||||||
"repo": "gitignore.nix",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"gnome-shell": {
|
"gnome-shell": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
@@ -646,11 +547,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1744693102,
|
"lastModified": 1748000383,
|
||||||
"narHash": "sha256-1Z4WPGVky4w3lrhrgs89OKsLzPdtkbi1bPLNFWsoLfY=",
|
"narHash": "sha256-EaAJhwfJGBncgIV/0NlJviid2DP93cTMc9h0q6P6xXk=",
|
||||||
"owner": "hercules-ci",
|
"owner": "hercules-ci",
|
||||||
"repo": "hercules-ci-effects",
|
"repo": "hercules-ci-effects",
|
||||||
"rev": "5b6cec51c9ec095a0d3fd4c8eeb53eb5c59ae33e",
|
"rev": "231726642197817d20310b9d39dd4afb9e899489",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -660,24 +561,6 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"home-manager": {
|
"home-manager": {
|
||||||
"inputs": {
|
|
||||||
"nixpkgs": "nixpkgs"
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1743259333,
|
|
||||||
"narHash": "sha256-2Fi3K++co4IGbeOLGXdRA6VEfbzQzMgcuBaPTyjfj0s=",
|
|
||||||
"owner": "nix-community",
|
|
||||||
"repo": "home-manager",
|
|
||||||
"rev": "1f679ed2a2ebe3894bad9f89fb0bd9f141c28a68",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "nix-community",
|
|
||||||
"repo": "home-manager",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"home-manager_2": {
|
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
"coptic-dictionary",
|
"coptic-dictionary",
|
||||||
@@ -700,18 +583,18 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"home-manager_3": {
|
"home-manager_2": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
"nixpkgs"
|
"nixpkgs"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1749154018,
|
"lastModified": 1758463745,
|
||||||
"narHash": "sha256-gjN3j7joRvT3a8Zgcylnd4NFsnXeDBumqiu4HmY1RIg=",
|
"narHash": "sha256-uhzsV0Q0I9j2y/rfweWeGif5AWe0MGrgZ/3TjpDYdGA=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "7aae0ee71a17b19708b93b3ed448a1a0952bf111",
|
"rev": "3b955f5f0a942f9f60cdc9cacb7844335d0f21c3",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -789,7 +672,7 @@
|
|||||||
"inputs": {
|
"inputs": {
|
||||||
"fenix": "fenix",
|
"fenix": "fenix",
|
||||||
"flake-utils": "flake-utils_4",
|
"flake-utils": "flake-utils_4",
|
||||||
"nixpkgs": "nixpkgs_8"
|
"nixpkgs": "nixpkgs_5"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1702906210,
|
"lastModified": 1702906210,
|
||||||
@@ -868,12 +751,12 @@
|
|||||||
"agenix": "agenix_2",
|
"agenix": "agenix_2",
|
||||||
"coptic-dictionary": "coptic-dictionary_2",
|
"coptic-dictionary": "coptic-dictionary_2",
|
||||||
"flake-utils": "flake-utils",
|
"flake-utils": "flake-utils",
|
||||||
"home-manager": "home-manager_2",
|
"home-manager": "home-manager",
|
||||||
"menstruation-backend": "menstruation-backend",
|
"menstruation-backend": "menstruation-backend",
|
||||||
"menstruation-telegram": "menstruation-telegram",
|
"menstruation-telegram": "menstruation-telegram",
|
||||||
"nix-on-droid": "nix-on-droid",
|
"nix-on-droid": "nix-on-droid",
|
||||||
"nixinate": "nixinate",
|
"nixinate": "nixinate",
|
||||||
"nixpkgs": "nixpkgs_4",
|
"nixpkgs": "nixpkgs",
|
||||||
"nixpkgs-old": "nixpkgs-old",
|
"nixpkgs-old": "nixpkgs-old",
|
||||||
"nixpkgs-unstable": "nixpkgs-unstable",
|
"nixpkgs-unstable": "nixpkgs-unstable",
|
||||||
"nur": "nur",
|
"nur": "nur",
|
||||||
@@ -1048,7 +931,7 @@
|
|||||||
},
|
},
|
||||||
"nixinate_2": {
|
"nixinate_2": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": "nixpkgs_9"
|
"nixpkgs": "nixpkgs_6"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1742737607,
|
"lastModified": 1742737607,
|
||||||
@@ -1066,16 +949,16 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1742669843,
|
"lastModified": 1693636127,
|
||||||
"narHash": "sha256-G5n+FOXLXcRx+3hCJ6Rt6ZQyF1zqQ0DL0sWAMn2Nk0w=",
|
"narHash": "sha256-ZlS/lFGzK7BJXX2YVGnP3yZi3T9OLOEtBCyMJsb91U8=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "1e5b653dff12029333a6546c11e108ede13052eb",
|
"rev": "9075cba53e86dc318d159aee55dc9a7c9a4829c1",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"ref": "nixos-unstable",
|
"ref": "nixos-23.05",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
@@ -1162,11 +1045,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs-unstable_2": {
|
"nixpkgs-unstable_2": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1750553127,
|
"lastModified": 1759020602,
|
||||||
"narHash": "sha256-zgPnxYqkf/CEl5m/lx02D+FaLWPRUM/RLo/qekTuu8Q=",
|
"narHash": "sha256-ErLebwKC0NtNRNoB1LXGOGGdbMh3ISHwA4c2IXhizBc=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "ba476a871a35075644c3340b3651101ddf77ee0d",
|
"rev": "b4e45ea433693436c60b320d78698fabb6d1d366",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -1177,54 +1060,6 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixpkgs_10": {
|
"nixpkgs_10": {
|
||||||
"locked": {
|
|
||||||
"lastModified": 1750400657,
|
|
||||||
"narHash": "sha256-3vkjFnxCOP6vm5Pm13wC/Zy6/VYgei/I/2DWgW4RFeA=",
|
|
||||||
"owner": "NixOS",
|
|
||||||
"repo": "nixpkgs",
|
|
||||||
"rev": "b2485d56967598da068b5a6946dadda8bfcbcd37",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "NixOS",
|
|
||||||
"ref": "nixos-25.05",
|
|
||||||
"repo": "nixpkgs",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"nixpkgs_11": {
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1750365781,
|
|
||||||
"narHash": "sha256-XE/lFNhz5lsriMm/yjXkvSZz5DfvKJLUjsS6pP8EC50=",
|
|
||||||
"owner": "nixos",
|
|
||||||
"repo": "nixpkgs",
|
|
||||||
"rev": "08f22084e6085d19bcfb4be30d1ca76ecb96fe54",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "nixos",
|
|
||||||
"ref": "nixos-unstable",
|
|
||||||
"repo": "nixpkgs",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"nixpkgs_12": {
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1746904237,
|
|
||||||
"narHash": "sha256-3e+AVBczosP5dCLQmMoMEogM57gmZ2qrVSrmq9aResQ=",
|
|
||||||
"owner": "NixOS",
|
|
||||||
"repo": "nixpkgs",
|
|
||||||
"rev": "d89fc19e405cb2d55ce7cc114356846a0ee5e956",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "NixOS",
|
|
||||||
"ref": "nixos-unstable",
|
|
||||||
"repo": "nixpkgs",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"nixpkgs_13": {
|
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1659446231,
|
"lastModified": 1659446231,
|
||||||
"narHash": "sha256-hekabNdTdgR/iLsgce5TGWmfIDZ86qjPhxDg/8TlzhE=",
|
"narHash": "sha256-hekabNdTdgR/iLsgce5TGWmfIDZ86qjPhxDg/8TlzhE=",
|
||||||
@@ -1240,7 +1075,7 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixpkgs_14": {
|
"nixpkgs_11": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1615532953,
|
"lastModified": 1615532953,
|
||||||
"narHash": "sha256-SWpaGjrp/INzorEqMz3HLi6Uuk9I0KAn4YS8B4n3q5g=",
|
"narHash": "sha256-SWpaGjrp/INzorEqMz3HLi6Uuk9I0KAn4YS8B4n3q5g=",
|
||||||
@@ -1254,54 +1089,6 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixpkgs_2": {
|
"nixpkgs_2": {
|
||||||
"locked": {
|
|
||||||
"lastModified": 1743076231,
|
|
||||||
"narHash": "sha256-yQugdVfi316qUfqzN8JMaA2vixl+45GxNm4oUfXlbgw=",
|
|
||||||
"owner": "NixOS",
|
|
||||||
"repo": "nixpkgs",
|
|
||||||
"rev": "6c5963357f3c1c840201eda129a99d455074db04",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "NixOS",
|
|
||||||
"ref": "nixpkgs-unstable",
|
|
||||||
"repo": "nixpkgs",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"nixpkgs_3": {
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1735554305,
|
|
||||||
"narHash": "sha256-zExSA1i/b+1NMRhGGLtNfFGXgLtgo+dcuzHzaWA6w3Q=",
|
|
||||||
"owner": "nixos",
|
|
||||||
"repo": "nixpkgs",
|
|
||||||
"rev": "0e82ab234249d8eee3e8c91437802b32c74bb3fd",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "nixos",
|
|
||||||
"ref": "nixpkgs-unstable",
|
|
||||||
"repo": "nixpkgs",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"nixpkgs_4": {
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1693636127,
|
|
||||||
"narHash": "sha256-ZlS/lFGzK7BJXX2YVGnP3yZi3T9OLOEtBCyMJsb91U8=",
|
|
||||||
"owner": "NixOS",
|
|
||||||
"repo": "nixpkgs",
|
|
||||||
"rev": "9075cba53e86dc318d159aee55dc9a7c9a4829c1",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "NixOS",
|
|
||||||
"ref": "nixos-23.05",
|
|
||||||
"repo": "nixpkgs",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"nixpkgs_5": {
|
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1659446231,
|
"lastModified": 1659446231,
|
||||||
"narHash": "sha256-hekabNdTdgR/iLsgce5TGWmfIDZ86qjPhxDg/8TlzhE=",
|
"narHash": "sha256-hekabNdTdgR/iLsgce5TGWmfIDZ86qjPhxDg/8TlzhE=",
|
||||||
@@ -1317,7 +1104,7 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixpkgs_6": {
|
"nixpkgs_3": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1615532953,
|
"lastModified": 1615532953,
|
||||||
"narHash": "sha256-SWpaGjrp/INzorEqMz3HLi6Uuk9I0KAn4YS8B4n3q5g=",
|
"narHash": "sha256-SWpaGjrp/INzorEqMz3HLi6Uuk9I0KAn4YS8B4n3q5g=",
|
||||||
@@ -1330,7 +1117,7 @@
|
|||||||
"type": "indirect"
|
"type": "indirect"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixpkgs_7": {
|
"nixpkgs_4": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1701436327,
|
"lastModified": 1701436327,
|
||||||
"narHash": "sha256-tRHbnoNI8SIM5O5xuxOmtSLnswEByzmnQcGGyNRjxsE=",
|
"narHash": "sha256-tRHbnoNI8SIM5O5xuxOmtSLnswEByzmnQcGGyNRjxsE=",
|
||||||
@@ -1346,7 +1133,7 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixpkgs_8": {
|
"nixpkgs_5": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1701436327,
|
"lastModified": 1701436327,
|
||||||
"narHash": "sha256-tRHbnoNI8SIM5O5xuxOmtSLnswEByzmnQcGGyNRjxsE=",
|
"narHash": "sha256-tRHbnoNI8SIM5O5xuxOmtSLnswEByzmnQcGGyNRjxsE=",
|
||||||
@@ -1362,17 +1149,65 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"nixpkgs_6": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1653060744,
|
||||||
|
"narHash": "sha256-kfRusllRumpt33J1hPV+CeCCylCXEU7e0gn2/cIM7cY=",
|
||||||
|
"owner": "nixos",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"rev": "dfd82985c273aac6eced03625f454b334daae2e8",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "nixos",
|
||||||
|
"ref": "nixos-unstable",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"nixpkgs_7": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1758791193,
|
||||||
|
"narHash": "sha256-F8WmEwFoHsnix7rt290R0rFXNJiMbClMZyIC/e+HYf0=",
|
||||||
|
"owner": "NixOS",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"rev": "25e53aa156d47bad5082ff7618f5feb1f5e02d01",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "NixOS",
|
||||||
|
"ref": "nixos-25.05",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"nixpkgs_8": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1758690382,
|
||||||
|
"narHash": "sha256-NY3kSorgqE5LMm1LqNwGne3ZLMF2/ILgLpFr1fS4X3o=",
|
||||||
|
"owner": "nixos",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"rev": "e643668fd71b949c53f8626614b21ff71a07379d",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "nixos",
|
||||||
|
"ref": "nixos-unstable",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"nixpkgs_9": {
|
"nixpkgs_9": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1653060744,
|
"lastModified": 1751792365,
|
||||||
"narHash": "sha256-kfRusllRumpt33J1hPV+CeCCylCXEU7e0gn2/cIM7cY=",
|
"narHash": "sha256-J1kI6oAj25IG4EdVlg2hQz8NZTBNYvIS0l4wpr9KcUo=",
|
||||||
"owner": "nixos",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "dfd82985c273aac6eced03625f454b334daae2e8",
|
"rev": "1fd8bada0b6117e6c7eb54aad5813023eed37ccb",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "nixos",
|
"owner": "NixOS",
|
||||||
"ref": "nixos-unstable",
|
"ref": "nixos-unstable",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
@@ -1492,15 +1327,14 @@
|
|||||||
"nur_2": {
|
"nur_2": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"flake-parts": "flake-parts",
|
"flake-parts": "flake-parts",
|
||||||
"nixpkgs": "nixpkgs_11",
|
"nixpkgs": "nixpkgs_8"
|
||||||
"treefmt-nix": "treefmt-nix_2"
|
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1750553086,
|
"lastModified": 1759009476,
|
||||||
"narHash": "sha256-rtItxhQM+Zkd2ys/lT2MoXCUVEhyj51Em5o9Wd6qqGU=",
|
"narHash": "sha256-GjQOvevIwjZ71Q7OQSKKMrJ9eR2FfBJwYiK60hlzsC8=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "NUR",
|
"repo": "NUR",
|
||||||
"rev": "8d68e170fd6f9e8b8921db79419c209a1aeabc36",
|
"rev": "48446fc335b69c4de9ee9a457d77bf785e31d18d",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -1519,14 +1353,14 @@
|
|||||||
"stylix",
|
"stylix",
|
||||||
"nixpkgs"
|
"nixpkgs"
|
||||||
],
|
],
|
||||||
"treefmt-nix": "treefmt-nix_4"
|
"treefmt-nix": "treefmt-nix_2"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1746056780,
|
"lastModified": 1751320053,
|
||||||
"narHash": "sha256-/emueQGaoT4vu0QjU9LDOG5roxRSfdY0K2KkxuzazcM=",
|
"narHash": "sha256-3m6RMw0FbbaUUa01PNaMLoO7D99aBClmY5ed9V3vz+0=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "NUR",
|
"repo": "NUR",
|
||||||
"rev": "d476cd0972dd6242d76374fcc277e6735715c167",
|
"rev": "cbde1735782f9c2bb2c63d5e05fba171a14a4670",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -1604,11 +1438,11 @@
|
|||||||
},
|
},
|
||||||
"retiolum_2": {
|
"retiolum_2": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1740597428,
|
"lastModified": 1756302470,
|
||||||
"narHash": "sha256-WyGfu6MvNXrkcbUCwNGX59UvIj38+xvIgZEZRdp49lI=",
|
"narHash": "sha256-uPxzGBAugKayJywTixtipZ6UmoyEwu9t1hwV8PebzS0=",
|
||||||
"owner": "krebs",
|
"owner": "krebs",
|
||||||
"repo": "retiolum",
|
"repo": "retiolum",
|
||||||
"rev": "1fa596dc8b176c9ea35823b33f8579c6d96fb7f9",
|
"rev": "17d947cc08bb17ee979e6332e35f89d64033e204",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -1620,15 +1454,14 @@
|
|||||||
"root": {
|
"root": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"agenix": "agenix",
|
"agenix": "agenix",
|
||||||
"centerpiece": "centerpiece",
|
|
||||||
"coptic-dictionary": "coptic-dictionary",
|
"coptic-dictionary": "coptic-dictionary",
|
||||||
"flake-utils": "flake-utils_3",
|
"flake-utils": "flake-utils_3",
|
||||||
"home-manager": "home-manager_3",
|
"home-manager": "home-manager_2",
|
||||||
"menstruation-backend": "menstruation-backend_2",
|
"menstruation-backend": "menstruation-backend_2",
|
||||||
"menstruation-telegram": "menstruation-telegram_2",
|
"menstruation-telegram": "menstruation-telegram_2",
|
||||||
"nix-on-droid": "nix-on-droid_2",
|
"nix-on-droid": "nix-on-droid_2",
|
||||||
"nixinate": "nixinate_2",
|
"nixinate": "nixinate_2",
|
||||||
"nixpkgs": "nixpkgs_10",
|
"nixpkgs": "nixpkgs_7",
|
||||||
"nixpkgs-old": "nixpkgs-old_2",
|
"nixpkgs-old": "nixpkgs-old_2",
|
||||||
"nixpkgs-unstable": "nixpkgs-unstable_2",
|
"nixpkgs-unstable": "nixpkgs-unstable_2",
|
||||||
"nur": "nur_2",
|
"nur": "nur_2",
|
||||||
@@ -1696,11 +1529,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1750473400,
|
"lastModified": 1758940228,
|
||||||
"narHash": "sha256-wiW2j63MyGQyyijRF25hf7Ab7vx4G8pCiGjUe3OGV4c=",
|
"narHash": "sha256-sTS04L9LKqzP1oiVXYDwcMzfFSF0DnSJQFzZBpEgLFE=",
|
||||||
"owner": "oxalica",
|
"owner": "oxalica",
|
||||||
"repo": "rust-overlay",
|
"repo": "rust-overlay",
|
||||||
"rev": "3d7d4c4e284f26d6dc4840491c66884912be0062",
|
"rev": "5bfedf3fbbf5caf8e39f7fcd62238f54d82aa1e2",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -1754,11 +1587,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1748892379,
|
"lastModified": 1753033513,
|
||||||
"narHash": "sha256-mDDxMwKFURX1K1Z8X/kmt+jYjswofDf0br+Mkw2tmSE=",
|
"narHash": "sha256-TnfXFloY4Ntq+0hp+q9GGmuhtB1oueFiB+pcBUNYzFs=",
|
||||||
"owner": "kmein",
|
"owner": "kmein",
|
||||||
"repo": "scripts",
|
"repo": "scripts",
|
||||||
"rev": "f44c7a4a6caa1ef5d6b7bf7e93acea0d96f30c21",
|
"rev": "cc37fa4aec70f53731b9131bb8830b4445b75b3d",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -1771,14 +1604,14 @@
|
|||||||
"inputs": {
|
"inputs": {
|
||||||
"buildbot-nix": "buildbot-nix",
|
"buildbot-nix": "buildbot-nix",
|
||||||
"nix-writers": "nix-writers",
|
"nix-writers": "nix-writers",
|
||||||
"nixpkgs": "nixpkgs_12"
|
"nixpkgs": "nixpkgs_9"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1747157099,
|
"lastModified": 1754761025,
|
||||||
"narHash": "sha256-i2s6jU+8GLKVjhWDyvFYxmXI7A44c9p6apPPyKt0ETk=",
|
"narHash": "sha256-Mo2BkJXIz6HKM8cX2S7bRdX6Q3E1UOcyVL4v10QEUzk=",
|
||||||
"owner": "krebs",
|
"owner": "krebs",
|
||||||
"repo": "stockholm",
|
"repo": "stockholm",
|
||||||
"rev": "d4abc837cc7b87b4f23fe48cc306df26e3de7aab",
|
"rev": "fc32e4609140fffa1312a4ca1aeea550b7467448",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -1824,13 +1657,8 @@
|
|||||||
"base16-helix": "base16-helix",
|
"base16-helix": "base16-helix",
|
||||||
"base16-vim": "base16-vim",
|
"base16-vim": "base16-vim",
|
||||||
"firefox-gnome-theme": "firefox-gnome-theme",
|
"firefox-gnome-theme": "firefox-gnome-theme",
|
||||||
"flake-compat": "flake-compat_2",
|
|
||||||
"flake-parts": "flake-parts_3",
|
"flake-parts": "flake-parts_3",
|
||||||
"git-hooks": "git-hooks",
|
|
||||||
"gnome-shell": "gnome-shell",
|
"gnome-shell": "gnome-shell",
|
||||||
"home-manager": [
|
|
||||||
"home-manager"
|
|
||||||
],
|
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
"nixpkgs"
|
"nixpkgs"
|
||||||
],
|
],
|
||||||
@@ -1843,11 +1671,11 @@
|
|||||||
"tinted-zed": "tinted-zed"
|
"tinted-zed": "tinted-zed"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1750370365,
|
"lastModified": 1758752640,
|
||||||
"narHash": "sha256-Yblt2LusglzBXlg+ekckztIUgvl1WQwJ7gLRJEt/IHE=",
|
"narHash": "sha256-UYkixkkd3VgoO7NeSlKcaE3Glt1r1FHmBlziwYijgMQ=",
|
||||||
"owner": "danth",
|
"owner": "danth",
|
||||||
"repo": "stylix",
|
"repo": "stylix",
|
||||||
"rev": "cc82dae884f45ffeb996d2b5116afa70933e507f",
|
"rev": "fdfa65624eed1e28960c24a27ba27fffc92e9a32",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -1935,7 +1763,7 @@
|
|||||||
"telebots": {
|
"telebots": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"flake-utils": "flake-utils_2",
|
"flake-utils": "flake-utils_2",
|
||||||
"nixpkgs": "nixpkgs_5"
|
"nixpkgs": "nixpkgs_2"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1677156381,
|
"lastModified": 1677156381,
|
||||||
@@ -1954,7 +1782,7 @@
|
|||||||
"telebots_2": {
|
"telebots_2": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"flake-utils": "flake-utils_5",
|
"flake-utils": "flake-utils_5",
|
||||||
"nixpkgs": "nixpkgs_13"
|
"nixpkgs": "nixpkgs_10"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1703313352,
|
"lastModified": 1703313352,
|
||||||
@@ -2064,11 +1892,11 @@
|
|||||||
"tinted-schemes": {
|
"tinted-schemes": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1744974599,
|
"lastModified": 1750770351,
|
||||||
"narHash": "sha256-Fg+rdGs5FAgfkYNCs74lnl8vkQmiZVdBsziyPhVqrlY=",
|
"narHash": "sha256-LI+BnRoFNRa2ffbe3dcuIRYAUcGklBx0+EcFxlHj0SY=",
|
||||||
"owner": "tinted-theming",
|
"owner": "tinted-theming",
|
||||||
"repo": "schemes",
|
"repo": "schemes",
|
||||||
"rev": "28c26a621123ad4ebd5bbfb34ab39421c0144bdd",
|
"rev": "5a775c6ffd6e6125947b393872cde95867d85a2a",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -2080,11 +1908,11 @@
|
|||||||
"tinted-tmux": {
|
"tinted-tmux": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1745111349,
|
"lastModified": 1751159871,
|
||||||
"narHash": "sha256-udV+nHdpqgkJI9D0mtvvAzbqubt9jdifS/KhTTbJ45w=",
|
"narHash": "sha256-UOHBN1fgHIEzvPmdNMHaDvdRMgLmEJh2hNmDrp3d3LE=",
|
||||||
"owner": "tinted-theming",
|
"owner": "tinted-theming",
|
||||||
"repo": "tinted-tmux",
|
"repo": "tinted-tmux",
|
||||||
"rev": "e009f18a01182b63559fb28f1c786eb027c3dee9",
|
"rev": "bded5e24407cec9d01bd47a317d15b9223a1546c",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -2096,11 +1924,11 @@
|
|||||||
"tinted-zed": {
|
"tinted-zed": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1725758778,
|
"lastModified": 1751158968,
|
||||||
"narHash": "sha256-8P1b6mJWyYcu36WRlSVbuj575QWIFZALZMTg5ID/sM4=",
|
"narHash": "sha256-ksOyv7D3SRRtebpXxgpG4TK8gZSKFc4TIZpR+C98jX8=",
|
||||||
"owner": "tinted-theming",
|
"owner": "tinted-theming",
|
||||||
"repo": "base16-zed",
|
"repo": "base16-zed",
|
||||||
"rev": "122c9e5c0e6f27211361a04fae92df97940eccf9",
|
"rev": "86a470d94204f7652b906ab0d378e4231a5b3384",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -2111,14 +1939,18 @@
|
|||||||
},
|
},
|
||||||
"treefmt-nix": {
|
"treefmt-nix": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": "nixpkgs_3"
|
"nixpkgs": [
|
||||||
|
"stockholm",
|
||||||
|
"buildbot-nix",
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1743081648,
|
"lastModified": 1750931469,
|
||||||
"narHash": "sha256-WRAylyYptt6OX5eCEBWyTwOEqEtD6zt33rlUkr6u3cE=",
|
"narHash": "sha256-0IEdQB1nS+uViQw4k3VGUXntjkDp7aAlqcxdewb/hAc=",
|
||||||
"owner": "numtide",
|
"owner": "numtide",
|
||||||
"repo": "treefmt-nix",
|
"repo": "treefmt-nix",
|
||||||
"rev": "29a3d7b768c70addce17af0869f6e2bd8f5be4b7",
|
"rev": "ac8e6f32e11e9c7f153823abc3ab007f2a65d3e1",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -2128,49 +1960,6 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"treefmt-nix_2": {
|
"treefmt-nix_2": {
|
||||||
"inputs": {
|
|
||||||
"nixpkgs": [
|
|
||||||
"nur",
|
|
||||||
"nixpkgs"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1733222881,
|
|
||||||
"narHash": "sha256-JIPcz1PrpXUCbaccEnrcUS8jjEb/1vJbZz5KkobyFdM=",
|
|
||||||
"owner": "numtide",
|
|
||||||
"repo": "treefmt-nix",
|
|
||||||
"rev": "49717b5af6f80172275d47a418c9719a31a78b53",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "numtide",
|
|
||||||
"repo": "treefmt-nix",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"treefmt-nix_3": {
|
|
||||||
"inputs": {
|
|
||||||
"nixpkgs": [
|
|
||||||
"stockholm",
|
|
||||||
"buildbot-nix",
|
|
||||||
"nixpkgs"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1746216483,
|
|
||||||
"narHash": "sha256-4h3s1L/kKqt3gMDcVfN8/4v2jqHrgLIe4qok4ApH5x4=",
|
|
||||||
"owner": "numtide",
|
|
||||||
"repo": "treefmt-nix",
|
|
||||||
"rev": "29ec5026372e0dec56f890e50dbe4f45930320fd",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "numtide",
|
|
||||||
"repo": "treefmt-nix",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"treefmt-nix_4": {
|
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
"stylix",
|
"stylix",
|
||||||
@@ -2231,7 +2020,7 @@
|
|||||||
"niveum",
|
"niveum",
|
||||||
"flake-utils"
|
"flake-utils"
|
||||||
],
|
],
|
||||||
"nixpkgs": "nixpkgs_6"
|
"nixpkgs": "nixpkgs_3"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1615819231,
|
"lastModified": 1615819231,
|
||||||
@@ -2253,7 +2042,7 @@
|
|||||||
"flake-utils": [
|
"flake-utils": [
|
||||||
"flake-utils"
|
"flake-utils"
|
||||||
],
|
],
|
||||||
"nixpkgs": "nixpkgs_14"
|
"nixpkgs": "nixpkgs_11"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1615819231,
|
"lastModified": 1615819231,
|
||||||
|
|||||||
@@ -9,7 +9,6 @@
|
|||||||
home-manager.url = "github:nix-community/home-manager/release-25.05";
|
home-manager.url = "github:nix-community/home-manager/release-25.05";
|
||||||
menstruation-backend.url = "github:kmein/menstruation.rs";
|
menstruation-backend.url = "github:kmein/menstruation.rs";
|
||||||
menstruation-telegram.url = "github:kmein/menstruation-telegram";
|
menstruation-telegram.url = "github:kmein/menstruation-telegram";
|
||||||
centerpiece.url = "github:friedow/centerpiece";
|
|
||||||
nix-on-droid.url = "github:t184256/nix-on-droid/release-23.05";
|
nix-on-droid.url = "github:t184256/nix-on-droid/release-23.05";
|
||||||
nixinate.url = "github:matthewcroughan/nixinate";
|
nixinate.url = "github:matthewcroughan/nixinate";
|
||||||
nixpkgs-old.url = "github:NixOS/nixpkgs/50fc86b75d2744e1ab3837ef74b53f103a9b55a0";
|
nixpkgs-old.url = "github:NixOS/nixpkgs/50fc86b75d2744e1ab3837ef74b53f103a9b55a0";
|
||||||
@@ -72,7 +71,6 @@
|
|||||||
nixinate,
|
nixinate,
|
||||||
flake-utils,
|
flake-utils,
|
||||||
nix-on-droid,
|
nix-on-droid,
|
||||||
centerpiece,
|
|
||||||
stylix,
|
stylix,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
@@ -316,11 +314,12 @@
|
|||||||
// flake-utils.lib.eachSystem [flake-utils.lib.system.x86_64-linux flake-utils.lib.system.x86_64-darwin flake-utils.lib.system.aarch64-linux] (system: let
|
// flake-utils.lib.eachSystem [flake-utils.lib.system.x86_64-linux flake-utils.lib.system.x86_64-darwin flake-utils.lib.system.aarch64-linux] (system: let
|
||||||
pkgs = import nixpkgs {
|
pkgs = import nixpkgs {
|
||||||
inherit system;
|
inherit system;
|
||||||
|
config.allowUnfree = true;
|
||||||
overlays = [
|
overlays = [
|
||||||
nur.overlays.default
|
nur.overlays.default
|
||||||
(self: super: {
|
(self: super: {
|
||||||
mpv = super.mpv.override {scripts = [inputs.self.packages.${system}.mpv-visualizer super.mpvScripts.mpris];};
|
mpv = super.mpv.override {scripts = [inputs.self.packages.${system}.mpv-visualizer super.mpvScripts.mpris];};
|
||||||
dmenu = super.writers.writeDashBin "dmenu" ''exec ${pkgs.wofi}/bin/wofi --dmenu "$@"'';
|
dmenu = super.writers.writeDashBin "dmenu" ''exec ${pkgs.rofi}/bin/rofi -dmenu "$@"'';
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
@@ -407,7 +406,6 @@
|
|||||||
text2pdf = pkgs.callPackage packages/text2pdf.nix {};
|
text2pdf = pkgs.callPackage packages/text2pdf.nix {};
|
||||||
timer = pkgs.callPackage packages/timer.nix {};
|
timer = pkgs.callPackage packages/timer.nix {};
|
||||||
tocharian-font = pkgs.callPackage packages/tocharian-font.nix {};
|
tocharian-font = pkgs.callPackage packages/tocharian-font.nix {};
|
||||||
passmenu = pkgs.callPackage packages/passmenu.nix {};
|
|
||||||
trans = pkgs.callPackage packages/trans.nix {};
|
trans = pkgs.callPackage packages/trans.nix {};
|
||||||
ttspaste = pkgs.callPackage packages/ttspaste.nix {};
|
ttspaste = pkgs.callPackage packages/ttspaste.nix {};
|
||||||
unicodmenu = pkgs.callPackage packages/unicodmenu.nix {};
|
unicodmenu = pkgs.callPackage packages/unicodmenu.nix {};
|
||||||
@@ -421,6 +419,8 @@
|
|||||||
vimPlugins-icalendar-vim = pkgs.callPackage packages/vimPlugins/icalendar-vim.nix {};
|
vimPlugins-icalendar-vim = pkgs.callPackage packages/vimPlugins/icalendar-vim.nix {};
|
||||||
vimPlugins-jq-vim = pkgs.callPackage packages/vimPlugins/jq-vim.nix {};
|
vimPlugins-jq-vim = pkgs.callPackage packages/vimPlugins/jq-vim.nix {};
|
||||||
vimPlugins-typst-vim = pkgs.callPackage packages/vimPlugins/typst-vim.nix {};
|
vimPlugins-typst-vim = pkgs.callPackage packages/vimPlugins/typst-vim.nix {};
|
||||||
|
vimPlugins-mdwa-nvim = pkgs.callPackage packages/vimPlugins/mdwa-nvim.nix {};
|
||||||
|
vimPlugins-vim-ernest = pkgs.callPackage packages/vimPlugins/vim-ernest.nix {};
|
||||||
vimPlugins-vim-256noir = pkgs.callPackage packages/vimPlugins/vim-256noir.nix {};
|
vimPlugins-vim-256noir = pkgs.callPackage packages/vimPlugins/vim-256noir.nix {};
|
||||||
vimPlugins-vim-colors-paramount = pkgs.callPackage packages/vimPlugins/vim-colors-paramount.nix {};
|
vimPlugins-vim-colors-paramount = pkgs.callPackage packages/vimPlugins/vim-colors-paramount.nix {};
|
||||||
vimPlugins-vim-fetch = pkgs.callPackage packages/vimPlugins/vim-fetch.nix {};
|
vimPlugins-vim-fetch = pkgs.callPackage packages/vimPlugins/vim-fetch.nix {};
|
||||||
|
|||||||
@@ -1,10 +1,4 @@
|
|||||||
{
|
{
|
||||||
toum = "192.168.178.24";
|
officejet = "192.168.0.251";
|
||||||
zaatar = "192.168.178.21";
|
router = "192.168.0.1";
|
||||||
kabsa = "192.168.178.32";
|
|
||||||
android = "192.168.178.35";
|
|
||||||
manakish = "192.168.178.29";
|
|
||||||
|
|
||||||
officejet = "192.168.178.27";
|
|
||||||
fritzbox = "192.168.178.1";
|
|
||||||
}
|
}
|
||||||
|
|||||||
175
lib/style.css
175
lib/style.css
@@ -1,175 +0,0 @@
|
|||||||
* {
|
|
||||||
font-size: 14px;
|
|
||||||
border-radius: 5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
window#waybar {
|
|
||||||
/* `otf-font-awesome` is required to be installed for icons */
|
|
||||||
font-family: FontAwesome, monospace;
|
|
||||||
background-color: transparent;
|
|
||||||
border-bottom: 0px;
|
|
||||||
color: #ebdbb2;
|
|
||||||
transition-property: background-color;
|
|
||||||
transition-duration: .5s;
|
|
||||||
}
|
|
||||||
|
|
||||||
window#waybar.hidden {
|
|
||||||
opacity: 0.2;
|
|
||||||
}
|
|
||||||
|
|
||||||
window#waybar.empty #window {
|
|
||||||
background-color: transparent;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
|
||||||
window#waybar.empty {
|
|
||||||
background-color: transparent;
|
|
||||||
}
|
|
||||||
window#waybar.solo {
|
|
||||||
background-color: #FFFFFF;
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
|
|
||||||
.modules-right {
|
|
||||||
margin: 10px 10px 0 0;
|
|
||||||
}
|
|
||||||
.modules-center {
|
|
||||||
margin: 10px 0 0 0;
|
|
||||||
}
|
|
||||||
.modules-left {
|
|
||||||
margin: 10px 0 0 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
button {
|
|
||||||
/* Use box-shadow instead of border so the text isn't offset */
|
|
||||||
/* box-shadow: inset 0 -3px transparent; */
|
|
||||||
border: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */
|
|
||||||
/*
|
|
||||||
button:hover {
|
|
||||||
background: inherit;
|
|
||||||
box-shadow: inset 0 -3px #ebdbb2;
|
|
||||||
} */
|
|
||||||
|
|
||||||
#workspaces {
|
|
||||||
background-color: #282828;
|
|
||||||
}
|
|
||||||
|
|
||||||
#workspaces button {
|
|
||||||
padding: 0 5px;
|
|
||||||
background-color: transparent;
|
|
||||||
color: #ebdbb2;
|
|
||||||
border-radius: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
#workspaces button:first-child {
|
|
||||||
border-radius: 5px 0 0 5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#workspaces button:last-child {
|
|
||||||
border-radius: 0 5px 5px 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
#workspaces button:hover {
|
|
||||||
color: #d79921;
|
|
||||||
}
|
|
||||||
|
|
||||||
#workspaces button.focused {
|
|
||||||
background-color: #665c54;
|
|
||||||
/* box-shadow: inset 0 -3px #ffffff; */
|
|
||||||
}
|
|
||||||
|
|
||||||
#workspaces button.urgent {
|
|
||||||
background-color: #b16286;
|
|
||||||
}
|
|
||||||
|
|
||||||
#idle_inhibitor,
|
|
||||||
#cava,
|
|
||||||
#scratchpad,
|
|
||||||
#mode,
|
|
||||||
#window,
|
|
||||||
#clock,
|
|
||||||
#battery,
|
|
||||||
#backlight,
|
|
||||||
#wireplumber,
|
|
||||||
#tray,
|
|
||||||
#mpris,
|
|
||||||
#load {
|
|
||||||
padding: 0 10px;
|
|
||||||
background-color: #282828;
|
|
||||||
color: #ebdbb2;
|
|
||||||
}
|
|
||||||
|
|
||||||
#mode {
|
|
||||||
background-color: #689d6a;
|
|
||||||
color: #282828;
|
|
||||||
/* box-shadow: inset 0 -3px #ffffff; */
|
|
||||||
}
|
|
||||||
|
|
||||||
/* If workspaces is the leftmost module, omit left margin */
|
|
||||||
.modules-left > widget:first-child > #workspaces {
|
|
||||||
margin-left: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* If workspaces is the rightmost module, omit right margin */
|
|
||||||
.modules-right > widget:last-child > #workspaces {
|
|
||||||
margin-right: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
#cava {
|
|
||||||
padding: 0 5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
#battery.charging, #battery.plugged {
|
|
||||||
background-color: #98971a;
|
|
||||||
color: #282828;
|
|
||||||
}
|
|
||||||
|
|
||||||
@keyframes blink {
|
|
||||||
to {
|
|
||||||
background-color: #282828;
|
|
||||||
color: #ebdbb2;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Using steps() instead of linear as a timing function to limit cpu usage */
|
|
||||||
#battery.critical:not(.charging) {
|
|
||||||
background-color: #cc241d;
|
|
||||||
color: #ebdbb2;
|
|
||||||
animation-name: blink;
|
|
||||||
animation-duration: 0.5s;
|
|
||||||
animation-timing-function: steps(12);
|
|
||||||
animation-iteration-count: infinite;
|
|
||||||
animation-direction: alternate;
|
|
||||||
}
|
|
||||||
|
|
||||||
label:focus {
|
|
||||||
background-color: #000000;
|
|
||||||
}
|
|
||||||
|
|
||||||
#wireplumber.muted {
|
|
||||||
background-color: #458588;
|
|
||||||
}
|
|
||||||
|
|
||||||
#tray > .passive {
|
|
||||||
-gtk-icon-effect: dim;
|
|
||||||
}
|
|
||||||
|
|
||||||
#tray > .needs-attention {
|
|
||||||
-gtk-icon-effect: highlight;
|
|
||||||
}
|
|
||||||
|
|
||||||
#mpris.playing {
|
|
||||||
background-color: #d79921;
|
|
||||||
color: #282828;
|
|
||||||
}
|
|
||||||
|
|
||||||
#tray menu {
|
|
||||||
font-family: sans-serif;
|
|
||||||
}
|
|
||||||
|
|
||||||
#scratchpad.empty {
|
|
||||||
background: transparent;
|
|
||||||
}
|
|
||||||
@@ -124,3 +124,14 @@ set complete+=kspell
|
|||||||
let g:pandoc#syntax#conceal#use = 0
|
let g:pandoc#syntax#conceal#use = 0
|
||||||
let g:pandoc#modules#disabled = []
|
let g:pandoc#modules#disabled = []
|
||||||
let g:pandoc#spell#default_langs = ['en', 'de']
|
let g:pandoc#spell#default_langs = ['en', 'de']
|
||||||
|
|
||||||
|
autocmd! User GoyoEnter Limelight
|
||||||
|
autocmd! User GoyoLeave Limelight!
|
||||||
|
|
||||||
|
|
||||||
|
" Disable Copilot for files larger than 100kb
|
||||||
|
autocmd BufReadPre *
|
||||||
|
\ let f=getfsize(expand("<afile>"))
|
||||||
|
\ | if f > 100000 || f == -2
|
||||||
|
\ | let b:copilot_enabled = v:false
|
||||||
|
\ | endif
|
||||||
|
|||||||
@@ -42,14 +42,14 @@ in
|
|||||||
pkgs.writers.writeDashBin "klem" ''
|
pkgs.writers.writeDashBin "klem" ''
|
||||||
set -efu
|
set -efu
|
||||||
|
|
||||||
${pkgs.wl-clipboard}/bin/wl-paste \
|
${pkgs.xclip}/bin/xclip -selection ${cfg.selection} -out \
|
||||||
| case $(echo "${
|
| case $(echo "${
|
||||||
lib.concatStringsSep "\n" (lib.attrNames cfg.scripts)
|
lib.concatStringsSep "\n" (lib.attrNames cfg.scripts)
|
||||||
}" | ${cfg.dmenu}) in
|
}" | ${cfg.dmenu}) in
|
||||||
${lib.concatStringsSep "\n" (lib.mapAttrsToList scriptCase cfg.scripts)}
|
${lib.concatStringsSep "\n" (lib.mapAttrsToList scriptCase cfg.scripts)}
|
||||||
*) ${pkgs.coreutils}/bin/cat ;;
|
*) ${pkgs.coreutils}/bin/cat ;;
|
||||||
esac \
|
esac \
|
||||||
| ${pkgs.wl-clipboard}/bin/wl-copy
|
| ${pkgs.xclip}/bin/xclip -selection ${cfg.selection} -in
|
||||||
|
|
||||||
${pkgs.libnotify}/bin/notify-send --app-name="klem" "Result copied to clipboard."
|
${pkgs.libnotify}/bin/notify-send --app-name="klem" "Result copied to clipboard."
|
||||||
''
|
''
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
writers,
|
writers,
|
||||||
lib,
|
lib,
|
||||||
wofi,
|
rofi,
|
||||||
findutils,
|
findutils,
|
||||||
coreutils,
|
coreutils,
|
||||||
noteDirectory ? "~/state/obsidian",
|
noteDirectory ? "~/state/obsidian",
|
||||||
@@ -11,7 +11,7 @@
|
|||||||
writers.writeDashBin "notemenu" ''
|
writers.writeDashBin "notemenu" ''
|
||||||
set -efu
|
set -efu
|
||||||
PATH=$PATH:${
|
PATH=$PATH:${
|
||||||
lib.makeBinPath [wofi findutils coreutils]
|
lib.makeBinPath [rofi findutils coreutils]
|
||||||
}
|
}
|
||||||
|
|
||||||
cd ${noteDirectory}
|
cd ${noteDirectory}
|
||||||
@@ -21,7 +21,7 @@ writers.writeDashBin "notemenu" ''
|
|||||||
echo $(date -I -d yesterday).md
|
echo $(date -I -d yesterday).md
|
||||||
''}
|
''}
|
||||||
find . -not -path '*/.*' -type f -printf "%T@ %p\n" | sort --reverse --numeric-sort | cut --delimiter=" " --fields=2-
|
find . -not -path '*/.*' -type f -printf "%T@ %p\n" | sort --reverse --numeric-sort | cut --delimiter=" " --fields=2-
|
||||||
} | wofi -dmenu -i -p 'notes')
|
} | rofi -dmenu -i -p 'notes')
|
||||||
if test "$note_file"
|
if test "$note_file"
|
||||||
then
|
then
|
||||||
alacritty --working-directory ${noteDirectory} -e ${niveumPackages.obsidian-vim}/bin/nvim "$note_file"
|
alacritty --working-directory ${noteDirectory} -e ${niveumPackages.obsidian-vim}/bin/nvim "$note_file"
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ neovim.override {
|
|||||||
\ 'path': '${obsidiantVaultDirectory}',
|
\ 'path': '${obsidiantVaultDirectory}',
|
||||||
\ 'syntax': 'markdown',
|
\ 'syntax': 'markdown',
|
||||||
\ 'ext': '.md',
|
\ 'ext': '.md',
|
||||||
\ 'diary_rel_path' '.',
|
\ 'diary_rel_path': '.',
|
||||||
\}]
|
\}]
|
||||||
|
|
||||||
let NERDTreeSortOrder = ['[[-timestamp]]']
|
let NERDTreeSortOrder = ['[[-timestamp]]']
|
||||||
@@ -35,7 +35,6 @@ neovim.override {
|
|||||||
vimPlugins.nerdtree
|
vimPlugins.nerdtree
|
||||||
vimPlugins.fzf-vim
|
vimPlugins.fzf-vim
|
||||||
vimPlugins.fzfWrapper
|
vimPlugins.fzfWrapper
|
||||||
vimPlugins.vim-fugitive
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,18 +0,0 @@
|
|||||||
{ writers, wofi, pass, fd, libnotify, ... }:
|
|
||||||
writers.writeBashBin "passmenu" ''
|
|
||||||
shopt -s nullglob globstar
|
|
||||||
|
|
||||||
IFS=$'\n'
|
|
||||||
|
|
||||||
prefix=$(readlink -f ''${PASSWORD_STORE_DIR-~/.password-store})
|
|
||||||
password_files=( $( ${fd}/bin/fd -L ".gpg\$" "$prefix" ) )
|
|
||||||
password_files=( "''${password_files[@]#"$prefix"/}" )
|
|
||||||
password_files=( "''${password_files[@]%.gpg}" )
|
|
||||||
|
|
||||||
password=$( printf '%s\n' "''${password_files[@]}" | ${wofi}/bin/wofi -i -k /dev/null -d menu -- "$@" )
|
|
||||||
|
|
||||||
[[ -n $password ]] || exit
|
|
||||||
|
|
||||||
OUT=$(${pass}/bin/pass show --clip "$password")
|
|
||||||
${libnotify}/bin/notify-send -t 5000 "$(echo "$OUT" | grep '^login:' | sed 's/^login: //')"
|
|
||||||
''
|
|
||||||
@@ -2,7 +2,7 @@
|
|||||||
writers,
|
writers,
|
||||||
mktemp,
|
mktemp,
|
||||||
qrencode,
|
qrencode,
|
||||||
wl-clipboard,
|
xclip,
|
||||||
nsxiv,
|
nsxiv,
|
||||||
}:
|
}:
|
||||||
writers.writeDashBin "qrpaste" ''
|
writers.writeDashBin "qrpaste" ''
|
||||||
@@ -11,6 +11,6 @@ writers.writeDashBin "qrpaste" ''
|
|||||||
clean() {
|
clean() {
|
||||||
rm "$file"
|
rm "$file"
|
||||||
}
|
}
|
||||||
${qrencode}/bin/qrencode "$(${wl-clipboard}/bin/wl-paste)" -o "$file"
|
${qrencode}/bin/qrencode "$(${xclip}/bin/xclip -selection clipboard -out)" -o "$file"
|
||||||
${nsxiv}/bin/nsxiv "$file"
|
${nsxiv}/bin/nsxiv "$file"
|
||||||
''
|
''
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
{
|
{
|
||||||
writers,
|
writers,
|
||||||
wl-clipboard,
|
xclip,
|
||||||
espeak,
|
espeak,
|
||||||
}:
|
}:
|
||||||
writers.writeDashBin "ttspaste" ''
|
writers.writeDashBin "ttspaste" ''
|
||||||
${wl-clipboard}/bin/paste | ${espeak}/bin/espeak
|
${xclip}/bin/xclip -selection clipboard -out | ${espeak}/bin/espeak
|
||||||
''
|
''
|
||||||
# curl, mpv,
|
# curl, mpv,
|
||||||
# ${curl}/bin/curl -G http://tts.r/api/tts --data-urlencode 'text@-' | ${mpv}/bin/mpv -
|
# ${curl}/bin/curl -G http://tts.r/api/tts --data-urlencode 'text@-' | ${mpv}/bin/mpv -
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
dmenu,
|
dmenu,
|
||||||
gnused,
|
gnused,
|
||||||
libnotify,
|
libnotify,
|
||||||
wl-clipboard,
|
xclip,
|
||||||
xdotool,
|
xdotool,
|
||||||
gawk,
|
gawk,
|
||||||
fetchFromGitHub,
|
fetchFromGitHub,
|
||||||
@@ -90,7 +90,7 @@ in
|
|||||||
writers.writeDashBin "unicodmenu" ''
|
writers.writeDashBin "unicodmenu" ''
|
||||||
history_file=$HOME/.cache/unicodmenu
|
history_file=$HOME/.cache/unicodmenu
|
||||||
touch "$history_file"
|
touch "$history_file"
|
||||||
PATH=${lib.makeBinPath [coreutils dmenu gawk gnused libnotify wl-clipboard xdotool]}
|
PATH=${lib.makeBinPath [coreutils dmenu gawk gnused libnotify xclip xdotool]}
|
||||||
|
|
||||||
all_characters() {
|
all_characters() {
|
||||||
tac "$history_file"
|
tac "$history_file"
|
||||||
@@ -101,7 +101,7 @@ in
|
|||||||
|
|
||||||
[ "$chosen" != "" ] || exit
|
[ "$chosen" != "" ] || exit
|
||||||
|
|
||||||
echo "$chosen" | tr -d '\n' | wl-copy
|
echo "$chosen" | tr -d '\n' | xclip -selection clipboard
|
||||||
|
|
||||||
if [ -n "$1" ]; then
|
if [ -n "$1" ]; then
|
||||||
xdotool key Shift+Insert
|
xdotool key Shift+Insert
|
||||||
|
|||||||
@@ -40,6 +40,13 @@
|
|||||||
|
|
||||||
editorconfig-vim
|
editorconfig-vim
|
||||||
|
|
||||||
|
copilot-vim
|
||||||
|
|
||||||
|
goyo
|
||||||
|
limelight-vim
|
||||||
|
niveumPackages.vimPlugins-mdwa-nvim
|
||||||
|
niveumPackages.vimPlugins-vim-ernest
|
||||||
|
|
||||||
fzf-vim
|
fzf-vim
|
||||||
fzfWrapper
|
fzfWrapper
|
||||||
supertab
|
supertab
|
||||||
|
|||||||
14
packages/vimPlugins/mdwa-nvim.nix
Normal file
14
packages/vimPlugins/mdwa-nvim.nix
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
{
|
||||||
|
vimUtils,
|
||||||
|
fetchFromGitHub,
|
||||||
|
lib,
|
||||||
|
}: (vimUtils.buildVimPluginFrom2Nix {
|
||||||
|
pname = "mdwa.nvim";
|
||||||
|
version = "9f37270";
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "tihawk";
|
||||||
|
repo = "mdwa.nvim";
|
||||||
|
rev = "9f3727037e0d85fd0930334b91b9687a5a880192";
|
||||||
|
hash = "sha256-h2jy2E+pN2Ma/5n9Eq2oXr9xHma2OxxVvx9EJ+bIYxA=";
|
||||||
|
};
|
||||||
|
})
|
||||||
14
packages/vimPlugins/vim-ernest.nix
Normal file
14
packages/vimPlugins/vim-ernest.nix
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
{
|
||||||
|
vimUtils,
|
||||||
|
fetchFromGitHub,
|
||||||
|
lib,
|
||||||
|
}: (vimUtils.buildVimPluginFrom2Nix {
|
||||||
|
pname = "vim-ernest";
|
||||||
|
version = "4b99bc3";
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "lgalke";
|
||||||
|
repo = "vim-ernest";
|
||||||
|
rev = "4b99bc3fe3deb7bb958ad2f64cad93569eeb50d7";
|
||||||
|
hash = "sha256-AUuRnnZU39XUerBxNelEqVyDAalRm3VGNUQb15fjXjM=";
|
||||||
|
};
|
||||||
|
})
|
||||||
2
secrets
2
secrets
Submodule secrets updated: e14a3170cc...9065446a1e
@@ -12,6 +12,7 @@ in {
|
|||||||
./radio.nix
|
./radio.nix
|
||||||
./panoptikon.nix
|
./panoptikon.nix
|
||||||
./hledger.nix
|
./hledger.nix
|
||||||
|
./gemini.nix
|
||||||
./wallabag.nix
|
./wallabag.nix
|
||||||
./alew.nix
|
./alew.nix
|
||||||
../../configs/monitoring.nix
|
../../configs/monitoring.nix
|
||||||
|
|||||||
15
systems/ful/gemini.nix
Normal file
15
systems/ful/gemini.nix
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
{ config, ... }:
|
||||||
|
{
|
||||||
|
networking.firewall.allowedTCPPorts = [ 1965 ];
|
||||||
|
services.agate = {
|
||||||
|
enable = true;
|
||||||
|
addresses = [ "0.0.0.0:1965" ];
|
||||||
|
hostnames = [ "kmein.de" ];
|
||||||
|
language = "de";
|
||||||
|
};
|
||||||
|
|
||||||
|
services.restic.backups.niveum.paths = [
|
||||||
|
config.services.agate.contentDir
|
||||||
|
config.services.agate.certificatesDir
|
||||||
|
];
|
||||||
|
}
|
||||||
@@ -1,16 +1,11 @@
|
|||||||
{
|
{
|
||||||
config,
|
config,
|
||||||
niveumPackages,
|
|
||||||
pkgs,
|
pkgs,
|
||||||
lib,
|
lib,
|
||||||
inputs,
|
|
||||||
...
|
...
|
||||||
}:
|
}: let
|
||||||
let
|
|
||||||
# TODO wrap obsidian: obsidian --no-sandbox --ozone-platform=wayland --ozone-platform-hint=auto --enable-features=UseOzonePlatform,WaylandWindowDecorations %U
|
|
||||||
inherit (import ../../lib) retiolumAddresses;
|
inherit (import ../../lib) retiolumAddresses;
|
||||||
in
|
in {
|
||||||
{
|
|
||||||
imports = [
|
imports = [
|
||||||
../kibbeh/hardware-configuration.nix
|
../kibbeh/hardware-configuration.nix
|
||||||
../../configs/tlp.nix
|
../../configs/tlp.nix
|
||||||
@@ -50,13 +45,13 @@ in
|
|||||||
wireguard-aether-psk.file = ../../secrets/kabsa-wireguard-aether-psk.age;
|
wireguard-aether-psk.file = ../../secrets/kabsa-wireguard-aether-psk.age;
|
||||||
};
|
};
|
||||||
|
|
||||||
networking.wg-quick.interfaces.aether.address = [ "192.168.178.203/24" ];
|
networking.wg-quick.interfaces.aether.address = ["192.168.178.203/24"];
|
||||||
|
|
||||||
environment.systemPackages = [ pkgs.zeroad ];
|
environment.systemPackages = [pkgs.zeroad];
|
||||||
|
|
||||||
networking = {
|
networking = {
|
||||||
hostName = "kabsa";
|
hostName = "kabsa";
|
||||||
wireless.interfaces = [ "wlp3s0" ];
|
wireless.interfaces = ["wlp3s0"];
|
||||||
retiolum = retiolumAddresses.kabsa;
|
retiolum = retiolumAddresses.kabsa;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -3,11 +3,13 @@
|
|||||||
config,
|
config,
|
||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}: let
|
}:
|
||||||
|
let
|
||||||
lokiConfig = import ./loki.nix;
|
lokiConfig = import ./loki.nix;
|
||||||
blackboxConfig = import ./blackbox.nix;
|
blackboxConfig = import ./blackbox.nix;
|
||||||
inherit (import ../../../lib) restic;
|
inherit (import ../../../lib) restic;
|
||||||
in {
|
in
|
||||||
|
{
|
||||||
services.grafana = {
|
services.grafana = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
@@ -80,143 +82,150 @@ in {
|
|||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
services.prometheus.rules = let
|
services.prometheus.rules =
|
||||||
diskFreeThreshold = 10;
|
let
|
||||||
in [
|
diskFreeThreshold = 10;
|
||||||
(builtins.toJSON {
|
in
|
||||||
groups = [
|
[
|
||||||
{
|
(builtins.toJSON {
|
||||||
name = "niveum";
|
groups = [
|
||||||
rules = [
|
{
|
||||||
{
|
name = "niveum";
|
||||||
alert = "HostSystemdServiceCrashed";
|
rules = [
|
||||||
expr = ''(node_systemd_unit_state{state="failed"} == 1) * on(instance) group_left (nodename) node_uname_info{nodename=~".+"}'';
|
{
|
||||||
annotations = {
|
alert = "HostSystemdServiceCrashed";
|
||||||
description = "{{$labels.name}} failed on {{$labels.instance}}";
|
expr = ''(node_systemd_unit_state{state="failed"} == 1) * on(instance) group_left (nodename) node_uname_info{nodename=~".+"}'';
|
||||||
};
|
annotations = {
|
||||||
}
|
description = "{{$labels.name}} failed on {{$labels.instance}}";
|
||||||
{
|
};
|
||||||
alert = "RootPartitionFull";
|
}
|
||||||
for = "10m";
|
{
|
||||||
expr = ''(node_filesystem_free_bytes{mountpoint="/"} * 100) / node_filesystem_size_bytes{mountpoint="/"} < ${toString diskFreeThreshold}'';
|
alert = "RootPartitionFull";
|
||||||
annotations = {
|
for = "10m";
|
||||||
description = ''{{ $labels.instance }} running out of space: {{ $value | printf "%.2f" }}% < ${toString diskFreeThreshold}%'';
|
expr = ''(node_filesystem_free_bytes{mountpoint="/"} * 100) / node_filesystem_size_bytes{mountpoint="/"} < ${toString diskFreeThreshold}'';
|
||||||
};
|
annotations = {
|
||||||
}
|
description = ''{{ $labels.instance }} running out of space: {{ $value | printf "%.2f" }}% < ${toString diskFreeThreshold}%'';
|
||||||
{
|
};
|
||||||
alert = "RootPartitionFullWeek";
|
}
|
||||||
for = "1h";
|
{
|
||||||
expr =
|
alert = "RootPartitionFullWeek";
|
||||||
''node_filesystem_free_bytes{mountpoint="/"} ''
|
for = "1h";
|
||||||
+ ''and predict_linear(node_filesystem_free_bytes{mountpoint="/"}[2d], 7*24*3600) <= 0'';
|
expr =
|
||||||
annotations = {
|
''node_filesystem_free_bytes{mountpoint="/"} ''
|
||||||
description = "{{$labels.instance}} running out of space in 7 days";
|
+ ''and predict_linear(node_filesystem_free_bytes{mountpoint="/"}[2d], 7*24*3600) <= 0'';
|
||||||
};
|
annotations = {
|
||||||
}
|
description = "{{$labels.instance}} running out of space in 7 days";
|
||||||
{
|
};
|
||||||
alert = "HighLoad";
|
}
|
||||||
expr = ''node_load15 / on(job) count(node_cpu_seconds_total{mode="system"}) by (job) >= 1.0'';
|
{
|
||||||
for = "10m";
|
alert = "HighLoad";
|
||||||
annotations = {
|
expr = ''node_load15 / on(job) count(node_cpu_seconds_total{mode="system"}) by (job) >= 1.0'';
|
||||||
description = "{{$labels.instance}} running on high load: {{$value}}";
|
for = "10m";
|
||||||
};
|
annotations = {
|
||||||
}
|
description = "{{$labels.instance}} running on high load: {{$value}}";
|
||||||
{
|
};
|
||||||
alert = "HostUnusualNetworkThroughputIn";
|
}
|
||||||
expr = ''(rate(node_network_receive_bytes_total[2m])) / 1024 / 1024 > 100'';
|
{
|
||||||
for = "5m";
|
alert = "HostUnusualNetworkThroughputIn";
|
||||||
annotations.description = "Host unusual network throughput in (instance {{ $labels.instance }})";
|
expr = ''(rate(node_network_receive_bytes_total[2m])) / 1024 / 1024 > 100'';
|
||||||
}
|
for = "5m";
|
||||||
{
|
annotations.description = "Host unusual network throughput in (instance {{ $labels.instance }})";
|
||||||
alert = "HostUnusualNetworkThroughputOut";
|
}
|
||||||
expr = ''(rate(node_network_transmit_bytes_total[2m])) / 1024 / 1024 > 100'';
|
{
|
||||||
for = "5m";
|
alert = "HostUnusualNetworkThroughputOut";
|
||||||
annotations.description = "Host unusual network throughput out (instance {{ $labels.instance }})";
|
expr = ''(rate(node_network_transmit_bytes_total[2m])) / 1024 / 1024 > 100'';
|
||||||
}
|
for = "5m";
|
||||||
{
|
annotations.description = "Host unusual network throughput out (instance {{ $labels.instance }})";
|
||||||
alert = "HostUnusualDiskReadRate";
|
}
|
||||||
expr = ''(rate(node_disk_read_bytes_total[2m])) / 1024 / 1024 > 50'';
|
{
|
||||||
for = "5m";
|
alert = "HostUnusualDiskReadRate";
|
||||||
annotations.description = "Host unusual disk read rate (instance {{ $labels.instance }})";
|
expr = ''(rate(node_disk_read_bytes_total[2m])) / 1024 / 1024 > 50'';
|
||||||
}
|
for = "5m";
|
||||||
{
|
annotations.description = "Host unusual disk read rate (instance {{ $labels.instance }})";
|
||||||
alert = "HostUnusualDiskWriteRate";
|
}
|
||||||
expr = ''(rate(node_disk_written_bytes_total[2m])) / 1024 / 1024 > 50'';
|
{
|
||||||
for = "2m";
|
alert = "HostUnusualDiskWriteRate";
|
||||||
annotations.description = "Host unusual disk write rate (instance {{ $labels.instance }})";
|
expr = ''(rate(node_disk_written_bytes_total[2m])) / 1024 / 1024 > 50'';
|
||||||
}
|
for = "2m";
|
||||||
{
|
annotations.description = "Host unusual disk write rate (instance {{ $labels.instance }})";
|
||||||
alert = "HostOutOfInodes";
|
}
|
||||||
expr = ''node_filesystem_files_free{fstype!="msdosfs"} / node_filesystem_files{fstype!="msdosfs"} * 100 < 10 and ON (instance, device, mountpoint) node_filesystem_readonly == 0'';
|
{
|
||||||
for = "2m";
|
alert = "HostOutOfInodes";
|
||||||
annotations.description = "Host out of inodes (instance {{ $labels.instance }})";
|
expr = ''node_filesystem_files_free{fstype!="msdosfs"} / node_filesystem_files{fstype!="msdosfs"} * 100 < 10 and ON (instance, device, mountpoint) node_filesystem_readonly == 0'';
|
||||||
}
|
for = "2m";
|
||||||
{
|
annotations.description = "Host out of inodes (instance {{ $labels.instance }})";
|
||||||
alert = "HostInodesWillFillIn24Hours";
|
}
|
||||||
expr = ''node_filesystem_files_free{fstype!="msdosfs"} / node_filesystem_files{fstype!="msdosfs"} * 100 < 10 and predict_linear(node_filesystem_files_free{fstype!="msdosfs"}[1h], 24 * 3600) < 0 and ON (instance, device, mountpoint) node_filesystem_readonly{fstype!="msdosfs"} == 0'';
|
{
|
||||||
for = "2m";
|
alert = "HostInodesWillFillIn24Hours";
|
||||||
annotations.description = "Host inodes will fill in 24 hours (instance {{ $labels.instance }})";
|
expr = ''node_filesystem_files_free{fstype!="msdosfs"} / node_filesystem_files{fstype!="msdosfs"} * 100 < 10 and predict_linear(node_filesystem_files_free{fstype!="msdosfs"}[1h], 24 * 3600) < 0 and ON (instance, device, mountpoint) node_filesystem_readonly{fstype!="msdosfs"} == 0'';
|
||||||
}
|
for = "2m";
|
||||||
{
|
annotations.description = "Host inodes will fill in 24 hours (instance {{ $labels.instance }})";
|
||||||
alert = "HighRAM";
|
}
|
||||||
expr = "node_memory_MemFree_bytes + node_memory_Buffers_bytes + node_memory_Cached_bytes < node_memory_MemTotal_bytes * 0.1";
|
{
|
||||||
for = "1h";
|
alert = "HighRAM";
|
||||||
annotations.description = "{{$labels.instance}} using lots of RAM";
|
expr = "node_memory_MemFree_bytes + node_memory_Buffers_bytes + node_memory_Cached_bytes < node_memory_MemTotal_bytes * 0.1";
|
||||||
}
|
for = "1h";
|
||||||
{
|
annotations.description = "{{$labels.instance}} using lots of RAM";
|
||||||
alert = "UptimeMonster";
|
}
|
||||||
expr = "time() - node_boot_time_seconds > 2592000";
|
{
|
||||||
annotations.description = "uptime monster {{$labels.instance}} up for more than 30 days";
|
alert = "UptimeMonster";
|
||||||
}
|
expr = "time() - node_boot_time_seconds > 2592000";
|
||||||
{
|
annotations.description = "uptime monster {{$labels.instance}} up for more than 30 days";
|
||||||
alert = "HostDown";
|
}
|
||||||
expr = ''up == 0'';
|
{
|
||||||
for = "5m";
|
alert = "HostDown";
|
||||||
annotations = {
|
expr = ''up == 0'';
|
||||||
description = "{{ $labels.instance }} seeming down since 5 minutes";
|
for = "5m";
|
||||||
};
|
annotations = {
|
||||||
}
|
description = "{{ $labels.instance }} seeming down since 5 minutes";
|
||||||
{
|
};
|
||||||
alert = "Reboot";
|
}
|
||||||
expr = "time() - node_boot_time_seconds < 300";
|
{
|
||||||
annotations.description = "{{$labels.instance}} rebooted";
|
alert = "Reboot";
|
||||||
}
|
expr = "time() - node_boot_time_seconds < 300";
|
||||||
{
|
annotations.description = "{{$labels.instance}} rebooted";
|
||||||
alert = "ProbeFailed";
|
}
|
||||||
expr = "probe_success == 0";
|
{
|
||||||
for = "5m";
|
alert = "Mastodon";
|
||||||
annotations.description = "HTTP probe failed for {{$labels.instance}}";
|
expr = ''probe_success{instance="https://social.krebsco.de"}'';
|
||||||
}
|
for = "5m";
|
||||||
{
|
annotations.description = "Mastodon instance {{$labels.instance}} is down";
|
||||||
alert = "SlowProbe";
|
}
|
||||||
expr = "avg_over_time(probe_http_duration_seconds[1m]) > 1";
|
{
|
||||||
for = "5m";
|
alert = "ProbeFailed";
|
||||||
annotations.description = "HTTP probe slow for {{$labels.instance}}";
|
expr = "probe_success == 0";
|
||||||
}
|
for = "5m";
|
||||||
{
|
annotations.description = "HTTP probe failed for {{$labels.instance}}";
|
||||||
alert = "HttpStatusCode";
|
}
|
||||||
expr = "probe_http_status_code != 0 AND (probe_http_status_code <= 199 OR probe_http_status_code >= 400)";
|
{
|
||||||
for = "5m";
|
alert = "SlowProbe";
|
||||||
annotations.description = "status code {{$value}} for {{$labels.instance}}";
|
expr = "avg_over_time(probe_http_duration_seconds[1m]) > 1";
|
||||||
}
|
for = "5m";
|
||||||
{
|
annotations.description = "HTTP probe slow for {{$labels.instance}}";
|
||||||
alert = "SslExpirySoon";
|
}
|
||||||
expr = "probe_ssl_earliest_cert_expiry - time() < 86400 * 30";
|
{
|
||||||
for = "5m";
|
alert = "HttpStatusCode";
|
||||||
annotations.description = "SSL certificate for {{$labels.instance}} expires in 30 days";
|
expr = "probe_http_status_code != 0 AND (probe_http_status_code <= 199 OR probe_http_status_code >= 400)";
|
||||||
}
|
for = "5m";
|
||||||
{
|
annotations.description = "status code {{$value}} for {{$labels.instance}}";
|
||||||
alert = "SslExpiry";
|
}
|
||||||
expr = "probe_ssl_earliest_cert_expiry - time() <= 0";
|
{
|
||||||
for = "5m";
|
alert = "SslExpirySoon";
|
||||||
annotations.description = "SSL certificate for {{$labels.instance}} has expired";
|
expr = "probe_ssl_earliest_cert_expiry - time() < 86400 * 30";
|
||||||
}
|
for = "5m";
|
||||||
];
|
annotations.description = "SSL certificate for {{$labels.instance}} expires in 30 days";
|
||||||
}
|
}
|
||||||
];
|
{
|
||||||
})
|
alert = "SslExpiry";
|
||||||
];
|
expr = "probe_ssl_earliest_cert_expiry - time() <= 0";
|
||||||
|
for = "5m";
|
||||||
|
annotations.description = "SSL certificate for {{$labels.instance}} has expired";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
}
|
||||||
|
];
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
# ref https://github.com/Mic92/dotfiles/blob/f44bac5dd6970ed3fbb4feb906917331ec3c2be5/machines/eva/modules/prometheus/default.nix
|
# ref https://github.com/Mic92/dotfiles/blob/f44bac5dd6970ed3fbb4feb906917331ec3c2be5/machines/eva/modules/prometheus/default.nix
|
||||||
systemd.services.matrix-hook = {
|
systemd.services.matrix-hook = {
|
||||||
@@ -246,6 +255,33 @@ in {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
systemd.services.matrix-hook-lassulus = {
|
||||||
|
description = "Matrix Hook";
|
||||||
|
after = [ "network.target" ];
|
||||||
|
wantedBy = [ "multi-user.target" ];
|
||||||
|
environment = {
|
||||||
|
HTTP_ADDRESS = "[::1]";
|
||||||
|
HTTP_PORT = "9089";
|
||||||
|
MX_HOMESERVER = "https://matrix.4d2.org";
|
||||||
|
MX_ID = "@lakai:4d2.org";
|
||||||
|
MX_ROOMID = "!MJAGqBAOKZGMywzwkI:lassul.us";
|
||||||
|
MX_MSG_TEMPLATE = "${pkgs.matrix-hook}/message.html.tmpl";
|
||||||
|
};
|
||||||
|
serviceConfig = {
|
||||||
|
EnvironmentFile = [
|
||||||
|
# format: MX_TOKEN=<token>
|
||||||
|
config.age.secrets.matrix-token-lakai-env.path
|
||||||
|
];
|
||||||
|
Type = "simple";
|
||||||
|
ExecStart = "${pkgs.matrix-hook}/bin/matrix-hook";
|
||||||
|
Restart = "always";
|
||||||
|
RestartSec = "10";
|
||||||
|
DynamicUser = true;
|
||||||
|
User = "matrix-hook";
|
||||||
|
Group = "matrix-hook";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
age.secrets = {
|
age.secrets = {
|
||||||
matrix-token-lakai-env.file = ../../../secrets/matrix-token-lakai-env.age;
|
matrix-token-lakai-env.file = ../../../secrets/matrix-token-lakai-env.age;
|
||||||
};
|
};
|
||||||
@@ -260,8 +296,23 @@ in {
|
|||||||
group_wait = "30s";
|
group_wait = "30s";
|
||||||
repeat_interval = "24h";
|
repeat_interval = "24h";
|
||||||
receiver = "matrix";
|
receiver = "matrix";
|
||||||
|
routes = [
|
||||||
|
{
|
||||||
|
receiver = "lassulus";
|
||||||
|
matchers = [ "alertname = \"Mastodon\"" ];
|
||||||
|
}
|
||||||
|
];
|
||||||
};
|
};
|
||||||
receivers = [
|
receivers = [
|
||||||
|
{
|
||||||
|
name = "lassulus";
|
||||||
|
webhook_configs = [
|
||||||
|
{
|
||||||
|
url = "http://localhost:9089/alert";
|
||||||
|
max_alerts = 5;
|
||||||
|
}
|
||||||
|
];
|
||||||
|
}
|
||||||
{
|
{
|
||||||
name = "matrix";
|
name = "matrix";
|
||||||
webhook_configs = [
|
webhook_configs = [
|
||||||
@@ -306,13 +357,21 @@ in {
|
|||||||
{
|
{
|
||||||
scheme = "http";
|
scheme = "http";
|
||||||
path_prefix = "/";
|
path_prefix = "/";
|
||||||
static_configs = [{targets = ["localhost:${toString config.services.prometheus.alertmanager.port}"];}];
|
static_configs = [
|
||||||
|
{ targets = [ "localhost:${toString config.services.prometheus.alertmanager.port}" ]; }
|
||||||
|
];
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
# otherwise bearer_token_file will fail
|
# otherwise bearer_token_file will fail
|
||||||
services.prometheus.checkConfig = "syntax-only";
|
services.prometheus.checkConfig = "syntax-only";
|
||||||
|
|
||||||
|
services.prometheus.extraFlags = [
|
||||||
|
"--storage.tsdb.retention.time=7d"
|
||||||
|
"--storage.tsdb.retention.size=2GB"
|
||||||
|
"--storage.tsdb.wal-compression"
|
||||||
|
];
|
||||||
|
|
||||||
services.prometheus.scrapeConfigs = [
|
services.prometheus.scrapeConfigs = [
|
||||||
{
|
{
|
||||||
job_name = "makanek";
|
job_name = "makanek";
|
||||||
@@ -328,14 +387,14 @@ in {
|
|||||||
scrape_interval = "5m";
|
scrape_interval = "5m";
|
||||||
job_name = "blackbox";
|
job_name = "blackbox";
|
||||||
metrics_path = "/probe";
|
metrics_path = "/probe";
|
||||||
params.module = ["http_2xx"];
|
params.module = [ "http_2xx" ];
|
||||||
relabel_configs = [
|
relabel_configs = [
|
||||||
{
|
{
|
||||||
source_labels = ["__address__"];
|
source_labels = [ "__address__" ];
|
||||||
target_label = "__param_target";
|
target_label = "__param_target";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
source_labels = ["__param_target"];
|
source_labels = [ "__param_target" ];
|
||||||
target_label = "instance";
|
target_label = "instance";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
@@ -393,7 +452,7 @@ in {
|
|||||||
scrape_interval = "60s";
|
scrape_interval = "60s";
|
||||||
metrics_path = "/api/prometheus";
|
metrics_path = "/api/prometheus";
|
||||||
scheme = "http";
|
scheme = "http";
|
||||||
static_configs = [{targets = ["zaatar.r:8123"];}];
|
static_configs = [ { targets = [ "zaatar.r:8123" ]; } ];
|
||||||
bearer_token_file = config.age.secrets.home-assistant-token.path;
|
bearer_token_file = config.age.secrets.home-assistant-token.path;
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
@@ -410,7 +469,7 @@ in {
|
|||||||
|
|
||||||
services.prometheus.exporters.blackbox = {
|
services.prometheus.exporters.blackbox = {
|
||||||
enable = true;
|
enable = true;
|
||||||
configFile = (pkgs.formats.yaml {}).generate "blackbox.yaml" blackboxConfig;
|
configFile = (pkgs.formats.yaml { }).generate "blackbox.yaml" blackboxConfig;
|
||||||
};
|
};
|
||||||
|
|
||||||
networking.firewall.allowedTCPPorts = [
|
networking.firewall.allowedTCPPorts = [
|
||||||
@@ -419,6 +478,6 @@ in {
|
|||||||
|
|
||||||
services.loki = {
|
services.loki = {
|
||||||
enable = true;
|
enable = true;
|
||||||
configFile = (pkgs.formats.yaml {}).generate "loki.yaml" lokiConfig;
|
configFile = (pkgs.formats.yaml { }).generate "loki.yaml" lokiConfig;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -28,6 +28,9 @@ in {
|
|||||||
services.pipewire.systemWide = true;
|
services.pipewire.systemWide = true;
|
||||||
|
|
||||||
age.secrets = {
|
age.secrets = {
|
||||||
|
wifi = {
|
||||||
|
file = ../../secrets/wifi.age;
|
||||||
|
};
|
||||||
retiolum-rsa = {
|
retiolum-rsa = {
|
||||||
file = ../../secrets/zaatar-retiolum-privateKey-rsa.age;
|
file = ../../secrets/zaatar-retiolum-privateKey-rsa.age;
|
||||||
mode = "400";
|
mode = "400";
|
||||||
|
|||||||
Reference in New Issue
Block a user