Compare commits

...

4 commits

Author SHA1 Message Date
49cca73363
lots of stuff 2026-01-04 10:27:19 -05:00
ccf213f488
stuff
Signed-off-by: gwg313 <gwg313@pm.me>
2025-10-20 16:27:59 -04:00
df6ce81c30
neovim updates
Signed-off-by: gwg313 <gwg313@pm.me>
2025-10-20 16:27:32 -04:00
bf9cfb8daf
wallpaper update
Signed-off-by: gwg313 <gwg313@pm.me>
2025-10-20 16:27:17 -04:00
32 changed files with 553 additions and 300 deletions

View file

@ -15,6 +15,8 @@ _: {
10.147.17.246 uptime.zerotier.gwg313.xyz
10.147.17.246 hdoc.zerotier.gwg313.xyz
10.147.17.246 cache.zerotier.gwg313.xyz
10.147.17.246 a3-dev.zerotier.gwg313.xyz
10.147.17.246 argocd.zerotier.gwg313.xyz
@ -31,5 +33,6 @@ _: {
10.1.10.9 uptime.gwg313.xyz
10.1.10.50 hdoc.gwg313.xyz
10.1.10.13 cache.gwg313.xyz
10.1.10.50 a3-dev.gwg313.xyz
'';
}

View file

@ -35,16 +35,15 @@
substituters = [
# "https://cache.gwg313.xyz/mycache?priority=5"
"https://cache.nixos.org?priority=10"
"https://hyprland.cachix.org"
"https://nix-community.cachix.org"
"https://cache.garnix.io"
"https://numtide.cachix.org"
];
trusted-public-keys = [
# "mycache:ovUjiiyQNUGjK8yZA4dPV1f8tIfCZrGIubdWvWpdvtc="
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
"cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g="
"numtide.cachix.org-1:2ps1kLBUWjxIneOy1Ik6cQjb41X0iXVXeHigGmycPPE="
];
experimental-features = [
@ -52,6 +51,7 @@
"flakes"
];
auto-optimise-store = true;
download-buffer-size = 262144000; # 250 MB (250 * 1024 * 1024)
trusted-users = [ "${user}" ];
};
optimise.automatic = true;

View file

@ -24,10 +24,11 @@
"/home/${user}/repos"
"/home/${user}/Documents"
"/home/${user}/.local/share/password-store"
"/home/${user}/zettelkasten"
];
# extraBackupArgs = [ "--exclude-file=/home/gwg313/Documents/Celsus" ];
timerConfig = {
OnCalendar = "06:40";
OnCalendar = "12:40";
};
};
};

View file

@ -22,14 +22,14 @@
# prevent TCP ports from being forwarded over SSH tunnels
# **please be aware that disabling TCP forwarding does not prevent port forwarding**
# any user with an interactive login shell can spin up his/her own instance of sshd
AllowTcpForwarding = false;
AllowTcpForwarding = true;
# prevent StreamLocal (Unix-domain socket) forwarding
AllowStreamLocalForwarding = false;
# disables all forwarding features
# overrides all other forwarding switches
DisableForwarding = true;
DisableForwarding = false;
# disallow remote hosts from connecting to forwarded ports
# i.e. forwarded ports are forced to bind to 127.0.0.1 instad of 0.0.0.0

View file

