Lots of new things

This commit is contained in:
fwastring 2025-06-22 23:03:13 +02:00
parent 9106b33ec9
commit 7722d6fa41
6 changed files with 48 additions and 6 deletions

View file

@ -21,6 +21,9 @@ in
dotnetCorePackages.sdk_8_0_3xx
docker-slim
awscli
unstable.minio-client
hugo
sqlc
postgresql
go-migrate-pg

View file

@ -12,6 +12,7 @@
extraRules = ''
KERNEL=="ttyACM0", MODE:="666"
ACTION=="add", KERNEL=="sd[a-e][0-9]", ENV{ID_FS_UUID}=="3039-3932", RUN+="${pkgs.systemd}/bin/systemd-mount --no-block -A -G -o gid=users,fmask=113,dmask=002 /dev/%k /mnt/sdcard"
ACTION=="add", KERNEL=="sd[a-e]", ENV{ID_FS_UUID}=="66BA-4EBA", RUN+="${pkgs.systemd}/bin/systemd-mount --no-block -A -G -o gid=users,fmask=113,dmask=002 /dev/%k /mnt/kobo"
'';
packages = with pkgs; [
vial
@ -30,9 +31,12 @@
slack
speedcrunch
remmina
# Browsers
librewolf
unstable.qutebrowser
jan
chawan
# Capturing
byzanz

View file

@ -62,5 +62,13 @@
pass-update
]))
lazygit
# Typesetting
typst
typstyle
tinymist
websocat
nix-search-cli
libsixel
];
}

View file

@ -34,6 +34,26 @@
'';
};
};
services.syncthing = {
enable = true;
user = "fw";
openDefaultPorts = true; # Open ports in the firewall for Syncthing
dataDir = "/home/fw"; # default location for new folders
configDir = "/home/fw/.config/syncthing";
settings = {
devices = {
"laptop" = { id = "SCW3Z3J-NQHIKXZ-T4MR7JR-YE2VL4S-RDZ7W4F-PMSPWCQ-SGF2XLQ-CDQ3SQT"; };
"fw-iphone" = { id = "CWKHS4T-PTMW6A7-EBKRQJW-YOLUWIX-CC5IBYD-Z4LDXTO-MMRHXYM-A2FA2AQ"; };
};
folders = {
"vaults" = {
path = "/home/fw/vaults";
devices = [ "laptop" "fw-iphone" ];
ignorePerms = false; # Enable file permission syncing
};
};
};
};
system.stateVersion = "23.11";
}

View file

@ -8,7 +8,7 @@ let
dwm = pkgs.dwm.overrideAttrs (old: {
src = builtins.fetchGit {
url = "https://github.com/FredzyW/dwm-conf.git";
rev = "37dd7f92bb93d4994ab0d504a7b57618eb48f3aa";
rev = "9c31e04088fbe20be6dce79c55b9368d3f37654a";
};
nativeBuildInputs = with pkgs; [
xorg.libX11.dev

View file

@ -43,7 +43,14 @@
cam = "jira issue create && jira issue assign && jira issue move";
latest = "git log | head -1 | awk '{print $2;}' | xsel -ib";
vpnup = "nmcli con up 'iFacts VPN'";
vpndown = "nmcli con down 'iFacts VPN'";
s = {
setCursor = "%";
expansion = "cha https://search.wastring.com/search?q=%";
};
vpndown = {
setCursor = "%";
expansion = "nmcli con down 'iFacts VPN'";
};
dl = {
setCursor = "&";
expansion = "yt-dlp -o \"~/videor/%(title)s - %(uploader)s\" \"&\"";