diff --git a/common/networking/hosts.nix b/common/networking/hosts.nix index dfe592c..2f11d39 100644 --- a/common/networking/hosts.nix +++ b/common/networking/hosts.nix @@ -15,8 +15,6 @@ _: { 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 @@ -33,6 +31,5 @@ _: { 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 ''; } diff --git a/common/nixos/common.nix b/common/nixos/common.nix index bcacb34..c7ea2bf 100644 --- a/common/nixos/common.nix +++ b/common/nixos/common.nix @@ -35,15 +35,16 @@ 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 = [ @@ -51,7 +52,6 @@ "flakes" ]; auto-optimise-store = true; - download-buffer-size = 262144000; # 250 MB (250 * 1024 * 1024) trusted-users = [ "${user}" ]; }; optimise.automatic = true; diff --git a/common/nixos/restic.nix b/common/nixos/restic.nix index 70d2db6..cb89774 100644 --- a/common/nixos/restic.nix +++ b/common/nixos/restic.nix @@ -24,11 +24,10 @@ "/home/${user}/repos" "/home/${user}/Documents" "/home/${user}/.local/share/password-store" - "/home/${user}/zettelkasten" ]; # extraBackupArgs = [ "--exclude-file=/home/gwg313/Documents/Celsus" ]; timerConfig = { - OnCalendar = "12:40"; + OnCalendar = "06:40"; }; }; }; diff --git a/common/nixos/ssh/ssh.nix b/common/nixos/ssh/ssh.nix index f859b2d..273e758 100644 --- a/common/nixos/ssh/ssh.nix +++ b/common/nixos/ssh/ssh.nix @@ -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 = true; + AllowTcpForwarding = false; # prevent StreamLocal (Unix-domain socket) forwarding AllowStreamLocalForwarding = false; # disables all forwarding features # overrides all other forwarding switches - DisableForwarding = false; + DisableForwarding = true; # 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 diff --git a/common/nixos/sysctl/networking/net.nix b/common/nixos/sysctl/networking/net.nix index b7ce139..fe281dd 100644 --- a/common/nixos/sysctl/networking/net.nix +++ b/common/nixos/sysctl/networking/net.nix @@ -1,4 +1,8 @@ -_: { +{ + config, + pkgs, + ... +}: { boot.kernel.sysctl = { # increase the maximum length of processor input queues "net.core.netdev_max_backlog" = 250000; diff --git a/common/style/stylix.nix b/common/style/stylix.nix index aa8688b..1334e62 100644 --- a/common/style/stylix.nix +++ b/common/style/stylix.nix @@ -1,30 +1,10 @@ { pkgs, ... }: { stylix = { - # 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/catppuccin-latte.yaml"; # base16Scheme = "${pkgs.base16-schemes}/share/themes/atelier-sulphurpool-light.yaml"; # image = ./wallpaper.jpg; - image = ../../wallpapers/oasis.png; + image = ../../wallpapers/nixos-wallpaper-catppuccin-latte.png; #polarity = "dark"; autoEnable = true; enable = true; diff --git a/common/style/vars/vars.nix b/common/style/vars/vars.nix index 905dddc..f741df6 100644 --- a/common/style/vars/vars.nix +++ b/common/style/vars/vars.nix @@ -34,26 +34,25 @@ enable = true; # See https://tinted-theming.github.io/tinted-gallery/ for more schemes - # 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/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. + # }; cursor = { name = "phinger-cursors-light"; @@ -90,6 +89,6 @@ }; polarity = "light"; - image = ../../../wallpapers/oasis.png; + image = ../../../wallpapers/ign_circuit.png; }; } diff --git a/common/virtualization/libvirt.nix b/common/virtualization/libvirt.nix index 5b4b853..f4f22cf 100644 --- a/common/virtualization/libvirt.nix +++ b/common/virtualization/libvirt.nix @@ -51,6 +51,15 @@ package = pkgs.qemu_kvm; runAsRoot = true; swtpm.enable = true; + ovmf = { + enable = true; + packages = [ + (pkgs.OVMF.override { + secureBoot = true; + tpmSupport = true; + }).fd + ]; + }; }; }; diff --git a/flake.lock b/flake.lock index 75600f9..20784bd 100644 --- a/flake.lock +++ b/flake.lock @@ -6,11 +6,11 @@ "nixpkgs": "nixpkgs" }, "locked": { - "lastModified": 1760176229, - "narHash": "sha256-Awrvmjo57VJHrVZCfGjPyf1NHFGopomoZiPUPT/3uls=", + "lastModified": 1756679577, + "narHash": "sha256-pkfftqE2CxVN6nKDZvlNdBxIkb/x5ch4wVfwZMYNGCM=", "owner": "Aylur", "repo": "ags", - "rev": "772f6ade645a1ca7ba06cb5845c479bbf4ac06f5", + "rev": "04d51ac4082af3ec47e8a803417a1a55b75151d7", "type": "github" }, "original": { @@ -39,11 +39,11 @@ ] }, "locked": { - "lastModified": 1760101617, - "narHash": "sha256-8jf/3ZCi+B7zYpIyV04+3wm72BD7Z801IlOzsOACR7I=", + "lastModified": 1755946532, + "narHash": "sha256-POePremlUY5GyA1zfbtic6XLxDaQcqHN6l+bIxdT5gc=", "owner": "hyprwm", "repo": "aquamarine", - "rev": "1826a9923881320306231b1c2090379ebf9fa4f8", + "rev": "81584dae2df6ac79f6b6dae0ecb7705e95129ada", "type": "github" }, "original": { @@ -97,11 +97,11 @@ ] }, "locked": { - "lastModified": 1759873585, - "narHash": "sha256-DsYbOkDXSl162XcQPxu4bknsevArxmWoqmL1qqcVNSI=", + "lastModified": 1756474652, + "narHash": "sha256-iiBU6itpEqE0spXeNJ3uJTfioSyKYjt5bNepykpDXTE=", "owner": "aylur", "repo": "astal", - "rev": "8d9ed4c624981156f52846ae58826f7c94f30546", + "rev": "20bd8318e4136fbd3d4eb2d64dbabc3acbc915dd", "type": "github" }, "original": { @@ -131,17 +131,16 @@ "base16-fish": { "flake": false, "locked": { - "lastModified": 1754405784, - "narHash": "sha256-l9xHIy+85FN+bEo6yquq2IjD1rSg9fjfjpyGP1W8YXo=", + "lastModified": 1622559957, + "narHash": "sha256-PebymhVYbL8trDVVXxCvZgc0S5VxI7I1Hv4RMSquTpA=", "owner": "tomyun", "repo": "base16-fish", - "rev": "23ae20a0093dca0d7b39d76ba2401af0ccf9c561", + "rev": "2f6dd973a9075dabccd26f1cded09508180bf5fe", "type": "github" }, "original": { "owner": "tomyun", "repo": "base16-fish", - "rev": "23ae20a0093dca0d7b39d76ba2401af0ccf9c561", "type": "github" } }, @@ -196,11 +195,11 @@ ] }, "locked": { - "lastModified": 1752264895, - "narHash": "sha256-1zBPE/PNAkPNUsOWFET4J0cjlvziH8DOekesDmjND+w=", + "lastModified": 1748883665, + "narHash": "sha256-R0W7uAg+BLoHjMRMQ8+oiSbTq8nkGz5RDpQ+ZfxxP3A=", "owner": "cachix", "repo": "cachix", - "rev": "47053aef762f452e816e44eb9a23fbc3827b241a", + "rev": "f707778d902af4d62d8dd92c269f8e70de09acbe", "type": "github" }, "original": { @@ -236,7 +235,6 @@ "inputs": { "cachix": "cachix", "flake-compat": "flake-compat_2", - "flake-parts": "flake-parts", "git-hooks": "git-hooks", "nix": "nix", "nixpkgs": [ @@ -244,11 +242,11 @@ ] }, "locked": { - "lastModified": 1760987569, - "narHash": "sha256-RAYg2y8R5yiSYQJhZWUf7rEopgXcyGDaOLTlCN/LfT4=", + "lastModified": 1757257819, + "narHash": "sha256-YJMXP05JX2eS5sCy+/vfOP+52AEawTOYyWorW98f+bA=", "owner": "cachix", "repo": "devenv", - "rev": "829e3dba0dbf0f50772f95e683e5aeb9c93f0314", + "rev": "21d0c09bb318e14c9596344c57273bd457b76f53", "type": "github" }, "original": { @@ -261,11 +259,11 @@ "firefox-gnome-theme": { "flake": false, "locked": { - "lastModified": 1758112371, - "narHash": "sha256-lizRM2pj6PHrR25yimjyFn04OS4wcdbc38DCdBVa2rk=", + "lastModified": 1756083905, + "narHash": "sha256-UqYGTBgI5ypGh0Kf6zZjom/vABg7HQocB4gmxzl12uo=", "owner": "rafaelmardojai", "repo": "firefox-gnome-theme", - "rev": "0909cfe4a2af8d358ad13b20246a350e14c2473d", + "rev": "b655eaf16d4cbec9c3472f62eee285d4b419a808", "type": "github" }, "original": { @@ -404,15 +402,16 @@ "inputs": { "nixpkgs-lib": [ "devenv", + "nix", "nixpkgs" ] }, "locked": { - "lastModified": 1756770412, - "narHash": "sha256-+uWLQZccFHwqpGqr2Yt5VsW/PbeJVTn9Dk6SHWhNRPw=", + "lastModified": 1733312601, + "narHash": "sha256-4pDvzqnegAfRkPwO3wmwBhVi/Sye1mzps0zHWYnP88c=", "owner": "hercules-ci", "repo": "flake-parts", - "rev": "4524271976b625a4a605beefd893f270620fd751", + "rev": "205b12d8b7cd4802fbcb8e8ef6a0f1408781a4f9", "type": "github" }, "original": { @@ -447,11 +446,11 @@ ] }, "locked": { - "lastModified": 1759362264, - "narHash": "sha256-wfG0S7pltlYyZTM+qqlhJ7GMw2fTF4mLKCIVhLii/4M=", + "lastModified": 1754487366, + "narHash": "sha256-pHYj8gUBapuUzKV/kN/tR3Zvqc7o6gdFB9XKXIp1SQ8=", "owner": "hercules-ci", "repo": "flake-parts", - "rev": "758cf7296bee11f1706a574c77d072b8a7baa881", + "rev": "af66ad14b28a127c5c0f3bbb298218fc63528a18", "type": "github" }, "original": { @@ -468,11 +467,11 @@ ] }, "locked": { - "lastModified": 1759362264, - "narHash": "sha256-wfG0S7pltlYyZTM+qqlhJ7GMw2fTF4mLKCIVhLii/4M=", + "lastModified": 1756770412, + "narHash": "sha256-+uWLQZccFHwqpGqr2Yt5VsW/PbeJVTn9Dk6SHWhNRPw=", "owner": "hercules-ci", "repo": "flake-parts", - "rev": "758cf7296bee11f1706a574c77d072b8a7baa881", + "rev": "4524271976b625a4a605beefd893f270620fd751", "type": "github" }, "original": { @@ -582,11 +581,11 @@ ] }, "locked": { - "lastModified": 1758108966, - "narHash": "sha256-ytw7ROXaWZ7OfwHrQ9xvjpUWeGVm86pwnEd1QhzawIo=", + "lastModified": 1750779888, + "narHash": "sha256-wibppH3g/E2lxU43ZQHC5yA/7kIKLGxVEnsnVK1BtRg=", "owner": "cachix", "repo": "git-hooks.nix", - "rev": "54df955a695a84cd47d4a43e08e1feaf90b1fd9b", + "rev": "16ec914f6fb6f599ce988427d9d94efddf25fe6d", "type": "github" }, "original": { @@ -712,11 +711,11 @@ ] }, "locked": { - "lastModified": 1756047880, - "narHash": "sha256-JeuGh9kA1SPL70fnvpLxkIkCWpTjtoPaus3jzvdna0k=", + "lastModified": 1745875161, + "narHash": "sha256-0YkWCS13jpoo3+sX/3kcgdxBNt1VZTmvF+FhZb4rFKI=", "owner": "nix-community", "repo": "gomod2nix", - "rev": "47d628dc3b506bd28632e47280c6b89d3496909d", + "rev": "2cbd7fdd6eeab65c494cc426e18f4e4d2a5e35c0", "type": "github" }, "original": { @@ -732,11 +731,11 @@ ] }, "locked": { - "lastModified": 1760973044, - "narHash": "sha256-Ij3H0qkzZ66X9934kH0JYoI3b/F2vamrDD9abT5Pi70=", + "lastModified": 1757256385, + "narHash": "sha256-WK7tOhWwr15mipcckhDg2no/eSpM1nIh4C9le8HgHhk=", "owner": "nix-community", "repo": "home-manager", - "rev": "c3a5e5f0df6f53aa4b51adc0107796cc407c641c", + "rev": "f35703b412c67b48e97beb6e27a6ab96a084cd37", "type": "github" }, "original": { @@ -844,11 +843,11 @@ ] }, "locked": { - "lastModified": 1760445448, - "narHash": "sha256-fXGjL6dw31FPFRrmIemzGiNSlfvEJTJNsmadZi+qNhI=", + "lastModified": 1755678602, + "narHash": "sha256-uEC5O/NIUNs1zmc1aH1+G3GRACbODjk2iS0ET5hXtuk=", "owner": "hyprwm", "repo": "hyprgraphics", - "rev": "50fb9f069219f338a11cf0bcccb9e58357d67757", + "rev": "157cc52065a104fc3b8fa542ae648b992421d1c7", "type": "github" }, "original": { @@ -905,11 +904,11 @@ "xdph": "xdph" }, "locked": { - "lastModified": 1760959370, - "narHash": "sha256-eM1kSyA88KiZiY+xqnN/YbAAFeECtzJTrOF62Uuxs+o=", + "lastModified": 1757180583, + "narHash": "sha256-Ms2/f+vzcYezat/uaYjdnhTb00dtZ81qGvsNGLAE3h0=", "ref": "refs/heads/main", - "rev": "46dab01bcc47b2e29f36cd4d35d04091e4134a67", - "revCount": 6515, + "rev": "bce43f74eb8e4570d0d043f5fc8257eef7a57399", + "revCount": 6411, "submodules": true, "type": "git", "url": "https://github.com/hyprwm/Hyprland" @@ -932,11 +931,11 @@ ] }, "locked": { - "lastModified": 1759610243, - "narHash": "sha256-+KEVnKBe8wz+a6dTLq8YDcF3UrhQElwsYJaVaHXJtoI=", + "lastModified": 1749046714, + "narHash": "sha256-kymV5FMnddYGI+UjwIw8ceDjdeg7ToDVjbHCvUlhn14=", "owner": "hyprwm", "repo": "hyprland-protocols", - "rev": "bd153e76f751f150a09328dbdeb5e4fab9d23622", + "rev": "613878cb6f459c5e323aaafe1e6f388ac8a36330", "type": "github" }, "original": { @@ -1088,11 +1087,11 @@ ] }, "locked": { - "lastModified": 1759080228, - "narHash": "sha256-RgDoAja0T1hnF0pTc56xPfLfFOO8Utol2iITwYbUhTk=", + "lastModified": 1753819801, + "narHash": "sha256-tHe6XeNeVeKapkNM3tcjW4RuD+tB2iwwoogWJOtsqTI=", "owner": "hyprwm", "repo": "hyprland-qtutils", - "rev": "629b15c19fa4082e4ce6be09fdb89e8c3312aed7", + "rev": "b308a818b9dcaa7ab8ccab891c1b84ebde2152bc", "type": "github" }, "original": { @@ -1189,11 +1188,11 @@ ] }, "locked": { - "lastModified": 1758927902, - "narHash": "sha256-LZgMds7M94+vuMql2bERQ6LiFFdhgsEFezE4Vn+Ys3A=", + "lastModified": 1753622892, + "narHash": "sha256-0K+A+gmOI8IklSg5It1nyRNv0kCNL51duwnhUO/B8JA=", "owner": "hyprwm", "repo": "hyprlang", - "rev": "4dafa28d4f79877d67a7d1a654cddccf8ebf15da", + "rev": "23f0debd2003f17bd65f851cd3f930cff8a8c809", "type": "github" }, "original": { @@ -1289,11 +1288,11 @@ "systems": "systems_3" }, "locked": { - "lastModified": 1759033501, - "narHash": "sha256-QhcOFLJYC9CiSVPkci62ghMEAJChzl+L98To1pKvnRQ=", + "lastModified": 1754887838, + "narHash": "sha256-npC+H+Wl60EdrV75sjqm+bbbLbKgCCGn4ALSM0B2OWA=", "owner": "KZDKM", "repo": "Hyprspace", - "rev": "e54884da1d6a1af76af9d053887bf3750dd554fd", + "rev": "2b61fd2115262243b03aa9afe8dfd8a78e71636c", "type": "github" }, "original": { @@ -1314,11 +1313,11 @@ ] }, "locked": { - "lastModified": 1759619523, - "narHash": "sha256-r1ed7AR2ZEb2U8gy321/Xcp1ho2tzn+gG1te/Wxsj1A=", + "lastModified": 1756117388, + "narHash": "sha256-oRDel6pNl/T2tI+nc/USU9ZP9w08dxtl7hiZxa0C/Wc=", "owner": "hyprwm", "repo": "hyprutils", - "rev": "3df7bde01efb3a3e8e678d1155f2aa3f19e177ef", + "rev": "b2ae3204845f5f2f79b4703b441252d8ad2ecfd0", "type": "github" }, "original": { @@ -1490,11 +1489,11 @@ }, "mnw": { "locked": { - "lastModified": 1758834834, - "narHash": "sha256-Y7IvY4F8vajZyp3WGf+KaiIVwondEkMFkt92Cr9NZmg=", + "lastModified": 1756659871, + "narHash": "sha256-v6Rh4aQ6RKjM2N02kK9Usn0Ix7+OY66vNpeklc1MnGE=", "owner": "Gerg-L", "repo": "mnw", - "rev": "cfbc7d1cc832e318d0863a5fc91d940a96034001", + "rev": "ed6cc3e48557ba18266e598a5ebb6602499ada16", "type": "github" }, "original": { @@ -1509,10 +1508,7 @@ "devenv", "flake-compat" ], - "flake-parts": [ - "devenv", - "flake-parts" - ], + "flake-parts": "flake-parts", "git-hooks-nix": [ "devenv", "git-hooks" @@ -1529,16 +1525,16 @@ ] }, "locked": { - "lastModified": 1758763079, - "narHash": "sha256-Bx1A+lShhOWwMuy3uDzZQvYiBKBFcKwy6G6NEohhv6A=", + "lastModified": 1755029779, + "narHash": "sha256-3+GHIYGg4U9XKUN4rg473frIVNn8YD06bjwxKS1IPrU=", "owner": "cachix", "repo": "nix", - "rev": "6f0140527c2b0346df4afad7497baa08decb929f", + "rev": "b0972b0eee6726081d10b1199f54de6d2917f861", "type": "github" }, "original": { "owner": "cachix", - "ref": "devenv-2.30.5", + "ref": "devenv-2.30", "repo": "nix", "type": "github" } @@ -1571,11 +1567,11 @@ ] }, "locked": { - "lastModified": 1760846226, - "narHash": "sha256-xmU8kAsRprJiTGBTaGrwmjBP3AMA9ltlrxHKFuy5JWc=", + "lastModified": 1757218147, + "narHash": "sha256-IwOwN70HvoBNB2ckaROxcaCvj5NudNc52taPsv5wtLk=", "owner": "Mic92", "repo": "nix-index-database", - "rev": "5024e1901239a76b7bf94a4cd27f3507e639d49e", + "rev": "9b144dc3ef6e42b888c4190e02746aab13b0e97f", "type": "github" }, "original": { @@ -1591,11 +1587,11 @@ ] }, "locked": { - "lastModified": 1760948931, - "narHash": "sha256-guAocn26kDPdkl6tPXJt5pPaIIsrGI4taw+1U3+FM7E=", + "lastModified": 1756133168, + "narHash": "sha256-yvehjJD0TqfixoAJLb2SHWGMULQ312h7MsIM47iKgSg=", "owner": "Mic92", "repo": "nix-ld", - "rev": "a48b2dc9a256bcef9182f0f92c481de975302b1e", + "rev": "ba0e76d84d88cc4fc65d589fb4c3c7a609990433", "type": "github" }, "original": { @@ -1611,11 +1607,11 @@ "nixpkgs": "nixpkgs_6" }, "locked": { - "lastModified": 1760689525, - "narHash": "sha256-Dl0jvgL5NjgCGkQ8PCLmGIisWcbFhGWPqKRyIGJ9uus=", + "lastModified": 1757207094, + "narHash": "sha256-uADYOTehuYQu6XsCHPe+57GYOxQNo063Ws52DqGbZDs=", "owner": "kaylorben", "repo": "nixcord", - "rev": "81d2f10a849c4312fefa0cf323dce0a1460dcbbe", + "rev": "f96fbdd36e43319a5459bd8a807395afe4d63105", "type": "github" }, "original": { @@ -1626,11 +1622,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1759733170, - "narHash": "sha256-TXnlsVb5Z8HXZ6mZoeOAIwxmvGHp1g4Dw89eLvIwKVI=", + "lastModified": 1756542300, + "narHash": "sha256-tlOn88coG5fzdyqz6R93SQL5Gpq+m/DsWpekNFhqPQk=", "owner": "nixos", "repo": "nixpkgs", - "rev": "8913c168d1c56dc49a7718685968f38752171c3b", + "rev": "d7600c775f877cd87b4f5a831c28aa94137377aa", "type": "github" }, "original": { @@ -1673,11 +1669,11 @@ }, "nixpkgs-unstable": { "locked": { - "lastModified": 1760878510, - "narHash": "sha256-K5Osef2qexezUfs0alLvZ7nQFTGS9DL2oTVsIXsqLgs=", + "lastModified": 1757068644, + "narHash": "sha256-NOrUtIhTkIIumj1E/Rsv1J37Yi3xGStISEo8tZm3KW4=", "owner": "nixos", "repo": "nixpkgs", - "rev": "5e2a59a5b1a82f89f2c7e598302a9cacebb72a67", + "rev": "8eb28adfa3dc4de28e792e3bf49fcf9007ca8ac9", "type": "github" }, "original": { @@ -1689,11 +1685,11 @@ }, "nixpkgs_10": { "locked": { - "lastModified": 1757487488, - "narHash": "sha256-zwE/e7CuPJUWKdvvTCB7iunV4E/+G0lKfv4kk/5Izdg=", + "lastModified": 1747744144, + "narHash": "sha256-W7lqHp0qZiENCDwUZ5EX/lNhxjMdNapFnbErcbnP11Q=", "owner": "nixos", "repo": "nixpkgs", - "rev": "ab0f3607a6c7486ea22229b92ed2d355f1482ee0", + "rev": "2795c506fe8fb7b03c36ccb51f75b6df0ab2553f", "type": "github" }, "original": { @@ -1737,11 +1733,11 @@ }, "nixpkgs_3": { "locked": { - "lastModified": 1760878510, - "narHash": "sha256-K5Osef2qexezUfs0alLvZ7nQFTGS9DL2oTVsIXsqLgs=", + "lastModified": 1756266583, + "narHash": "sha256-cr748nSmpfvnhqSXPiCfUPxRz2FJnvf/RjJGvFfaCsM=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "5e2a59a5b1a82f89f2c7e598302a9cacebb72a67", + "rev": "8a6d5427d99ec71c64f0b93d45778c889005d9c2", "type": "github" }, "original": { @@ -1801,11 +1797,11 @@ }, "nixpkgs_7": { "locked": { - "lastModified": 1760878510, - "narHash": "sha256-K5Osef2qexezUfs0alLvZ7nQFTGS9DL2oTVsIXsqLgs=", + "lastModified": 1757068644, + "narHash": "sha256-NOrUtIhTkIIumj1E/Rsv1J37Yi3xGStISEo8tZm3KW4=", "owner": "nixos", "repo": "nixpkgs", - "rev": "5e2a59a5b1a82f89f2c7e598302a9cacebb72a67", + "rev": "8eb28adfa3dc4de28e792e3bf49fcf9007ca8ac9", "type": "github" }, "original": { @@ -1817,11 +1813,11 @@ }, "nixpkgs_8": { "locked": { - "lastModified": 1759632233, - "narHash": "sha256-krgZxGAIIIKFJS+UB0l8do3sYUDWJc75M72tepmVMzE=", + "lastModified": 1755829505, + "narHash": "sha256-4/Jd+LkQ2ssw8luQVkqVs9spDBVE6h/u/hC/tzngsPo=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "d7f52a7a640bc54c7bb414cca603835bf8dd4b10", + "rev": "f937f8ecd1c70efd7e9f90ba13dfb400cf559de4", "type": "github" }, "original": { @@ -1833,11 +1829,11 @@ }, "nixpkgs_9": { "locked": { - "lastModified": 1760596604, - "narHash": "sha256-J/i5K6AAz/y5dBePHQOuzC7MbhyTOKsd/GLezSbEFiM=", + "lastModified": 1744868846, + "narHash": "sha256-5RJTdUHDmj12Qsv7XOhuospjAjATNiTMElplWnJE9Hs=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "3cbe716e2346710d6e1f7c559363d14e11c32a43", + "rev": "ebe4301cbd8f81c4f8d3244b3632338bbeb6d49c", "type": "github" }, "original": { @@ -1855,11 +1851,11 @@ "systems": "systems_5" }, "locked": { - "lastModified": 1760960598, - "narHash": "sha256-UP1v+sEkHuvD2+qyhxbkQpBR+dl9U0ljml3/dMI2jeU=", + "lastModified": 1757262063, + "narHash": "sha256-ZDaOhRQuEdwHza85JBBSh0a40YoSYN5nQEzUYIg+p3Q=", "owner": "nix-community", "repo": "nixvim", - "rev": "e3b77e803b2350b72f4d72c8f175ab0fbfe5a642", + "rev": "3813f183bc97100065554050b8b818b741a4e502", "type": "github" }, "original": { @@ -1880,11 +1876,11 @@ ] }, "locked": { - "lastModified": 1758998580, - "narHash": "sha256-VLx0z396gDCGSiowLMFz5XRO/XuNV+4EnDYjdJhHvUk=", + "lastModified": 1756961635, + "narHash": "sha256-hETvQcILTg5kChjYNns1fD5ELdsYB/VVgVmBtqKQj9A=", "owner": "nix-community", "repo": "NUR", - "rev": "ba8d9c98f5f4630bcb0e815ab456afd90c930728", + "rev": "6ca27b2654ac55e3f6e0ca434c1b4589ae22b370", "type": "github" }, "original": { @@ -1903,11 +1899,11 @@ ] }, "locked": { - "lastModified": 1758662783, - "narHash": "sha256-igrxT+/MnmcftPOHEb+XDwAMq3Xg1Xy7kVYQaHhPlAg=", + "lastModified": 1755555503, + "narHash": "sha256-WiOO7GUOsJ4/DoMy2IC5InnqRDSo2U11la48vCCIjjY=", "owner": "NuschtOS", "repo": "search", - "rev": "7d4c0fc4ffe3bd64e5630417162e9e04e64b27a4", + "rev": "6f3efef888b92e6520f10eae15b86ff537e1d2ea", "type": "github" }, "original": { @@ -1927,11 +1923,11 @@ "systems": "systems_6" }, "locked": { - "lastModified": 1760153667, - "narHash": "sha256-F7KmXT/Izse6Q6CkD5GCImoGPaDJxl03Kd7eD+eY/bU=", + "lastModified": 1757095994, + "narHash": "sha256-AXwM6/7CuQ39iwBqmc6ZNkVcCdFiK4MFRIGQgU6Mkyk=", "owner": "notashelf", "repo": "nvf", - "rev": "9df9d51fd9fc8f9a8fc377f984ea3b7ae796172d", + "rev": "fb31022b366ad21951f0352f0cc282cc6a8e9e6f", "type": "github" }, "original": { @@ -1950,11 +1946,11 @@ ] }, "locked": { - "lastModified": 1760663237, - "narHash": "sha256-BflA6U4AM1bzuRMR8QqzPXqh8sWVCNDzOdsxXEguJIc=", + "lastModified": 1755960406, + "narHash": "sha256-RF7j6C1TmSTK9tYWO6CdEMtg6XZaUKcvZwOCD2SICZs=", "owner": "cachix", "repo": "git-hooks.nix", - "rev": "ca5b894d3e3e151ffc1db040b6ce4dcc75d31c37", + "rev": "e891a93b193fcaf2fc8012d890dc7f0befe86ec2", "type": "github" }, "original": { @@ -1996,11 +1992,11 @@ ] }, "locked": { - "lastModified": 1760663237, - "narHash": "sha256-BflA6U4AM1bzuRMR8QqzPXqh8sWVCNDzOdsxXEguJIc=", + "lastModified": 1757239681, + "narHash": "sha256-E9spYi9lxm2f1zWQLQ7xQt8Xs2nWgr1T4QM7ZjLFphM=", "owner": "cachix", "repo": "pre-commit-hooks.nix", - "rev": "ca5b894d3e3e151ffc1db040b6ce4dcc75d31c37", + "rev": "ab82ab08d6bf74085bd328de2a8722c12d97bd9d", "type": "github" }, "original": { @@ -2054,11 +2050,11 @@ "nixpkgs": "nixpkgs_9" }, "locked": { - "lastModified": 1760845571, - "narHash": "sha256-PwGzU3EOU65Ef1VvuNnVLie+l+P0g/fzf/PGUG82KbM=", + "lastModified": 1754988908, + "narHash": "sha256-t+voe2961vCgrzPFtZxha0/kmFSHFobzF00sT8p9h0U=", "owner": "Mic92", "repo": "sops-nix", - "rev": "9c9a9798be331ed3f4b2902933d7677d0659ee61", + "rev": "3223c7a92724b5d804e9988c6b447a0d09017d48", "type": "github" }, "original": { @@ -2104,11 +2100,11 @@ "tinted-zed": "tinted-zed" }, "locked": { - "lastModified": 1760472212, - "narHash": "sha256-4C3I/ssFsq8EgaUmZP0xv5V7RV0oCHgL/Rx+MUkuE+E=", + "lastModified": 1757172691, + "narHash": "sha256-VOn/s24rb+iO6auhmGfT5kyr0ixRK6weBsNCKkGo2yY=", "owner": "danth", "repo": "stylix", - "rev": "8d008296a1b3be9b57ad570f7acea00dd2fc92db", + "rev": "9991299fe9aad330fb6b96bb58def37033271177", "type": "github" }, "original": { @@ -2125,11 +2121,11 @@ "nixpkgs": "nixpkgs_10" }, "locked": { - "lastModified": 1760420543, - "narHash": "sha256-NJprvSummITIhJn+A2wTtQ8YhWLSWQN6j5gjnLqWSAc=", + "lastModified": 1757058434, + "narHash": "sha256-79PHblCIwklma2o4fQsFbZ0q+gmdFKQH2smBl1FmjjA=", "owner": "MHNightCat", "repo": "superfile", - "rev": "552b7f8a2ef839145326c5174985fb9b4de611b3", + "rev": "51a71f25abee58c1a3dd148a59a62b06402fa920", "type": "github" }, "original": { @@ -2294,11 +2290,11 @@ "tinted-schemes": { "flake": false, "locked": { - "lastModified": 1757716333, - "narHash": "sha256-d4km8W7w2zCUEmPAPUoLk1NlYrGODuVa3P7St+UrqkM=", + "lastModified": 1754779259, + "narHash": "sha256-8KG2lXGaXLUE0F/JVwLQe7kOVm21IDfNEo0gfga5P4M=", "owner": "tinted-theming", "repo": "schemes", - "rev": "317a5e10c35825a6c905d912e480dfe8e71c7559", + "rev": "097d751b9e3c8b97ce158e7d141e5a292545b502", "type": "github" }, "original": { @@ -2310,11 +2306,11 @@ "tinted-tmux": { "flake": false, "locked": { - "lastModified": 1757811970, - "narHash": "sha256-n5ZJgmzGZXOD9pZdAl1OnBu3PIqD+X3vEBUGbTi4JiI=", + "lastModified": 1754788770, + "narHash": "sha256-LAu5nBr7pM/jD9jwFc6/kyFY4h7Us4bZz7dvVvehuwo=", "owner": "tinted-theming", "repo": "tinted-tmux", - "rev": "d217ba31c846006e9e0ae70775b0ee0f00aa6b1e", + "rev": "fb2175accef8935f6955503ec9dd3c973eec385c", "type": "github" }, "original": { @@ -2326,11 +2322,11 @@ "tinted-zed": { "flake": false, "locked": { - "lastModified": 1757811247, - "narHash": "sha256-4EFOUyLj85NRL3OacHoLGEo0wjiRJzfsXtR4CZWAn6w=", + "lastModified": 1755613540, + "narHash": "sha256-zBFrrTxHLDMDX/OYxkCwGGbAhPXLi8FrnLhYLsSOKeY=", "owner": "tinted-theming", "repo": "base16-zed", - "rev": "824fe0aacf82b3c26690d14e8d2cedd56e18404e", + "rev": "937bada16cd3200bdbd3a2f5776fc3b686d5cba0", "type": "github" }, "original": { @@ -2367,11 +2363,11 @@ ] }, "locked": { - "lastModified": 1760713634, - "narHash": "sha256-5HXelmz2x/uO26lvW7MudnadbAfoBnve4tRBiDVLtOM=", + "lastModified": 1755354946, + "narHash": "sha256-zdov5f/GcoLQc9qYIS1dUTqtJMeDqmBmo59PAxze6e4=", "owner": "hyprwm", "repo": "xdg-desktop-portal-hyprland", - "rev": "753bbbdf6a052994da94062e5b753288cef28dfb", + "rev": "a10726d6a8d0ef1a0c645378f983b6278c42eaa0", "type": "github" }, "original": { @@ -2433,11 +2429,11 @@ "nixpkgs": "nixpkgs_11" }, "locked": { - "lastModified": 1760934351, - "narHash": "sha256-RehxVjBRC9EiBO36EPZROLHhVVSWFe3KEROhaEapboM=", + "lastModified": 1757218898, + "narHash": "sha256-mB3z1ssPry/wHgLd8gFOaltwQ9kIRTqrzikkcnxG720=", "owner": "0xc000022070", "repo": "zen-browser-flake", - "rev": "596c3ac14be576b93f5db9252a1b0581e453ec9f", + "rev": "2255b29eece0757827b9911ef685c963996542b6", "type": "github" }, "original": { diff --git a/home-manager/modules/common-gui.nix b/home-manager/modules/common-gui.nix index b37106a..5d15883 100644 --- a/home-manager/modules/common-gui.nix +++ b/home-manager/modules/common-gui.nix @@ -24,6 +24,5 @@ rPackages.fontawesome ubuntu_font_family yt-dlp - mochi ]; } diff --git a/home-manager/modules/common.nix b/home-manager/modules/common.nix index 25d3f40..d5eb1dd 100644 --- a/home-manager/modules/common.nix +++ b/home-manager/modules/common.nix @@ -19,7 +19,6 @@ ./zoxide.nix ./zsh.nix ./fzf.nix - ./zk.nix ./nushell/default.nix ]; nixpkgs.config.allowUnfree = true; @@ -31,7 +30,6 @@ ncdu minio-client kanata - yatto # Editors # neovim # Improved version of vim, often used with overlays. diff --git a/home-manager/modules/hyprland/default.nix b/home-manager/modules/hyprland/default.nix index 486012f..caae2ce 100644 --- a/home-manager/modules/hyprland/default.nix +++ b/home-manager/modules/hyprland/default.nix @@ -22,7 +22,7 @@ in ./animations.nix ./bindings.nix ./polkitagent.nix - # ./hyprspace.nix + ./hyprspace.nix ./hyprpanel.nix ./hyprlock.nix ]; @@ -76,8 +76,6 @@ 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 ]; diff --git a/home-manager/modules/hyprland/hyprpanel.nix b/home-manager/modules/hyprland/hyprpanel.nix index 6bcc7fa..1cd1bb1 100644 --- a/home-manager/modules/hyprland/hyprpanel.nix +++ b/home-manager/modules/hyprland/hyprpanel.nix @@ -24,7 +24,7 @@ let position = config.theme.bar.position; # "top" ou "bottom" notificationOpacity = 90; - homeDir = "/home/gwg313"; + location = config.var.location; in { @@ -34,26 +34,28 @@ in enable = true; settings = { - bar.layouts = { - "*" = { - left = [ - "dashboard" - "workspaces" - "windowtitle" - ]; - middle = [ - "media" - "cava" - ]; - right = [ - "systray" - "volume" - "bluetooth" - "battery" - "network" - "clock" - "notifications" - ]; + layout = { + bar.layouts = { + "*" = { + "left" = [ + "dashboard" + "workspaces" + "windowtitle" + ]; + "middle" = [ + "media" + "cava" + ]; + "right" = [ + "systray" + "volume" + "bluetooth" + "battery" + "network" + "clock" + "notifications" + ]; + }; }; }; @@ -141,32 +143,72 @@ 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"; }; }; } diff --git a/home-manager/modules/linux-gui.nix b/home-manager/modules/linux-gui.nix index ed2b4c4..d3557dc 100644 --- a/home-manager/modules/linux-gui.nix +++ b/home-manager/modules/linux-gui.nix @@ -28,7 +28,5 @@ zotero feishin picard - postman - figma-linux ]; } diff --git a/home-manager/modules/nvf/default.nix b/home-manager/modules/nvf/default.nix index 0f5d306..2f2feff 100644 --- a/home-manager/modules/nvf/default.nix +++ b/home-manager/modules/nvf/default.nix @@ -1,7 +1,6 @@ { inputs, pkgs, - lib, ... }: { @@ -23,37 +22,7 @@ # 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, - }, - }, - }) - ''; }; }; } diff --git a/home-manager/modules/nvf/keymaps.nix b/home-manager/modules/nvf/keymaps.nix index 7439054..1a6a18e 100644 --- a/home-manager/modules/nvf/keymaps.nix +++ b/home-manager/modules/nvf/keymaps.nix @@ -31,12 +31,31 @@ action = "bnext"; desc = "Next Buffer"; } + + # Kitty navigator { - key = "bd"; + key = ""; mode = "n"; silent = true; - action = "bd"; - desc = "Close current buffer"; + action = "KittyNavigateLeft"; + } + { + key = ""; + mode = "n"; + silent = true; + action = "KittyNavigateDown"; + } + { + key = ""; + mode = "n"; + silent = true; + action = "KittyNavigateUp"; + } + { + key = ""; + mode = "n"; + silent = true; + action = "KittyNavigateRight"; } # Disable Arrow Keys in Normal Mode diff --git a/home-manager/modules/nvf/languages.nix b/home-manager/modules/nvf/languages.nix index 997c48f..541f1c2 100644 --- a/home-manager/modules/nvf/languages.nix +++ b/home-manager/modules/nvf/languages.nix @@ -105,11 +105,8 @@ 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; @@ -121,7 +118,6 @@ format.enable = true; treesitter.enable = true; }; - rust.enable = true; }; formatter = { conform-nvim = { diff --git a/home-manager/modules/nvf/mini.nix b/home-manager/modules/nvf/mini.nix index c7ff3d7..2c0568b 100644 --- a/home-manager/modules/nvf/mini.nix +++ b/home-manager/modules/nvf/mini.nix @@ -9,6 +9,5 @@ pairs.enable = true; diff.enable = true; git.enable = true; - # snippets.enable = true; }; } diff --git a/home-manager/modules/nvf/utils.nix b/home-manager/modules/nvf/utils.nix index 9d3319c..2d5900a 100644 --- a/home-manager/modules/nvf/utils.nix +++ b/home-manager/modules/nvf/utils.nix @@ -6,13 +6,12 @@ { 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; }; @@ -31,6 +30,10 @@ # cmp.enable = true; # }; statusline.lualine.enable = true; + # autocomplete.blink-cmp = { + # enable = true; + # friendly-snippets.enable = true; + # }; autocomplete = { nvim-cmp = { enable = true; @@ -45,55 +48,6 @@ }; }; 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; diff --git a/home-manager/modules/tmux/tmux.nix b/home-manager/modules/tmux/tmux.nix index e20d47e..01bd3dd 100644 --- a/home-manager/modules/tmux/tmux.nix +++ b/home-manager/modules/tmux/tmux.nix @@ -20,8 +20,7 @@ extraConfig = '' bind -n M-r source-file ~/.config/tmux/tmux.conf - set -g default-terminal "screen-256color" - set -sa terminal-overrides ",xterm-256color:RGB" + set -ag terminal-overrides ",xterm-256color:RGB" diff --git a/home-manager/modules/zk.nix b/home-manager/modules/zk.nix deleted file mode 100644 index a8ef24e..0000000 --- a/home-manager/modules/zk.nix +++ /dev/null @@ -1,99 +0,0 @@ -{ 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"; - }; - }; - }; -} diff --git a/hosts/candlekeep/configuration.nix b/hosts/candlekeep/configuration.nix index fda2298..013da22 100644 --- a/hosts/candlekeep/configuration.nix +++ b/hosts/candlekeep/configuration.nix @@ -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; diff --git a/hosts/seikan/routes.nix b/hosts/seikan/routes.nix index 32027a6..d272e67 100644 --- a/hosts/seikan/routes.nix +++ b/hosts/seikan/routes.nix @@ -92,12 +92,6 @@ url = "https://cache.zerotier.gwg313.xyz"; } ]; - - a3-dev_zt.loadBalancer.servers = [ - { - url = "https://a3-dev.zerotier.gwg313.xyz"; - } - ]; }; routers = { @@ -219,22 +213,6 @@ 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" ]; - }; }; }; }; diff --git a/hosts/waypoint/routes.nix b/hosts/waypoint/routes.nix index 56328c0..3e50065 100644 --- a/hosts/waypoint/routes.nix +++ b/hosts/waypoint/routes.nix @@ -123,14 +123,6 @@ tls.certResolver = "le"; middlewares = [ "headers" ]; }; - - a3-dev = { - entryPoints = [ "websecure" ]; - rule = "Host(`a3-dev.gwg313.xyz`)"; - service = "a3-dev_local"; - tls.certResolver = "le"; - middlewares = [ "headers" ]; - }; }; }; }; diff --git a/hosts/waypoint/routes_zerotier.nix b/hosts/waypoint/routes_zerotier.nix index f971f02..f93e83d 100644 --- a/hosts/waypoint/routes_zerotier.nix +++ b/hosts/waypoint/routes_zerotier.nix @@ -123,22 +123,6 @@ 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" ]; - }; }; }; }; diff --git a/hosts/waypoint/services.nix b/hosts/waypoint/services.nix index c218a20..45da58b 100644 --- a/hosts/waypoint/services.nix +++ b/hosts/waypoint/services.nix @@ -107,12 +107,6 @@ url = "https://cache.gwg313.xyz"; } ]; - - a3-dev_local.loadBalancer.servers = [ - { - url = "https://a3-dev.gwg313.xyz"; - } - ]; }; }; }; diff --git a/pkgs/default.nix b/pkgs/default.nix index 2bcdf2b..daea785 100644 --- a/pkgs/default.nix +++ b/pkgs/default.nix @@ -4,7 +4,5 @@ { # example = pkgs.callPackage ./example { }; # sesh = pkgs.callPackage ./sesh {}; - yatto = pkgs.callPackage ./yatto { }; ceserver = pkgs.callPackage ./ceserver { }; - oasis-nvim = pkgs.callPackage ./oasis-nvim { }; } diff --git a/pkgs/oasis-nvim/default.nix b/pkgs/oasis-nvim/default.nix deleted file mode 100644 index 56654b8..0000000 --- a/pkgs/oasis-nvim/default.nix +++ /dev/null @@ -1,23 +0,0 @@ -{ - 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; - }; -} diff --git a/pkgs/yatto/default.nix b/pkgs/yatto/default.nix deleted file mode 100644 index 4ce3cba..0000000 --- a/pkgs/yatto/default.nix +++ /dev/null @@ -1,32 +0,0 @@ -{ - 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"; - }; -}) diff --git a/wallpapers/nixos-wallpaper-catppuccin-frappe.png b/wallpapers/nixos-wallpaper-catppuccin-frappe.png deleted file mode 100644 index d724eae..0000000 Binary files a/wallpapers/nixos-wallpaper-catppuccin-frappe.png and /dev/null differ diff --git a/wallpapers/nixos-wallpaper-oasis-day.png b/wallpapers/nixos-wallpaper-oasis-day.png deleted file mode 100644 index b39f449..0000000 Binary files a/wallpapers/nixos-wallpaper-oasis-day.png and /dev/null differ diff --git a/wallpapers/oasis.png b/wallpapers/oasis.png deleted file mode 100644 index 76dc009..0000000 Binary files a/wallpapers/oasis.png and /dev/null differ