@ -1,8 +1,4 @@
{
config,
pkgs,
...
}: {
_: {
boot.kernel.sysctl = {
# increase the maximum length of processor input queues
"net.core.netdev_max_backlog" = 250000;

View file

@ -1,10 +1,30 @@
{ pkgs, ... }:
{
stylix = {
base16Scheme = "${pkgs.base16-schemes}/share/themes/catppuccin-latte.yaml";
# base16Scheme = "${pkgs.base16-schemes}/share/themes/catppuccin-latte.yaml";
base16Scheme = {
base00 = "E5D68B"; # Default Background
base01 = "D3BA68"; # Lighter Background (selection bg / subtle UI)
base02 = "9D9870"; # Selection Background / secondary bg
base03 = "6F664D"; # Comments, Invisibles, Line Highlighting
base04 = "7E7769"; # Dark Foreground (Status bars / line numbers)
base05 = "3F321F"; # Default Foreground, Caret, Text
base06 = "3A3427"; # Light Foreground (rarely used)
base07 = "3A3427"; # Light Background (rarely used)
base08 = "B5563A"; # Variables, Deleted (red-ish)
base09 = "A34700"; # Integers / Constants (orange)
base0A = "775700"; # Classes / Search Background (yellow)
base0B = "2A712D"; # Strings / Inserted (green)
base0C = "1C7E7E"; # Regex / Support / Quotes (cyan)
base0D = "1964A6"; # Functions / Headings / Methods (blue)
base0E = "5A2FCC"; # Keywords / Storage (purple)
base0F = "9D4750"; # Deprecated / Embedded tags (extra warm)
};
# base16Scheme = "${pkgs.base16-schemes}/share/themes/atelier-sulphurpool-light.yaml";
# image = ./wallpaper.jpg;
image = ../../wallpapers/nixos-wallpaper-catppuccin-latte.png;
image = ../../wallpapers/oasis.png;
#polarity = "dark";
autoEnable = true;
enable = true;

View file

@ -34,25 +34,26 @@
enable = true;
# See https://tinted-theming.github.io/tinted-gallery/ for more schemes
base16Scheme = "${pkgs.base16-schemes}/share/themes/catppuccin-latte.yaml";
# base16Scheme = {
# base00 = "09090B"; # Default Background
# base01 = "1c1e1f"; # Lighter Background (Used for status bars, line number and folding marks)
# base02 = "313244"; # Selection Background
# base03 = "45475a"; # Comments, Invisibles, Line Highlighting
# base04 = "585b70"; # Dark Foreground (Used for status bars)
# base05 = "cdd6f4"; # Default Foreground, Caret, Delimiters, Operators
# base06 = "f5e0dc"; # Light Foreground (Not often used)
# base07 = "b4befe"; # Light Background (Not often used)
# base08 = "f38ba8"; # Variables, XML Tags, Markup Link Text, Markup Lists, Diff Deleted
# base09 = "fab387"; # Integers, Boolean, Constants, XML Attributes, Markup Link Url
# base0A = "f9e2af"; # Classes, Markup Bold, Search Text Background
# base0B = "a6e3a1"; # Strings, Inherited Class, Markup Code, Diff Inserted
# base0C = "94e2d5"; # Support, Regular Expressions, Escape Characters, Markup Quotes
# base0D = "c5afd4"; # Functions, Methods, Attribute IDs, Headings, Accent color
# base0E = "cba6f7"; # Keywords, Storage, Selector, Markup Italic, Diff Changed
# base0F = "f2cdcd"; # Deprecated, Opening/Closing Embedded Language Tags, e.g. <?php ?>
# };
# base16Scheme = "${pkgs.base16-schemes}/share/themes/catppuccin-latte.yaml";
base16Scheme = {
base00 = "E5D68B"; # Default Background
base01 = "D3BA68"; # Lighter Background (selection bg / subtle UI)
base02 = "9D9870"; # Selection Background / secondary bg
base03 = "6F664D"; # Comments, Invisibles, Line Highlighting
base04 = "7E7769"; # Dark Foreground (Status bars / line numbers)
base05 = "3F321F"; # Default Foreground, Caret, Text
base06 = "3A3427"; # Light Foreground (rarely used)
base07 = "3A3427"; # Light Background (rarely used)
base08 = "B5563A"; # Variables, Deleted (red-ish)
base09 = "A34700"; # Integers / Constants (orange)
base0A = "775700"; # Classes / Search Background (yellow)
base0B = "2A712D"; # Strings / Inserted (green)
base0C = "1C7E7E"; # Regex / Support / Quotes (cyan)
base0D = "1964A6"; # Functions / Headings / Methods (blue)
base0E = "5A2FCC"; # Keywords / Storage (purple)
base0F = "9D4750"; # Deprecated / Embedded tags (extra warm)
};
cursor = {
name = "phinger-cursors-light";
@ -89,6 +90,6 @@
};
polarity = "light";
image = ../../../wallpapers/ign_circuit.png;
image = ../../../wallpapers/oasis.png;
};
}

View file

@ -51,15 +51,6 @@
package = pkgs.qemu_kvm;
runAsRoot = true;
swtpm.enable = true;
ovmf = {
enable = true;
packages = [
(pkgs.OVMF.override {
secureBoot = true;
tpmSupport = true;
}).fd
];
};
};
};

288
flake.lock generated
View file

@ -6,11 +6,11 @@
"nixpkgs": "nixpkgs"
},
"locked": {
"lastModified": 1756679577,
"narHash": "sha256-pkfftqE2CxVN6nKDZvlNdBxIkb/x5ch4wVfwZMYNGCM=",
"lastModified": 1760176229,
"narHash": "sha256-Awrvmjo57VJHrVZCfGjPyf1NHFGopomoZiPUPT/3uls=",
"owner": "Aylur",
"repo": "ags",
"rev": "04d51ac4082af3ec47e8a803417a1a55b75151d7",
"rev": "772f6ade645a1ca7ba06cb5845c479bbf4ac06f5",
"type": "github"
},
"original": {
@ -39,11 +39,11 @@
]
},
"locked": {
"lastModified": 1755946532,
"narHash": "sha256-POePremlUY5GyA1zfbtic6XLxDaQcqHN6l+bIxdT5gc=",
"lastModified": 1760101617,
"narHash": "sha256-8jf/3ZCi+B7zYpIyV04+3wm72BD7Z801IlOzsOACR7I=",
"owner": "hyprwm",
"repo": "aquamarine",
"rev": "81584dae2df6ac79f6b6dae0ecb7705e95129ada",
"rev": "1826a9923881320306231b1c2090379ebf9fa4f8",
"type": "github"
},
"original": {
@ -97,11 +97,11 @@
]
},
"locked": {
"lastModified": 1756474652,
"narHash": "sha256-iiBU6itpEqE0spXeNJ3uJTfioSyKYjt5bNepykpDXTE=",
"lastModified": 1759873585,
"narHash": "sha256-DsYbOkDXSl162XcQPxu4bknsevArxmWoqmL1qqcVNSI=",
"owner": "aylur",
"repo": "astal",
"rev": "20bd8318e4136fbd3d4eb2d64dbabc3acbc915dd",
"rev": "8d9ed4c624981156f52846ae58826f7c94f30546",
"type": "github"
},
"original": {
@ -131,16 +131,17 @@
"base16-fish": {
"flake": false,
"locked": {
"lastModified": 1622559957,
"narHash": "sha256-PebymhVYbL8trDVVXxCvZgc0S5VxI7I1Hv4RMSquTpA=",
"lastModified": 1754405784,
"narHash": "sha256-l9xHIy+85FN+bEo6yquq2IjD1rSg9fjfjpyGP1W8YXo=",
"owner": "tomyun",
"repo": "base16-fish",
"rev": "2f6dd973a9075dabccd26f1cded09508180bf5fe",
"rev": "23ae20a0093dca0d7b39d76ba2401af0ccf9c561",
"type": "github"
},
"original": {
"owner": "tomyun",
"repo": "base16-fish",
"rev": "23ae20a0093dca0d7b39d76ba2401af0ccf9c561",
"type": "github"
}
},
@ -195,11 +196,11 @@
]
},
"locked": {
"lastModified": 1748883665,
"narHash": "sha256-R0W7uAg+BLoHjMRMQ8+oiSbTq8nkGz5RDpQ+ZfxxP3A=",
"lastModified": 1752264895,
"narHash": "sha256-1zBPE/PNAkPNUsOWFET4J0cjlvziH8DOekesDmjND+w=",
"owner": "cachix",
"repo": "cachix",
"rev": "f707778d902af4d62d8dd92c269f8e70de09acbe",
"rev": "47053aef762f452e816e44eb9a23fbc3827b241a",
"type": "github"
},
"original": {
@ -235,6 +236,7 @@
"inputs": {
"cachix": "cachix",
"flake-compat": "flake-compat_2",
"flake-parts": "flake-parts",
"git-hooks": "git-hooks",
"nix": "nix",
"nixpkgs": [
@ -242,11 +244,11 @@
]
},
"locked": {
"lastModified": 1757257819,
"narHash": "sha256-YJMXP05JX2eS5sCy+/vfOP+52AEawTOYyWorW98f+bA=",
"lastModified": 1760987569,
"narHash": "sha256-RAYg2y8R5yiSYQJhZWUf7rEopgXcyGDaOLTlCN/LfT4=",
"owner": "cachix",
"repo": "devenv",
"rev": "21d0c09bb318e14c9596344c57273bd457b76f53",
"rev": "829e3dba0dbf0f50772f95e683e5aeb9c93f0314",
"type": "github"
},
"original": {
@ -259,11 +261,11 @@
"firefox-gnome-theme": {
"flake": false,
"locked": {
"lastModified": 1756083905,
"narHash": "sha256-UqYGTBgI5ypGh0Kf6zZjom/vABg7HQocB4gmxzl12uo=",
"lastModified": 1758112371,
"narHash": "sha256-lizRM2pj6PHrR25yimjyFn04OS4wcdbc38DCdBVa2rk=",
"owner": "rafaelmardojai",
"repo": "firefox-gnome-theme",
"rev": "b655eaf16d4cbec9c3472f62eee285d4b419a808",
"rev": "0909cfe4a2af8d358ad13b20246a350e14c2473d",
"type": "github"
},
"original": {
@ -402,16 +404,15 @@
"inputs": {
"nixpkgs-lib": [
"devenv",
"nix",
"nixpkgs"
]
},
"locked": {
"lastModified": 1733312601,
"narHash": "sha256-4pDvzqnegAfRkPwO3wmwBhVi/Sye1mzps0zHWYnP88c=",
"lastModified": 1756770412,
"narHash": "sha256-+uWLQZccFHwqpGqr2Yt5VsW/PbeJVTn9Dk6SHWhNRPw=",
"owner": "hercules-ci",
"repo": "flake-parts",
"rev": "205b12d8b7cd4802fbcb8e8ef6a0f1408781a4f9",
"rev": "4524271976b625a4a605beefd893f270620fd751",
"type": "github"
},
"original": {
@ -446,11 +447,11 @@
]
},
"locked": {
"lastModified": 1754487366,
"narHash": "sha256-pHYj8gUBapuUzKV/kN/tR3Zvqc7o6gdFB9XKXIp1SQ8=",
"lastModified": 1759362264,
"narHash": "sha256-wfG0S7pltlYyZTM+qqlhJ7GMw2fTF4mLKCIVhLii/4M=",
"owner": "hercules-ci",
"repo": "flake-parts",
"rev": "af66ad14b28a127c5c0f3bbb298218fc63528a18",
"rev": "758cf7296bee11f1706a574c77d072b8a7baa881",
"type": "github"
},
"original": {
@ -467,11 +468,11 @@
]
},
"locked": {
"lastModified": 1756770412,
"narHash": "sha256-+uWLQZccFHwqpGqr2Yt5VsW/PbeJVTn9Dk6SHWhNRPw=",
"lastModified": 1759362264,
"narHash": "sha256-wfG0S7pltlYyZTM+qqlhJ7GMw2fTF4mLKCIVhLii/4M=",
"owner": "hercules-ci",
"repo": "flake-parts",
"rev": "4524271976b625a4a605beefd893f270620fd751",
"rev": "758cf7296bee11f1706a574c77d072b8a7baa881",
"type": "github"
},
"original": {
@ -581,11 +582,11 @@
]
},
"locked": {
"lastModified": 1750779888,
"narHash": "sha256-wibppH3g/E2lxU43ZQHC5yA/7kIKLGxVEnsnVK1BtRg=",
"lastModified": 1758108966,
"narHash": "sha256-ytw7ROXaWZ7OfwHrQ9xvjpUWeGVm86pwnEd1QhzawIo=",
"owner": "cachix",
"repo": "git-hooks.nix",
"rev": "16ec914f6fb6f599ce988427d9d94efddf25fe6d",
"rev": "54df955a695a84cd47d4a43e08e1feaf90b1fd9b",
"type": "github"
},
"original": {
@ -711,11 +712,11 @@
]
},
"locked": {
"lastModified": 1745875161,
"narHash": "sha256-0YkWCS13jpoo3+sX/3kcgdxBNt1VZTmvF+FhZb4rFKI=",
"lastModified": 1756047880,
"narHash": "sha256-JeuGh9kA1SPL70fnvpLxkIkCWpTjtoPaus3jzvdna0k=",
"owner": "nix-community",
"repo": "gomod2nix",
"rev": "2cbd7fdd6eeab65c494cc426e18f4e4d2a5e35c0",
"rev": "47d628dc3b506bd28632e47280c6b89d3496909d",
"type": "github"
},
"original": {
@ -731,11 +732,11 @@
]
},
"locked": {
"lastModified": 1757256385,
"narHash": "sha256-WK7tOhWwr15mipcckhDg2no/eSpM1nIh4C9le8HgHhk=",
"lastModified": 1760973044,
"narHash": "sha256-Ij3H0qkzZ66X9934kH0JYoI3b/F2vamrDD9abT5Pi70=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "f35703b412c67b48e97beb6e27a6ab96a084cd37",
"rev": "c3a5e5f0df6f53aa4b51adc0107796cc407c641c",
"type": "github"
},
"original": {
@ -843,11 +844,11 @@
]
},
"locked": {
"lastModified": 1755678602,
"narHash": "sha256-uEC5O/NIUNs1zmc1aH1+G3GRACbODjk2iS0ET5hXtuk=",
"lastModified": 1760445448,
"narHash": "sha256-fXGjL6dw31FPFRrmIemzGiNSlfvEJTJNsmadZi+qNhI=",
"owner": "hyprwm",
"repo": "hyprgraphics",
"rev": "157cc52065a104fc3b8fa542ae648b992421d1c7",
"rev": "50fb9f069219f338a11cf0bcccb9e58357d67757",
"type": "github"
},
"original": {
@ -904,11 +905,11 @@
"xdph": "xdph"
},
"locked": {
"lastModified": 1757180583,
"narHash": "sha256-Ms2/f+vzcYezat/uaYjdnhTb00dtZ81qGvsNGLAE3h0=",
"lastModified": 1760959370,
"narHash": "sha256-eM1kSyA88KiZiY+xqnN/YbAAFeECtzJTrOF62Uuxs+o=",
"ref": "refs/heads/main",
"rev": "bce43f74eb8e4570d0d043f5fc8257eef7a57399",
"revCount": 6411,
"rev": "46dab01bcc47b2e29f36cd4d35d04091e4134a67",
"revCount": 6515,
"submodules": true,
"type": "git",
"url": "https://github.com/hyprwm/Hyprland"
@ -931,11 +932,11 @@
]
},
"locked": {
"lastModified": 1749046714,
"narHash": "sha256-kymV5FMnddYGI+UjwIw8ceDjdeg7ToDVjbHCvUlhn14=",
"lastModified": 1759610243,
"narHash": "sha256-+KEVnKBe8wz+a6dTLq8YDcF3UrhQElwsYJaVaHXJtoI=",
"owner": "hyprwm",
"repo": "hyprland-protocols",
"rev": "613878cb6f459c5e323aaafe1e6f388ac8a36330",
"rev": "bd153e76f751f150a09328dbdeb5e4fab9d23622",
"type": "github"
},
"original": {
@ -1087,11 +1088,11 @@
]
},
"locked": {
"lastModified": 1753819801,
"narHash": "sha256-tHe6XeNeVeKapkNM3tcjW4RuD+tB2iwwoogWJOtsqTI=",
"lastModified": 1759080228,
"narHash": "sha256-RgDoAja0T1hnF0pTc56xPfLfFOO8Utol2iITwYbUhTk=",
"owner": "hyprwm",
"repo": "hyprland-qtutils",
"rev": "b308a818b9dcaa7ab8ccab891c1b84ebde2152bc",
"rev": "629b15c19fa4082e4ce6be09fdb89e8c3312aed7",
"type": "github"
},
"original": {
@ -1188,11 +1189,11 @@
]
},
"locked": {
"lastModified": 1753622892,
"narHash": "sha256-0K+A+gmOI8IklSg5It1nyRNv0kCNL51duwnhUO/B8JA=",
"lastModified": 1758927902,
"narHash": "sha256-LZgMds7M94+vuMql2bERQ6LiFFdhgsEFezE4Vn+Ys3A=",
"owner": "hyprwm",
"repo": "hyprlang",
"rev": "23f0debd2003f17bd65f851cd3f930cff8a8c809",
"rev": "4dafa28d4f79877d67a7d1a654cddccf8ebf15da",
"type": "github"
},
"original": {
@ -1288,11 +1289,11 @@
"systems": "systems_3"
},
"locked": {
"lastModified": 1754887838,
"narHash": "sha256-npC+H+Wl60EdrV75sjqm+bbbLbKgCCGn4ALSM0B2OWA=",
"lastModified": 1759033501,
"narHash": "sha256-QhcOFLJYC9CiSVPkci62ghMEAJChzl+L98To1pKvnRQ=",
"owner": "KZDKM",
"repo": "Hyprspace",
"rev": "2b61fd2115262243b03aa9afe8dfd8a78e71636c",
"rev": "e54884da1d6a1af76af9d053887bf3750dd554fd",
"type": "github"
},
"original": {
@ -1313,11 +1314,11 @@
]
},
"locked": {
"lastModified": 1756117388,
"narHash": "sha256-oRDel6pNl/T2tI+nc/USU9ZP9w08dxtl7hiZxa0C/Wc=",
"lastModified": 1759619523,
"narHash": "sha256-r1ed7AR2ZEb2U8gy321/Xcp1ho2tzn+gG1te/Wxsj1A=",
"owner": "hyprwm",
"repo": "hyprutils",
"rev": "b2ae3204845f5f2f79b4703b441252d8ad2ecfd0",
"rev": "3df7bde01efb3a3e8e678d1155f2aa3f19e177ef",
"type": "github"
},
"original": {
@ -1489,11 +1490,11 @@
},
"mnw": {
"locked": {
"lastModified": 1756659871,
"narHash": "sha256-v6Rh4aQ6RKjM2N02kK9Usn0Ix7+OY66vNpeklc1MnGE=",
"lastModified": 1758834834,
"narHash": "sha256-Y7IvY4F8vajZyp3WGf+KaiIVwondEkMFkt92Cr9NZmg=",
"owner": "Gerg-L",
"repo": "mnw",
"rev": "ed6cc3e48557ba18266e598a5ebb6602499ada16",
"rev": "cfbc7d1cc832e318d0863a5fc91d940a96034001",
"type": "github"
},
"original": {
@ -1508,7 +1509,10 @@
"devenv",
"flake-compat"
],
"flake-parts": "flake-parts",
"flake-parts": [
"devenv",
"flake-parts"
],
"git-hooks-nix": [
"devenv",
"git-hooks"
@ -1525,16 +1529,16 @@
]
},
"locked": {
"lastModified": 1755029779,
"narHash": "sha256-3+GHIYGg4U9XKUN4rg473frIVNn8YD06bjwxKS1IPrU=",
"lastModified": 1758763079,
"narHash": "sha256-Bx1A+lShhOWwMuy3uDzZQvYiBKBFcKwy6G6NEohhv6A=",
"owner": "cachix",
"repo": "nix",
"rev": "b0972b0eee6726081d10b1199f54de6d2917f861",
"rev": "6f0140527c2b0346df4afad7497baa08decb929f",
"type": "github"
},
"original": {
"owner": "cachix",
"ref": "devenv-2.30",
"ref": "devenv-2.30.5",
"repo": "nix",
"type": "github"
}
@ -1567,11 +1571,11 @@
]
},
"locked": {
"lastModified": 1757218147,
"narHash": "sha256-IwOwN70HvoBNB2ckaROxcaCvj5NudNc52taPsv5wtLk=",
"lastModified": 1760846226,
"narHash": "sha256-xmU8kAsRprJiTGBTaGrwmjBP3AMA9ltlrxHKFuy5JWc=",
"owner": "Mic92",
"repo": "nix-index-database",
"rev": "9b144dc3ef6e42b888c4190e02746aab13b0e97f",
"rev": "5024e1901239a76b7bf94a4cd27f3507e639d49e",
"type": "github"
},
"original": {
@ -1587,11 +1591,11 @@
]
},
"locked": {
"lastModified": 1756133168,
"narHash": "sha256-yvehjJD0TqfixoAJLb2SHWGMULQ312h7MsIM47iKgSg=",
"lastModified": 1760948931,
"narHash": "sha256-guAocn26kDPdkl6tPXJt5pPaIIsrGI4taw+1U3+FM7E=",
"owner": "Mic92",
"repo": "nix-ld",
"rev": "ba0e76d84d88cc4fc65d589fb4c3c7a609990433",
"rev": "a48b2dc9a256bcef9182f0f92c481de975302b1e",
"type": "github"
},
"original": {
@ -1607,11 +1611,11 @@
"nixpkgs": "nixpkgs_6"
},
"locked": {
"lastModified": 1757207094,
"narHash": "sha256-uADYOTehuYQu6XsCHPe+57GYOxQNo063Ws52DqGbZDs=",
"lastModified": 1760689525,
"narHash": "sha256-Dl0jvgL5NjgCGkQ8PCLmGIisWcbFhGWPqKRyIGJ9uus=",
"owner": "kaylorben",
"repo": "nixcord",
"rev": "f96fbdd36e43319a5459bd8a807395afe4d63105",
"rev": "81d2f10a849c4312fefa0cf323dce0a1460dcbbe",
"type": "github"
},
"original": {
@ -1622,11 +1626,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1756542300,
"narHash": "sha256-tlOn88coG5fzdyqz6R93SQL5Gpq+m/DsWpekNFhqPQk=",
"lastModified": 1759733170,
"narHash": "sha256-TXnlsVb5Z8HXZ6mZoeOAIwxmvGHp1g4Dw89eLvIwKVI=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "d7600c775f877cd87b4f5a831c28aa94137377aa",
"rev": "8913c168d1c56dc49a7718685968f38752171c3b",
"type": "github"
},
"original": {
@ -1669,11 +1673,11 @@
},
"nixpkgs-unstable": {
"locked": {
"lastModified": 1757068644,
"narHash": "sha256-NOrUtIhTkIIumj1E/Rsv1J37Yi3xGStISEo8tZm3KW4=",
"lastModified": 1760878510,
"narHash": "sha256-K5Osef2qexezUfs0alLvZ7nQFTGS9DL2oTVsIXsqLgs=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "8eb28adfa3dc4de28e792e3bf49fcf9007ca8ac9",
"rev": "5e2a59a5b1a82f89f2c7e598302a9cacebb72a67",
"type": "github"
},
"original": {
@ -1685,11 +1689,11 @@
},
"nixpkgs_10": {
"locked": {
"lastModified": 1747744144,
"narHash": "sha256-W7lqHp0qZiENCDwUZ5EX/lNhxjMdNapFnbErcbnP11Q=",
"lastModified": 1757487488,
"narHash": "sha256-zwE/e7CuPJUWKdvvTCB7iunV4E/+G0lKfv4kk/5Izdg=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "2795c506fe8fb7b03c36ccb51f75b6df0ab2553f",
"rev": "ab0f3607a6c7486ea22229b92ed2d355f1482ee0",
"type": "github"
},
"original": {
@ -1733,11 +1737,11 @@
},
"nixpkgs_3": {
"locked": {
"lastModified": 1756266583,
"narHash": "sha256-cr748nSmpfvnhqSXPiCfUPxRz2FJnvf/RjJGvFfaCsM=",
"lastModified": 1760878510,
"narHash": "sha256-K5Osef2qexezUfs0alLvZ7nQFTGS9DL2oTVsIXsqLgs=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "8a6d5427d99ec71c64f0b93d45778c889005d9c2",
"rev": "5e2a59a5b1a82f89f2c7e598302a9cacebb72a67",
"type": "github"
},
"original": {
@ -1797,11 +1801,11 @@
},
"nixpkgs_7": {
"locked": {
"lastModified": 1757068644,
"narHash": "sha256-NOrUtIhTkIIumj1E/Rsv1J37Yi3xGStISEo8tZm3KW4=",
"lastModified": 1760878510,
"narHash": "sha256-K5Osef2qexezUfs0alLvZ7nQFTGS9DL2oTVsIXsqLgs=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "8eb28adfa3dc4de28e792e3bf49fcf9007ca8ac9",
"rev": "5e2a59a5b1a82f89f2c7e598302a9cacebb72a67",
"type": "github"
},
"original": {
@ -1813,11 +1817,11 @@
},
"nixpkgs_8": {
"locked": {
"lastModified": 1755829505,
"narHash": "sha256-4/Jd+LkQ2ssw8luQVkqVs9spDBVE6h/u/hC/tzngsPo=",
"lastModified": 1759632233,
"narHash": "sha256-krgZxGAIIIKFJS+UB0l8do3sYUDWJc75M72tepmVMzE=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "f937f8ecd1c70efd7e9f90ba13dfb400cf559de4",
"rev": "d7f52a7a640bc54c7bb414cca603835bf8dd4b10",
"type": "github"
},
"original": {
@ -1829,11 +1833,11 @@
},
"nixpkgs_9": {
"locked": {
"lastModified": 1744868846,
"narHash": "sha256-5RJTdUHDmj12Qsv7XOhuospjAjATNiTMElplWnJE9Hs=",
"lastModified": 1760596604,
"narHash": "sha256-J/i5K6AAz/y5dBePHQOuzC7MbhyTOKsd/GLezSbEFiM=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "ebe4301cbd8f81c4f8d3244b3632338bbeb6d49c",
"rev": "3cbe716e2346710d6e1f7c559363d14e11c32a43",
"type": "github"
},
"original": {
@ -1851,11 +1855,11 @@
"systems": "systems_5"
},
"locked": {
"lastModified": 1757262063,
"narHash": "sha256-ZDaOhRQuEdwHza85JBBSh0a40YoSYN5nQEzUYIg+p3Q=",
"lastModified": 1760960598,
"narHash": "sha256-UP1v+sEkHuvD2+qyhxbkQpBR+dl9U0ljml3/dMI2jeU=",
"owner": "nix-community",
"repo": "nixvim",
"rev": "3813f183bc97100065554050b8b818b741a4e502",
"rev": "e3b77e803b2350b72f4d72c8f175ab0fbfe5a642",
"type": "github"
},
"original": {
@ -1876,11 +1880,11 @@
]
},
"locked": {
"lastModified": 1756961635,
"narHash": "sha256-hETvQcILTg5kChjYNns1fD5ELdsYB/VVgVmBtqKQj9A=",
"lastModified": 1758998580,
"narHash": "sha256-VLx0z396gDCGSiowLMFz5XRO/XuNV+4EnDYjdJhHvUk=",
"owner": "nix-community",
"repo": "NUR",
"rev": "6ca27b2654ac55e3f6e0ca434c1b4589ae22b370",
"rev": "ba8d9c98f5f4630bcb0e815ab456afd90c930728",
"type": "github"
},
"original": {
@ -1899,11 +1903,11 @@
]
},
"locked": {
"lastModified": 1755555503,
"narHash": "sha256-WiOO7GUOsJ4/DoMy2IC5InnqRDSo2U11la48vCCIjjY=",
"lastModified": 1758662783,
"narHash": "sha256-igrxT+/MnmcftPOHEb+XDwAMq3Xg1Xy7kVYQaHhPlAg=",
"owner": "NuschtOS",
"repo": "search",
"rev": "6f3efef888b92e6520f10eae15b86ff537e1d2ea",
"rev": "7d4c0fc4ffe3bd64e5630417162e9e04e64b27a4",
"type": "github"
},
"original": {
@ -1923,11 +1927,11 @@
"systems": "systems_6"
},
"locked": {
"lastModified": 1757095994,
"narHash": "sha256-AXwM6/7CuQ39iwBqmc6ZNkVcCdFiK4MFRIGQgU6Mkyk=",
"lastModified": 1760153667,
"narHash": "sha256-F7KmXT/Izse6Q6CkD5GCImoGPaDJxl03Kd7eD+eY/bU=",
"owner": "notashelf",
"repo": "nvf",
"rev": "fb31022b366ad21951f0352f0cc282cc6a8e9e6f",
"rev": "9df9d51fd9fc8f9a8fc377f984ea3b7ae796172d",
"type": "github"
},
"original": {
@ -1946,11 +1950,11 @@
]
},
"locked": {
"lastModified": 1755960406,
"narHash": "sha256-RF7j6C1TmSTK9tYWO6CdEMtg6XZaUKcvZwOCD2SICZs=",
"lastModified": 1760663237,
"narHash": "sha256-BflA6U4AM1bzuRMR8QqzPXqh8sWVCNDzOdsxXEguJIc=",
"owner": "cachix",
"repo": "git-hooks.nix",
"rev": "e891a93b193fcaf2fc8012d890dc7f0befe86ec2",
"rev": "ca5b894d3e3e151ffc1db040b6ce4dcc75d31c37",
"type": "github"
},
"original": {
@ -1992,11 +1996,11 @@
]
},
"locked": {
"lastModified": 1757239681,
"narHash": "sha256-E9spYi9lxm2f1zWQLQ7xQt8Xs2nWgr1T4QM7ZjLFphM=",
"lastModified": 1760663237,
"narHash": "sha256-BflA6U4AM1bzuRMR8QqzPXqh8sWVCNDzOdsxXEguJIc=",
"owner": "cachix",
"repo": "pre-commit-hooks.nix",
"rev": "ab82ab08d6bf74085bd328de2a8722c12d97bd9d",
"rev": "ca5b894d3e3e151ffc1db040b6ce4dcc75d31c37",
"type": "github"
},
"original": {
@ -2050,11 +2054,11 @@
"nixpkgs": "nixpkgs_9"
},
"locked": {
"lastModified": 1754988908,
"narHash": "sha256-t+voe2961vCgrzPFtZxha0/kmFSHFobzF00sT8p9h0U=",
"lastModified": 1760845571,
"narHash": "sha256-PwGzU3EOU65Ef1VvuNnVLie+l+P0g/fzf/PGUG82KbM=",
"owner": "Mic92",
"repo": "sops-nix",
"rev": "3223c7a92724b5d804e9988c6b447a0d09017d48",
"rev": "9c9a9798be331ed3f4b2902933d7677d0659ee61",
"type": "github"
},
"original": {
@ -2100,11 +2104,11 @@
"tinted-zed": "tinted-zed"
},
"locked": {
"lastModified": 1757172691,
"narHash": "sha256-VOn/s24rb+iO6auhmGfT5kyr0ixRK6weBsNCKkGo2yY=",
"lastModified": 1760472212,
"narHash": "sha256-4C3I/ssFsq8EgaUmZP0xv5V7RV0oCHgL/Rx+MUkuE+E=",
"owner": "danth",
"repo": "stylix",
"rev": "9991299fe9aad330fb6b96bb58def37033271177",
"rev": "8d008296a1b3be9b57ad570f7acea00dd2fc92db",
"type": "github"
},
"original": {
@ -2121,11 +2125,11 @@
"nixpkgs": "nixpkgs_10"
},
"locked": {
"lastModified": 1757058434,
"narHash": "sha256-79PHblCIwklma2o4fQsFbZ0q+gmdFKQH2smBl1FmjjA=",
"lastModified": 1760420543,
"narHash": "sha256-NJprvSummITIhJn+A2wTtQ8YhWLSWQN6j5gjnLqWSAc=",
"owner": "MHNightCat",
"repo": "superfile",
"rev": "51a71f25abee58c1a3dd148a59a62b06402fa920",
"rev": "552b7f8a2ef839145326c5174985fb9b4de611b3",
"type": "github"
},
"original": {
@ -2290,11 +2294,11 @@
"tinted-schemes": {
"flake": false,
"locked": {
"lastModified": 1754779259,
"narHash": "sha256-8KG2lXGaXLUE0F/JVwLQe7kOVm21IDfNEo0gfga5P4M=",
"lastModified": 1757716333,
"narHash": "sha256-d4km8W7w2zCUEmPAPUoLk1NlYrGODuVa3P7St+UrqkM=",
"owner": "tinted-theming",
"repo": "schemes",
"rev": "097d751b9e3c8b97ce158e7d141e5a292545b502",
"rev": "317a5e10c35825a6c905d912e480dfe8e71c7559",
"type": "github"
},
"original": {
@ -2306,11 +2310,11 @@
"tinted-tmux": {
"flake": false,
"locked": {
"lastModified": 1754788770,
"narHash": "sha256-LAu5nBr7pM/jD9jwFc6/kyFY4h7Us4bZz7dvVvehuwo=",
"lastModified": 1757811970,
"narHash": "sha256-n5ZJgmzGZXOD9pZdAl1OnBu3PIqD+X3vEBUGbTi4JiI=",
"owner": "tinted-theming",
"repo": "tinted-tmux",
"rev": "fb2175accef8935f6955503ec9dd3c973eec385c",
"rev": "d217ba31c846006e9e0ae70775b0ee0f00aa6b1e",
"type": "github"
},
"original": {
@ -2322,11 +2326,11 @@
"tinted-zed": {
"flake": false,
"locked": {
"lastModified": 1755613540,
"narHash": "sha256-zBFrrTxHLDMDX/OYxkCwGGbAhPXLi8FrnLhYLsSOKeY=",
"lastModified": 1757811247,
"narHash": "sha256-4EFOUyLj85NRL3OacHoLGEo0wjiRJzfsXtR4CZWAn6w=",
"owner": "tinted-theming",
"repo": "base16-zed",
"rev": "937bada16cd3200bdbd3a2f5776fc3b686d5cba0",
"rev": "824fe0aacf82b3c26690d14e8d2cedd56e18404e",
"type": "github"
},
"original": {
@ -2363,11 +2367,11 @@
]
},
"locked": {
"lastModified": 1755354946,
"narHash": "sha256-zdov5f/GcoLQc9qYIS1dUTqtJMeDqmBmo59PAxze6e4=",
"lastModified": 1760713634,
"narHash": "sha256-5HXelmz2x/uO26lvW7MudnadbAfoBnve4tRBiDVLtOM=",
"owner": "hyprwm",
"repo": "xdg-desktop-portal-hyprland",
"rev": "a10726d6a8d0ef1a0c645378f983b6278c42eaa0",
"rev": "753bbbdf6a052994da94062e5b753288cef28dfb",
"type": "github"
},
"original": {
@ -2429,11 +2433,11 @@
"nixpkgs": "nixpkgs_11"
},
"locked": {
"lastModified": 1757218898,
"narHash": "sha256-mB3z1ssPry/wHgLd8gFOaltwQ9kIRTqrzikkcnxG720=",
"lastModified": 1760934351,
"narHash": "sha256-RehxVjBRC9EiBO36EPZROLHhVVSWFe3KEROhaEapboM=",
"owner": "0xc000022070",
"repo": "zen-browser-flake",
"rev": "2255b29eece0757827b9911ef685c963996542b6",
"rev": "596c3ac14be576b93f5db9252a1b0581e453ec9f",
"type": "github"
},
"original": {

View file

@ -24,5 +24,6 @@
rPackages.fontawesome
ubuntu_font_family
yt-dlp
mochi
];
}

View file

@ -19,6 +19,7 @@
./zoxide.nix
./zsh.nix
./fzf.nix
./zk.nix
./nushell/default.nix
];
nixpkgs.config.allowUnfree = true;
@ -30,6 +31,7 @@
ncdu
minio-client
kanata
yatto
# Editors
# neovim # Improved version of vim, often used with overlays.

View file

@ -22,7 +22,7 @@ in
./animations.nix
./bindings.nix
./polkitagent.nix
./hyprspace.nix
# ./hyprspace.nix
./hyprpanel.nix
./hyprlock.nix
];
@ -76,6 +76,8 @@ in
monitor = [
"eDP-2,highres,0x0,1" # My internal laptop screen
"DP-1, highres, 0x0,1"
"DP-2, highres, 0x0,1"
"desc:Microstep MSI MP161 E2 PB7H314B00225, highres, auto-up,1"
"HDMI-A-1, highres, auto-right,1"
",prefered,auto,1" # default
];

View file

@ -24,7 +24,7 @@ let
position = config.theme.bar.position; # "top" ou "bottom"
notificationOpacity = 90;
homeDir = "/home/gwg313";
location = config.var.location;
in
{
@ -34,28 +34,26 @@ in
enable = true;
settings = {
layout = {
bar.layouts = {
"*" = {
"left" = [
"dashboard"
"workspaces"
"windowtitle"
];
"middle" = [
"media"
"cava"
];
"right" = [
"systray"
"volume"
"bluetooth"
"battery"
"network"
"clock"
"notifications"
];
};
bar.layouts = {
"*" = {
left = [
"dashboard"
"workspaces"
"windowtitle"
];
middle = [
"media"
"cava"
];
right = [
"systray"
"volume"
"bluetooth"
"battery"
"network"
"clock"
"notifications"
];
};
};
@ -143,72 +141,32 @@ in
menus.dashboard.shortcuts.right.shortcut1.icon = "";
menus.dashboard.shortcuts.right.shortcut1.command = "hyprpicker -a";
menus.dashboard.shortcuts.right.shortcut1.tooltip = "Color Picker";
menus.dashboard.shortcuts.right.shortcut3.icon = "󰄀";
menus.dashboard.shortcuts.right.shortcut3.command = "screenshot region swappy";
menus.dashboard.shortcuts.right.shortcut3.tooltip = "Screenshot";
menus.dashboard.directories.left.directory1.label = " Home";
menus.dashboard.directories.left.directory1.command = "xdg-open ${homeDir}";
menus.dashboard.directories.left.directory2.label = "󰲂 Documents";
menus.dashboard.directories.left.directory2.command = "xdg-open ${homeDir}/Documents";
menus.dashboard.directories.left.directory3.label = "󰉍 Downloads";
menus.dashboard.directories.left.directory3.command = "xdg-open ${homeDir}/Downloads";
menus.dashboard.directories.right.directory1.label = " Desktop";
menus.dashboard.directories.right.directory1.command = "xdg-open ${homeDir}/Desktop";
menus.dashboard.directories.right.directory2.label = " Videos";
menus.dashboard.directories.right.directory2.command = "xdg-open ${homeDir}/Videos";
menus.dashboard.directories.right.directory3.label = "󰉏 Pictures";
menus.dashboard.directories.right.directory3.command = "xdg-open ${homeDir}/Pictures";
menus.power.lowBatteryNotification = true;
wallpaper.enable = false;
theme.bar.buttons.workspaces.hover = accent-alt;
theme.bar.buttons.workspaces.active = accent;
theme.bar.buttons.workspaces.available = accent-alt;
theme.bar.buttons.workspaces.occupied = accent-alt;
theme.bar.menus.background = background;
theme.bar.menus.cards = background-alt;
theme.bar.menus.label = foreground;
theme.bar.menus.text = foreground;
theme.bar.menus.border.color = accent;
theme.bar.menus.popover.text = foreground;
theme.bar.menus.popover.background = background-alt;
theme.bar.menus.listitems.active = accent;
theme.bar.menus.icons.active = accent;
theme.bar.menus.switch.enabled = accent;
theme.bar.menus.check_radio_button.active = accent;
theme.bar.menus.buttons.default = accent;
theme.bar.menus.buttons.active = accent;
theme.bar.menus.iconbuttons.active = accent;
theme.bar.menus.progressbar.foreground = accent;
theme.bar.menus.slider.primary = accent;
theme.bar.menus.tooltip.background = background-alt;
theme.bar.menus.tooltip.text = foreground;
theme.bar.menus.dropdownmenu.background = background-alt;
theme.bar.menus.dropdownmenu.text = foreground;
theme.bar.background = background + (if transparentButtons && transparent then "00" else "");
theme.bar.buttons.text =
if transparent && transparentButtons then foregroundOnWallpaper else foreground;
theme.bar.buttons.background =
(if transparent then background else background-alt) + (if transparentButtons then "00" else "");
theme.bar.buttons.icon = accent;
theme.bar.buttons.notifications.background = background-alt;
theme.bar.buttons.hover = background;
theme.bar.buttons.notifications.hover = background;
theme.bar.buttons.notifications.total = accent;
theme.bar.buttons.notifications.icon = accent;
theme.osd.bar_color = accent;
theme.osd.bar_overflow_color = accent-alt;
theme.osd.icon = background;
theme.osd.icon_container = accent;
theme.osd.label = accent;
theme.osd.bar_container = background-alt;
theme.bar.menus.menu.media.background.color = background-alt;
theme.bar.menus.menu.media.card.color = background-alt;
theme.notification.background = background-alt;
theme.notification.actions.background = accent;
theme.notification.actions.text = foreground;
theme.notification.label = accent;
theme.notification.border = background-alt;
theme.notification.text = foreground;
theme.notification.labelicon = accent;
theme.notification.close_button.background = background-alt;
theme.notification.close_button.label = "#f38ba8";
};
};
}

View file

@ -28,5 +28,7 @@
zotero
feishin
picard
postman
figma-linux
];
}

View file

@ -1,6 +1,7 @@
{
inputs,
pkgs,
lib,
...
}:
{
@ -22,7 +23,37 @@
# pkgs.vimPlugins.vim-kitty-navigator
vimPlugins.grug-far-nvim
vimPlugins.image-nvim
oasis-nvim
vimPlugins.vim-hoogle
vimPlugins.telescope_hoogle
vimPlugins.zk-nvim
];
luaConfigRC.colorscheme = ''
vim.cmd.colorscheme("oasis-day")
'';
luaConfigRC.zk_nvim = ''
local ok, zk = pcall(require, "zk")
if not ok then
return
end
zk.setup({
-- use "telescope", "fzf", etc. if you prefer
picker = "select",
lsp = {
config = {
name = "zk",
cmd = { "zk", "lsp" },
filetypes = { "markdown" },
-- you can put on_attach = function(client, bufnr) ... end here if you want
},
auto_attach = {
enabled = true,
},
},
})
'';
};
};
}

