chore: update flake

This commit is contained in:
Leon Schwarzäugl 2025-05-24 21:24:20 +02:00
parent 2a216838ec
commit 87baf57aa3
Signed by: swarsel
GPG key ID: 26A54C31F2A4FD84
14 changed files with 497 additions and 416 deletions

View file

@ -11,7 +11,7 @@ in
enableScDaemon = true;
enableSshSupport = true;
enableExtraSocket = true;
pinentryPackage = pkgs.pinentry.gtk2;
pinentry.package = pkgs.pinentry.gtk2;
defaultCacheTtl = 600;
maxCacheTtl = 7200;
extraConfig = ''

View file

@ -4,31 +4,31 @@
config = lib.mkIf config.swarselsystems.modules.mako {
services.mako = {
enable = true;
# backgroundColor = "#2e3440";
# borderColor = "#88c0d0";
borderRadius = 15;
borderSize = 1;
defaultTimeout = 5000;
height = 150;
icons = true;
ignoreTimeout = true;
layer = "overlay";
maxIconSize = 64;
sort = "-time";
width = 300;
# font = "monospace 10";
extraConfig = ''
[urgency=low]
border-color=#cccccc
[urgency=normal]
border-color=#d08770
[urgency=high]
border-color=#bf616a
default-timeout=3000
[category=mpd]
default-timeout=2000
group-by=category
'';
settings = {
border-radius = 15;
border-size = 1;
default-timeout = 5000;
ignore-timeout = 1;
icons = 1;
layer = "overlay";
sort = "-time";
height = 150;
width = 300;
"urgency=low" = {
border-color = lib.mkForce "#cccccc";
};
"urgency=normal" = {
border-color = lib.mkForce "#d08770";
};
"urgency=high" = {
border-color = lib.mkForce "#bf616a";
default-timeout = 3000;
};
"category=mpd" = {
default-timeout = 2000;
group-by = "category";
};
};
};
};

View file

@ -40,7 +40,7 @@
vim
sshfs
fuse
ventoy
# ventoy
poppler_utils
vdhcoapp

View file

@ -72,7 +72,7 @@ in
src = pkgs.zsh-fzf-tab;
}
];
initExtra = ''
initContent = ''
my-forward-word() {
local WORDCHARS=$WORDCHARS
WORDCHARS="''${WORDCHARS//:}"

View file

@ -1,6 +1,6 @@
{ self, lib, pkgs, config, ... }:
let
inherit (config.swarselsystems) mainUser xdgDir;
inherit (config.swarselsystems) mainUser homeDir xdgDir;
owner = mainUser;
sopsFile = self + /secrets/work/secrets.yaml;
swarselService = name: description: execStart: {
@ -137,7 +137,7 @@ in
# cryptography
# ]))
# docker
stable.python39
stable24_11.python39
qemu
packer
gnumake
@ -168,20 +168,20 @@ in
'';
};
# syncthing = {
# settings = {
# "winters" = {
# id = "O7RWDMD-AEAHPP7-7TAVLKZ-BSWNBTU-2VA44MS-EYGUNBB-SLHKB3C-ZSLMOAA";
# };
# folders = {
# "Documents" = {
# path = "${homeDir}/Documents";
# devices = [ "magicant" "winters" ];
# id = "hgr3d-pfu3w";
# };
# };
# };
# };
syncthing = {
settings = {
"winters" = {
id = "O7RWDMD-AEAHPP7-7TAVLKZ-BSWNBTU-2VA44MS-EYGUNBB-SLHKB3C-ZSLMOAA";
};
folders = {
"Documents" = {
path = "${homeDir}/Documents";
devices = [ "magicant" "winters" ];
id = "hgr3d-pfu3w";
};
};
};
};
udev.extraRules = ''
# share screen when dongle detected

View file

@ -143,6 +143,7 @@ in
mautrix-telegram = {
enable = true;
environmentFile = config.sops.templates.mautrixtelegram.path;
registerToSynapse = false;
settings = {
homeserver = {
address = "http://localhost:8008";

View file

@ -16,7 +16,7 @@ in
templates = {
"restic-env".content = ''
AWS_ACCESS_KEY_ID=${config.sops.placeholder.resticaccesskey}
AWS_SECRET_ACCESS_KEY=${config.sops.placeholder.resicsecretaccesskey}
AWS_SECRET_ACCESS_KEY=${config.sops.placeholder.resticsecretaccesskey}
'';
};
};

View file

@ -74,16 +74,16 @@ in
devices = [ "sync (@oracle)" "magicant" "${workHostName}" ];
id = "hgp9s-fyq3p";
};
# "Documents" = {
# path = "/Vault/data/syncthing/Documents";
# type = "receiveonly";
# versioning = {
# type = "simple";
# params.keep = "5";
# };
# devices = [ "magicant" "${workHostName}" ];
# id = "hgr3d-pfu3w";
# };
"Documents" = {
path = "/Vault/data/syncthing/Documents";
type = "receiveonly";
versioning = {
type = "simple";
params.keep = "5";
};
devices = [ "magicant" "${workHostName}" ];
id = "hgr3d-pfu3w";
};
# ".elfeed" = {
# path = "/Vault/data/syncthing/.elfeed";
# devices = [ "sync (@oracle)" "magicant" "${workHostName}" ];