View file

@ -31,31 +31,12 @@
action = "<cmd>bnext<cr>";
desc = "Next Buffer";
}
# Kitty navigator
{
key = "<C-h>";
key = "<leader>bd";
mode = "n";
silent = true;
action = "<cmd>KittyNavigateLeft<cr>";
}
{
key = "<C-j>";
mode = "n";
silent = true;
action = "<cmd>KittyNavigateDown<cr>";
}
{
key = "<C-k>";
mode = "n";
silent = true;
action = "<cmd>KittyNavigateUp<cr>";
}
{
key = "<C-l>";
mode = "n";
silent = true;
action = "<cmd>KittyNavigateRight<cr>";
action = "<cmd>bd<cr>";
desc = "Close current buffer";
}
# Disable Arrow Keys in Normal Mode

View file

@ -105,8 +105,11 @@
ts.extensions.ts-error-translator.enable = true;
css.enable = true;
svelte.enable = true;
ocaml.enable = true;
haskell.enable = true;
haskell.lsp.enable = true;
haskell.treesitter.enable = true;
haskell.dap.enable = false;
html.enable = true;
bash.enable = true;
nix.enable = true;
@ -118,6 +121,7 @@
format.enable = true;
treesitter.enable = true;
};
rust.enable = true;
};
formatter = {
conform-nvim = {

View file

@ -9,5 +9,6 @@
pairs.enable = true;
diff.enable = true;
git.enable = true;
# snippets.enable = true;
};
}

View file

@ -6,12 +6,13 @@
{
programs.nvf.settings.vim = {
undoFile.enable = true;
theme = lib.mkForce {
enable = true;
name = "catppuccin";
style = "latte";
transparent = false;
};
# theme = lib.mkForce {
# enable = true;
# name = "catppuccin";
# style = "latte";
# transparent = false;
# };
navigation = {
harpoon.enable = true;
};
@ -30,10 +31,6 @@
# cmp.enable = true;
# };
statusline.lualine.enable = true;
# autocomplete.blink-cmp = {
# enable = true;
# friendly-snippets.enable = true;
# };
autocomplete = {
nvim-cmp = {
enable = true;
@ -48,6 +45,55 @@
};
};
snippets.luasnip.enable = true;
snippets.luasnip.customSnippets.snipmate = {
all = [
{
trigger = "if";
body = "if $1 else $2";
}
];
nix = [
{
trigger = "mkOption";
body = ''
mkOption {
type = $1;
default = $2;
description = $3;
example = $4;
}
'';
}
];
haskell = [
{
trigger = "zzis";
body = ''
insert :: (Ord a) => a -> [a] -> [a]
insert x [] = [x]
insert x (y:ys)
| x <= y = x : y : ys
| otherwise = y : insert x ys
insertionSort :: (Ord a) => [a] -> [a]
insertionSort [] = []
insertionSort (x:xs) = insert x (insertionSort xs)
'';
}
{
trigger = "zzso";
body = ''
sortOn :: Ord b => (a -> b) -> [a] -> [a]
sortOn f = foldr insert []
where
insert x [] = [x]
insert x (y:ys)
| f x <= f y = x : y : ys
| otherwise = y : insert x ys
'';
}
];
};
ui = {
noice.enable = true;
colorizer.enable = true;

View file

@ -20,7 +20,8 @@
extraConfig = ''
bind -n M-r source-file ~/.config/tmux/tmux.conf
set -ag terminal-overrides ",xterm-256color:RGB"
set -g default-terminal "screen-256color"
set -sa terminal-overrides ",xterm-256color:RGB"

View file

@ -0,0 +1,99 @@
{ config, ... }:
{
home.sessionVariables = {
ZK_NOTEBOOK_DIR = "/home/gwg313/my-notes";
};
programs.zk = {
enable = true;
settings = {
notebook = {
dir = "~/my-notes";
};
note = {
language = "en";
default-title = "Untitled";
filename = "{{id}}-{{slug title}}";
extension = "md";
template = "inbox.md";
id-charset = "alphanum";
id-length = 4;
id-case = "lower";
};
format.markdown = {
multiword-tags = true;
hashtags = true;
};
tool = {
editor = "nvim";
fzf-preview = "bat -p --color always {-1}";
};
extra = {
author = "gwg313";
};
group = {
inbox = {
paths = [ "inbox" ];
note.template = "inbox.md";
};
projects = {
paths = [ "projects" ];
note.template = "project.md";
};
literature = {
paths = [ "literature" ];
note.template = "literature.md";
};
note = {
paths = [ "notes" ];
note.template = "permanent.md";
};
seed = {
paths = [ "notes" ];
note.template = "seed.md";
};
daily = {
paths = [ "journal" ];
note.filename = "{{format-date now}}";
note.template = "daily.md";
};
};
filter = {
# Notes created in last 2 weeks
recents = "--sort created- --created-after 'last two weeks'";
# Only permanent notes
permanent = "--group notes";
# Orphans (useful for cleaning up disconnected notes)
orphans = "--orphan";
seeds = "--tag seed --sort created-";
};
alias = {
ls = "zk list --interactive $@";
edit = "zk edit --interactive $@";
inbox = ''zk new --no-input "$ZK_NOTEBOOK_DIR/inbox" --group inbox --title "$@"'';
seed = ''zk new --no-input "$ZK_NOTEBOOK_DIR/inbox" --group seed --title "$@"'';
proj = ''zk new --no-input "$ZK_NOTEBOOK_DIR/projects/" --group projects --title "$@"'';
lit = ''zk new --no-input "$ZK_NOTEBOOK_DIR/literature" --group literature --title "$@"'';
note = ''zk new --no-input "$ZK_NOTEBOOK_DIR/notes" --group notes --title "$@"'';
# Edit the last modified note.
edlast = "zk edit --limit 1 --sort modified- $@";
seeds = "zk list seeds --interactive";
# Edit the notes selected interactively among the notes created the last two weeks.
recent = "zk edit --sort created- --created-after 'last two weeks' --interactive";
# Show a random note.
lucky = "zk list --quiet --format full --sort random --limit 1";
# Show backlinks to a given note
bl = "zk list --link-to $@";
# Orphans
orph = "zk list orphans --interactive";
};
};
};
}

View file

@ -62,7 +62,7 @@
initrd.luks.devices."luks-1dbfdeb6-8537-41b2-abf0-09373af3eeee".device =
"/dev/disk/by-uuid/1dbfdeb6-8537-41b2-abf0-09373af3eeee";
};
boot.supportedFilesystems = [ "nfs" ];
# sops
sops = {
defaultSopsFile = ../../secrets/secrets.yaml;

View file

@ -92,6 +92,12 @@
url = "https://cache.zerotier.gwg313.xyz";
}
];
a3-dev_zt.loadBalancer.servers = [
{
url = "https://a3-dev.zerotier.gwg313.xyz";
}
];
};
routers = {
@ -213,6 +219,22 @@
tls.certResolver = "le";
middlewares = [ "headers" ];
};
a3-dev_zt = {
entryPoints = [ "websecure" ];
rule = "Host(`a3-dev.gwg313.xyz`)";
service = "a3-dev_zt";
tls.certResolver = "le";
middlewares = [ "headers" ];
};
argocd_zt = {
entryPoints = [ "websecure" ];
rule = "Host(`argocd.local.gwg313.xyz`)";
service = "argocd_zt";
tls.certResolver = "le";
middlewares = [ "headers" ];
};
};
};
};

View file

@ -123,6 +123,14 @@
tls.certResolver = "le";
middlewares = [ "headers" ];
};
a3-dev = {
entryPoints = [ "websecure" ];
rule = "Host(`a3-dev.gwg313.xyz`)";
service = "a3-dev_local";
tls.certResolver = "le";
middlewares = [ "headers" ];
};
};
};
};

View file

@ -123,6 +123,22 @@
tls.certResolver = "le";
middlewares = [ "headers" ];
};
a3-dev_zt = {
entryPoints = [ "websecure" ];
rule = "Host(`a3-dev.zerotier.gwg313.xyz`)";
service = "a3-dev_local";
tls.certResolver = "le";
middlewares = [ "headers" ];
};
argocd_zt = {
entryPoints = [ "websecure" ];
rule = "Host(`argocd.zerotier.gwg313.xyz`)";
service = "argocd_local";
tls.certResolver = "le";
middlewares = [ "headers" ];
};
};
};
};

View file

@ -107,6 +107,12 @@
url = "https://cache.gwg313.xyz";
}
];
a3-dev_local.loadBalancer.servers = [
{
url = "https://a3-dev.gwg313.xyz";
}
];
};
};
};

View file

@ -4,5 +4,7 @@
{
# example = pkgs.callPackage ./example { };
# sesh = pkgs.callPackage ./sesh {};
yatto = pkgs.callPackage ./yatto { };
ceserver = pkgs.callPackage ./ceserver { };
oasis-nvim = pkgs.callPackage ./oasis-nvim { };
}

View file

@ -0,0 +1,23 @@
{
lib,
vimUtils,
fetchFromGitHub,
}:
vimUtils.buildVimPlugin {
pname = "oasis.nvim";
version = "unstable-2025-11-11";
src = fetchFromGitHub {
owner = "uhs-robert";
repo = "oasis.nvim";
rev = "691703cb10ceb425cf18a95262051b4b1bc1b5c7";
hash = "sha256-knMmbmxD+78cnuSu4LGiCISr3Gt6ieYY22SaTYKtTec=";
};
meta = with lib; {
description = "A collection of 18 desert-inspired Neovim colorschemes.";
homepage = "https://github.com/uhs-robert/oasis.nvim";
license = licenses.mit;
platforms = platforms.all;
};
}

32
pkgs/yatto/default.nix Normal file
View file

@ -0,0 +1,32 @@
{
lib,
fetchFromGitHub,
buildGoModule,
}:
buildGoModule (finalAttrs: {
pname = "yatto";
version = "0.18.1";
src = fetchFromGitHub {
owner = "handlebargh";
repo = "yatto";
tag = "v${finalAttrs.version}";
hash = "sha256-GI/Q9lI6SqIOSYi5shMKlgegS8WdlWSFsPs7WLCB6Qg=";
};
vendorHash = "sha256-BqOuZUtyA7a8imzj3Oj1SUZ4k3kNjDYWiPlQRG9I0m8=";
ldflags = [
"-s"
"-w"
];
meta = {
description = "Terminal-based to-do application built with Bubble Tea";
homepage = "https://github.com/handlebargh/yatto";
changelog = "https://github.com/handlebargh/yatto/releases/tag/${finalAttrs.version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ gwg313 ];
mainProgram = "yatto";
};
})

Binary file not shown.

After

Width:  |  Height:  |  Size: 372 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 400 KiB

BIN
wallpapers/oasis.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.6 MiB