Compare commits

..

21 Commits

Author SHA1 Message Date
19ad1a7f59 Add codecompanion.nvim 2026-03-01 22:26:40 -05:00
3c4a637235 force X11 with zeditor to avoid shift+v capture 2026-03-01 21:32:49 -05:00
78d9960594 Cleanup zed-editor config 2026-03-01 20:59:35 -05:00
a7bd9c8813 nix flake update: 2026-03-01 04:38:11 UTC
• Updated input 'home-manager':
    'github:nix-community/home-manager/36e38ca0d9afe4c55405fdf22179a5212243eecc?narHash=sha256-aqBl3GNpCadMoJ/hVkWTijM1Aeilc278MjM%2BLA3jK6g%3D' (2026-02-25)
  → 'github:nix-community/home-manager/9b9142b5fe214c2adabe86257c33e022372b7c96?narHash=sha256-TL3%2BckbOTILXrR0qSK3dJj2BJ0S5yz/YSsUF1oEgd9g%3D' (2026-02-28)
• Updated input 'nixpkgs-unstable':
    'github:NixOS/nixpkgs/2fc6539b481e1d2569f25f8799236694180c0993?narHash=sha256-0MAd%2B0mun3K/Ns8JATeHT1sX28faLII5hVLq0L3BdZU%3D' (2026-02-23)
  → 'github:NixOS/nixpkgs/dd9b079222d43e1943b6ebd802f04fd959dc8e61?narHash=sha256-I45esRSssFtJ8p/gLHUZ1OUaaTaVLluNkABkk6arQwE%3D' (2026-02-27)
• Updated input 'vpngate':
    'github:davegallant/vpngate/e2a3d5ab73ad8a0f052556c0f9d4be2c51058917?narHash=sha256-cKtETtnZvBGV3Jn8/KczzselLepwH%2Bt3vJg24O7wn9c%3D' (2026-02-21)
  → 'github:davegallant/vpngate/184ea2acf2ade5dff27bad958233c6d88c761f5c?narHash=sha256-BWyEll/XLzC8HATyf2EJzWIKT8aJcjtAb2dokfIPInM%3D' (2026-02-28)
2026-02-28 23:38:11 -05:00
d6dbb86a41 Add flatpak 2026-02-28 18:28:16 -05:00
70c5a30fc0 Use unstable.lutris 2026-02-28 18:23:46 -05:00
3791e87bc2 Add peon-ping 2026-02-28 16:25:01 -05:00
5edb0c9831 nix flake update: 2026-02-27 22:20:03 UTC
• Updated input 'darwin':
    'github:lnl7/nix-darwin/08585aacc3d6d6c280a02da195fdbd4b9cf083c2?narHash=sha256-owcSz2ICqTSvhBbhPP%2B1eWzi88e54rRZtfCNE5E/wwg%3D' (2026-01-05)
  → 'github:lnl7/nix-darwin/ebec37af18215214173c98cf6356d0aca24a2585?narHash=sha256-Utk0zd8STPsUJPyjabhzPc5BpPodLTXrwkpXBHYnpeg%3D' (2026-02-26)
• Updated input 'home-manager':
    'github:nix-community/home-manager/cb6c151f5c9db4df0b69d06894dc8484de1f16a0?narHash=sha256-EDLi%2BYAsEEAmMeZe1v6GccuGRbCkpSZp/%2BA6g%2BpivR8%3D' (2026-02-22)
  → 'github:nix-community/home-manager/36e38ca0d9afe4c55405fdf22179a5212243eecc?narHash=sha256-aqBl3GNpCadMoJ/hVkWTijM1Aeilc278MjM%2BLA3jK6g%3D' (2026-02-25)
• Updated input 'home-manager/nixpkgs':
    'github:NixOS/nixpkgs/c217913993d6c6f6805c3b1a3bda5e639adfde6d?narHash=sha256-D1PA3xQv/s4W3lnR9yJFSld8UOLr0a/cBWMQMXS%2B1Qg%3D' (2026-02-20)
  → 'github:NixOS/nixpkgs/e764fc9a405871f1f6ca3d1394fb422e0a0c3951?narHash=sha256-sdaqdnsQCv3iifzxwB22tUwN/fSHoN7j2myFW5EIkGk%3D' (2026-02-24)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/e764fc9a405871f1f6ca3d1394fb422e0a0c3951?narHash=sha256-sdaqdnsQCv3iifzxwB22tUwN/fSHoN7j2myFW5EIkGk%3D' (2026-02-24)
  → 'github:NixOS/nixpkgs/1267bb4920d0fc06ea916734c11b0bf004bbe17e?narHash=sha256-7DaQVv4R97cii/Qdfy4tmDZMB2xxtyIvNGSwXBBhSmo%3D' (2026-02-25)
• Updated input 'weathr':
    'github:Veirt/weathr/7e3d7cd909fa61c36a6cf99ea84980199c3a9f63?narHash=sha256-PXr/5eKV/oPvjsas5AIkRS88gFnFskr6%2BeXWdeR8Yo8%3D' (2026-02-24)
  → 'github:Veirt/weathr/56aa86fe83cb42f96f497087bd19c8e073f7ee1e?narHash=sha256-n/fjjbfBtzmd7QV7jInnb%2Bk5tC3g8sXzoI2rka8scwI%3D' (2026-02-27)
2026-02-27 17:20:03 -05:00
732e9230d2 Remove nodejs as global package 2026-02-26 22:55:00 -05:00
73a264f26c Cleanup codebase 2026-02-26 22:53:10 -05:00
6738c7f4a7 nix flake update: 2026-02-24 22:02:46 UTC
unpacking 'https://flakehub.com/f/DeterminateSystems/determinate/%2A' into the Git cache...
unpacking 'github:NixOS/nixpkgs/c9c494411139bf640b22c332f7a92b94e8454de2' into the Git cache...
unpacking 'github:Veirt/weathr/7e3d7cd909fa61c36a6cf99ea84980199c3a9f63' into the Git cache...
• Updated input 'determinate':
    'https://api.flakehub.com/f/pinned/DeterminateSystems/determinate/3.16.0/019c58b5-64dc-77f9-b913-8738b7d338cc/source.tar.gz?narHash=sha256-NrCFwn20ewJwy/SZoREs%2BXylerizPCYP54n9qkr31/E%3D' (2026-02-13)
  → 'https://api.flakehub.com/f/pinned/DeterminateSystems/determinate/3.16.3/019c8e19-e7a4-7fe4-ad79-b4b5feefd24a/source.tar.gz?narHash=sha256-ns%2B2FDFS2BUbT1CshCF0hLYyYR2BiTOQqCMHDoGFXUo%3D' (2026-02-24)
• Updated input 'determinate/determinate-nixd-aarch64-darwin':
    'https://install.determinate.systems/determinate-nixd/tag/v3.16.0/macOS?narHash=sha256-PUo0u1iNMB8eTlBNFMCW8/UAn1sGKGqsIYlXaDRhx00%3D'
  → 'https://install.determinate.systems/determinate-nixd/tag/v3.16.3/macOS?narHash=sha256-NK3YCWCmz9WYQtXTg5/VYNo%2BKrV/7P5rBYqVhkzWEv8%3D'
• Updated input 'determinate/determinate-nixd-aarch64-linux':
    'https://install.determinate.systems/determinate-nixd/tag/v3.16.0/aarch64-linux?narHash=sha256-jiIWiM88xkEpBQeohSxhl83fn2xoZY0nFkrW6CUAIAI%3D'
  → 'https://install.determinate.systems/determinate-nixd/tag/v3.16.3/aarch64-linux?narHash=sha256-RtiD/ualuvKSZH04G5KpBd2D4tcr5pv//cU%2BCGnByKs%3D'
• Updated input 'determinate/determinate-nixd-x86_64-linux':
    'https://install.determinate.systems/determinate-nixd/tag/v3.16.0/x86_64-linux?narHash=sha256-qF/NNdHwh3tAHrKIOz2FRq5Q8GcSMzJeEY/PFvGf5vo%3D'
  → 'https://install.determinate.systems/determinate-nixd/tag/v3.16.3/x86_64-linux?narHash=sha256-XDzjUdfsnWtANfAzd8GpLkuch1%2B3rHDGD2uKN93Fw6M%3D'
• Updated input 'determinate/nix':
    'https://api.flakehub.com/f/pinned/DeterminateSystems/nix-src/3.16.0/019c589d-45e9-7337-9ff0-a8d78fecf63f/source.tar.gz?narHash=sha256-Itk88UC3CxjGjjAb20KI6KrM9tRoGEpbv996fXwAWGo%3D' (2026-02-13)
  → 'https://api.flakehub.com/f/pinned/DeterminateSystems/nix-src/3.16.3/019c8e13-4542-7edc-9244-38a597d18258/source.tar.gz?narHash=sha256-yMI4VhuahG1027I%2Bx/xy0F5FUM7ntwB/hDouCmpwEb8%3D' (2026-02-24)
• Updated input 'determinate/nixpkgs':
    'https://api.flakehub.com/f/pinned/DeterminateSystems/nixpkgs-weekly/0.1.942631%2Brev-fef9403a3e4d31b0a23f0bacebbec52c248fbb51/019c4621-ce4f-799f-82f6-b3b29f099b09/source.tar.gz?narHash=sha256-pF1quXG5wsgtyuPOHcLfYg/ft/QMr8NnX0i6tW2187s%3D' (2026-02-08)
  → 'https://api.flakehub.com/f/pinned/DeterminateSystems/nixpkgs-weekly/0.1.946843%2Brev-ac055f38c798b0d87695240c7b761b82fc7e5bc2/019c6a25-fd20-733f-936e-6487e2957fe4/source.tar.gz?narHash=sha256-trTtk3WTOHz7hSw89xIIvahkgoFJYQ0G43IlqprFoMA%3D' (2026-02-15)
• Updated input 'home-manager':
    'github:nix-community/home-manager/0d782ee42c86b196acff08acfbf41bb7d13eed5b?narHash=sha256-3iVX1%2B7YUIt23hBx1WZsUllhbmP2EnXrV8tCRbLxHc8%3D' (2026-02-05)
  → 'github:nix-community/home-manager/cb6c151f5c9db4df0b69d06894dc8484de1f16a0?narHash=sha256-EDLi%2BYAsEEAmMeZe1v6GccuGRbCkpSZp/%2BA6g%2BpivR8%3D' (2026-02-22)
• Updated input 'home-manager/nixpkgs':
    'github:NixOS/nixpkgs/e576e3c9cf9bad747afcddd9e34f51d18c855b4e?narHash=sha256-tlFqNG/uzz2%2B%2BaAmn4v8J0vAkV3z7XngeIIB3rM3650%3D' (2026-02-03)
  → 'github:NixOS/nixpkgs/c217913993d6c6f6805c3b1a3bda5e639adfde6d?narHash=sha256-D1PA3xQv/s4W3lnR9yJFSld8UOLr0a/cBWMQMXS%2B1Qg%3D' (2026-02-20)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/c217913993d6c6f6805c3b1a3bda5e639adfde6d?narHash=sha256-D1PA3xQv/s4W3lnR9yJFSld8UOLr0a/cBWMQMXS%2B1Qg%3D' (2026-02-20)
  → 'github:NixOS/nixpkgs/e764fc9a405871f1f6ca3d1394fb422e0a0c3951?narHash=sha256-sdaqdnsQCv3iifzxwB22tUwN/fSHoN7j2myFW5EIkGk%3D' (2026-02-24)
• Updated input 'nixpkgs-master':
    'github:NixOS/nixpkgs/c3897c38444fe89feb95e02ba82b1b6e39498808?narHash=sha256-Cy2rFEGB5a4aC%2Btc1Pu8dSjXQu6M0ZCa1MAcZhEeRZY%3D' (2026-02-21)
  → 'github:NixOS/nixpkgs/c9c494411139bf640b22c332f7a92b94e8454de2?narHash=sha256-WehtkEpgrJDWmkSN8RRgJGA4HFvxWbwnihY8tJAWJqQ%3D' (2026-02-24)
• Updated input 'nixpkgs-unstable':
    'github:NixOS/nixpkgs/0182a361324364ae3f436a63005877674cf45efb?narHash=sha256-0NBlEBKkN3lufyvFegY4TYv5mCNHbi5OmBDrzihbBMQ%3D' (2026-02-17)
  → 'github:NixOS/nixpkgs/2fc6539b481e1d2569f25f8799236694180c0993?narHash=sha256-0MAd%2B0mun3K/Ns8JATeHT1sX28faLII5hVLq0L3BdZU%3D' (2026-02-23)
• Updated input 'vpngate':
    'github:davegallant/vpngate/7948580d1dbfb55fc860f5fec739ded255ea9d22?narHash=sha256-HRD%2B5T0kkjWmeZc9722zPhwdKaNJ7foQW5%2BVlM/STOY%3D' (2026-02-16)
  → 'github:davegallant/vpngate/e2a3d5ab73ad8a0f052556c0f9d4be2c51058917?narHash=sha256-cKtETtnZvBGV3Jn8/KczzselLepwH%2Bt3vJg24O7wn9c%3D' (2026-02-21)
• Updated input 'weathr':
    'github:Veirt/weathr/65f1610698cd9678a38b7f0e6dcf1084695a9e0a?narHash=sha256-XnkDOzS64bUHylsKaHC9Q2Nkq14OUYC6OKrUZDfNCPY%3D' (2026-02-22)
  → 'github:Veirt/weathr/7e3d7cd909fa61c36a6cf99ea84980199c3a9f63?narHash=sha256-PXr/5eKV/oPvjsas5AIkRS88gFnFskr6%2BeXWdeR8Yo8%3D' (2026-02-24)
2026-02-24 17:02:46 -05:00
ffa8519d1b Add weathr 2026-02-22 23:47:01 -05:00
d027795ad5 nix flake update: 2026-02-21 13:48:31 UTC
unpacking 'https://flakehub.com/f/DeterminateSystems/determinate/%2A' into the Git cache...
unpacking 'github:NixOS/nixpkgs/c3897c38444fe89feb95e02ba82b1b6e39498808' into the Git cache...
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/6d41bc27aaf7b6a3ba6b169db3bd5d6159cfaa47?narHash=sha256-bxAlQgre3pcQcaRUm/8A0v/X8d2nhfraWSFqVmMcBcU%3D' (2026-02-18)
  → 'github:NixOS/nixpkgs/c217913993d6c6f6805c3b1a3bda5e639adfde6d?narHash=sha256-D1PA3xQv/s4W3lnR9yJFSld8UOLr0a/cBWMQMXS%2B1Qg%3D' (2026-02-20)
• Updated input 'nixpkgs-master':
    'github:NixOS/nixpkgs/2e642b6926edfdee3d21a9f62e987bc263ee8108?narHash=sha256-6WfepHZmH2/FAizP2BsSf1433a3TBNCQnKY1C7/EkVk%3D' (2026-02-20)
  → 'github:NixOS/nixpkgs/c3897c38444fe89feb95e02ba82b1b6e39498808?narHash=sha256-Cy2rFEGB5a4aC%2Btc1Pu8dSjXQu6M0ZCa1MAcZhEeRZY%3D' (2026-02-21)
2026-02-21 08:48:31 -05:00
5dc1651d3d nix flake update: 2026-02-20 22:59:42 UTC
unpacking 'https://flakehub.com/f/DeterminateSystems/determinate/%2A' into the Git cache...
unpacking 'github:NixOS/nixpkgs/2e642b6926edfdee3d21a9f62e987bc263ee8108' into the Git cache...
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/fa56d7d6de78f5a7f997b0ea2bc6efd5868ad9e8?narHash=sha256-X01Q3DgSpjeBpapoGA4rzKOn25qdKxbPnxHeMLNoHTU%3D' (2026-02-16)
  → 'github:NixOS/nixpkgs/6d41bc27aaf7b6a3ba6b169db3bd5d6159cfaa47?narHash=sha256-bxAlQgre3pcQcaRUm/8A0v/X8d2nhfraWSFqVmMcBcU%3D' (2026-02-18)
• Updated input 'nixpkgs-master':
    'github:NixOS/nixpkgs/041e1c037ad934ab5e7917d6b9705407a745a169?narHash=sha256-Jj9AddtMkoxT2Nu7nYxp5F9vnh%2BwR6eWqA70Gj%2BsZIM%3D' (2026-02-19)
  → 'github:NixOS/nixpkgs/2e642b6926edfdee3d21a9f62e987bc263ee8108?narHash=sha256-6WfepHZmH2/FAizP2BsSf1433a3TBNCQnKY1C7/EkVk%3D' (2026-02-20)
2026-02-20 17:59:42 -05:00
3ec8e21b67 nix flake update: 2026-02-19 04:38:56 UTC
unpacking 'https://flakehub.com/f/DeterminateSystems/determinate/%2A' into the Git cache...
unpacking 'github:NixOS/nixpkgs/041e1c037ad934ab5e7917d6b9705407a745a169' into the Git cache...
unpacking 'github:NixOS/nixpkgs/0182a361324364ae3f436a63005877674cf45efb' into the Git cache...
• Updated input 'nixpkgs-master':
    'github:NixOS/nixpkgs/296008e1b5d6fced172f91ab6215ea19fb3196cc?narHash=sha256-pa1IHRvhed6cdCArIZ1f/dGW2IKyaT3iP4poBcT4oK8%3D' (2026-02-17)
  → 'github:NixOS/nixpkgs/041e1c037ad934ab5e7917d6b9705407a745a169?narHash=sha256-Jj9AddtMkoxT2Nu7nYxp5F9vnh%2BwR6eWqA70Gj%2BsZIM%3D' (2026-02-19)
• Updated input 'nixpkgs-unstable':
    'github:NixOS/nixpkgs/a82ccc39b39b621151d6732718e3e250109076fa?narHash=sha256-gf2AmWVTs8lEq7z/3ZAsgnZDhWIckkb%2BZnAo5RzSxJg%3D' (2026-02-13)
  → 'github:NixOS/nixpkgs/0182a361324364ae3f436a63005877674cf45efb?narHash=sha256-0NBlEBKkN3lufyvFegY4TYv5mCNHbi5OmBDrzihbBMQ%3D' (2026-02-17)
2026-02-18 23:38:56 -05:00
ad022342db Add ollama back 2026-02-17 07:46:57 -05:00
c1d6118220 nix flake update: 2026-02-17 03:24:40 UTC
unpacking 'https://flakehub.com/f/DeterminateSystems/determinate/%2A' into the Git cache...
unpacking 'github:NixOS/nixpkgs/fa56d7d6de78f5a7f997b0ea2bc6efd5868ad9e8' into the Git cache...
unpacking 'github:NixOS/nixpkgs/296008e1b5d6fced172f91ab6215ea19fb3196cc' into the Git cache...
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/3aadb7ca9eac2891d52a9dec199d9580a6e2bf44?narHash=sha256-O1XDr7EWbRp%2BkHrNNgLWgIrB0/US5wvw9K6RERWAj6I%3D' (2026-02-14)
  → 'github:NixOS/nixpkgs/fa56d7d6de78f5a7f997b0ea2bc6efd5868ad9e8?narHash=sha256-X01Q3DgSpjeBpapoGA4rzKOn25qdKxbPnxHeMLNoHTU%3D' (2026-02-16)
• Updated input 'nixpkgs-master':
    'github:NixOS/nixpkgs/805ba342d424b11deabad6e1597372a3cfb39a59?narHash=sha256-GDTqgUN8pI8lE55wTdaFOS%2BxwwOOz/w055SbCLLFTqA%3D' (2026-02-16)
  → 'github:NixOS/nixpkgs/296008e1b5d6fced172f91ab6215ea19fb3196cc?narHash=sha256-pa1IHRvhed6cdCArIZ1f/dGW2IKyaT3iP4poBcT4oK8%3D' (2026-02-17)
• Updated input 'vpngate':
    'github:davegallant/vpngate/323709b0a17f1cea4af9d1c0b8640a3e5aefed27?narHash=sha256-mS31U0EK9ARlSeN42N/u/92b9RdyTB4Q/47xJmfyXlQ%3D' (2026-02-14)
  → 'github:davegallant/vpngate/7948580d1dbfb55fc860f5fec739ded255ea9d22?narHash=sha256-HRD%2B5T0kkjWmeZc9722zPhwdKaNJ7foQW5%2BVlM/STOY%3D' (2026-02-16)
2026-02-16 22:24:40 -05:00
d29eed91ed Add feishin 2026-02-16 11:43:57 -05:00
277e4f22fe nix flake update: 2026-02-16 01:52:29 UTC
unpacking 'https://flakehub.com/f/DeterminateSystems/determinate/%2A' into the Git cache...
unpacking 'github:NixOS/nixpkgs/3aadb7ca9eac2891d52a9dec199d9580a6e2bf44' into the Git cache...
unpacking 'github:NixOS/nixpkgs/805ba342d424b11deabad6e1597372a3cfb39a59' into the Git cache...
unpacking 'github:davegallant/vpngate/323709b0a17f1cea4af9d1c0b8640a3e5aefed27' into the Git cache...
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/6c5e707c6b5339359a9a9e215c5e66d6d802fd7a?narHash=sha256-iKZMkr6Cm9JzWlRYW/VPoL0A9jVKtZYiU4zSrVeetIs%3D' (2026-02-11)
  → 'github:NixOS/nixpkgs/3aadb7ca9eac2891d52a9dec199d9580a6e2bf44?narHash=sha256-O1XDr7EWbRp%2BkHrNNgLWgIrB0/US5wvw9K6RERWAj6I%3D' (2026-02-14)
• Updated input 'nixpkgs-master':
    'github:NixOS/nixpkgs/16353086a8a444ecf521b69e75234e5515f47db5?narHash=sha256-cRcvYYLgXbkJgOmDcB9BYWZIH%2B9I%2B5hDYRnTnrmGnDI%3D' (2026-02-14)
  → 'github:NixOS/nixpkgs/805ba342d424b11deabad6e1597372a3cfb39a59?narHash=sha256-GDTqgUN8pI8lE55wTdaFOS%2BxwwOOz/w055SbCLLFTqA%3D' (2026-02-16)
• Updated input 'vpngate':
    'github:davegallant/vpngate/9892ebe864028919f9ef4b3be60e556ac0cb590a?narHash=sha256-TH06o9U97ZvuoZSHTCIFXYCs3T8aebOz8D5CCwH%2BBcI%3D' (2026-02-14)
  → 'github:davegallant/vpngate/323709b0a17f1cea4af9d1c0b8640a3e5aefed27?narHash=sha256-mS31U0EK9ARlSeN42N/u/92b9RdyTB4Q/47xJmfyXlQ%3D' (2026-02-14)
2026-02-15 20:52:29 -05:00
aa1a4c8a6c Refactor codebase 2026-02-15 20:47:37 -05:00
c281e3f018 Add spotify 2026-02-15 20:33:52 -05:00
12 changed files with 420 additions and 560 deletions

View File

@@ -16,10 +16,8 @@ jobs:
steps:
- uses: actions/checkout@v6
- uses: cachix/install-nix-action@v31
with:
nix_path: nixpkgs=channel:nixos-unstable
- uses: cachix/cachix-action@v16
with:
name: davegallant
authToken: '${{ secrets.CACHIX_API_KEY }}'
- run: nix-build | cachix push davegallant
- run: nix build .#nixosConfigurations.hephaestus.config.system.build.toplevel --json | jq -r '.[].outputs | to_entries[].value' | cachix push davegallant

View File

@@ -28,7 +28,6 @@ The configuration is very specific to my own machines and setup, but it may be a
## Prerequisites
- [NixOS](nixos.org) (Linux)
- [Determinate Nix](https://determinate.systems/nix-installer) (macOS)
- [just](https://github.com/casey/just)
## Build

View File

@@ -1,89 +0,0 @@
{
pkgs,
unstable,
...
}:
{
environment.systemPackages = with pkgs; [
# essentials
curl
gnumake
gnupg
jq
unzip
xclip
xdg-utils
zip
# modern cli
atuin
bat
cd-fzf
doggo
eza
fd
github-cli
hadolint
lazygit
macchina
ncdu
progress
ripgrep
shellcheck
shfmt
viddy
yq-go
# containers
unstable.k9s
unstable.krew
unstable.kubecolor
unstable.kubectl
unstable.kubectx
unstable.kubernetes-helm
unstable.stern
# cloud
awscli2
google-cloud-sdk
terraform
# lsp
nodePackages.bash-language-server
nodePackages.eslint
nodePackages.yaml-language-server
terraform-ls
# monitoring
btop
# golang
gofumpt
golangci-lint
gopls
# rust
rustup
# networking
arp-scan
dnsutils
iperf
nmap
openssl
openvpn
tcpdump
# nix
nix-tree
nixfmt-rfc-style
nixpkgs-review
nvd
# python
virtualenv
# media
yt-dlp
];
}

336
flake.lock generated
View File

@@ -7,11 +7,11 @@
]
},
"locked": {
"lastModified": 1767634391,
"narHash": "sha256-owcSz2ICqTSvhBbhPP+1eWzi88e54rRZtfCNE5E/wwg=",
"lastModified": 1772129556,
"narHash": "sha256-Utk0zd8STPsUJPyjabhzPc5BpPodLTXrwkpXBHYnpeg=",
"owner": "lnl7",
"repo": "nix-darwin",
"rev": "08585aacc3d6d6c280a02da195fdbd4b9cf083c2",
"rev": "ebec37af18215214173c98cf6356d0aca24a2585",
"type": "github"
},
"original": {
@@ -21,101 +21,7 @@
"type": "github"
}
},
"determinate": {
"inputs": {
"determinate-nixd-aarch64-darwin": "determinate-nixd-aarch64-darwin",
"determinate-nixd-aarch64-linux": "determinate-nixd-aarch64-linux",
"determinate-nixd-x86_64-linux": "determinate-nixd-x86_64-linux",
"nix": "nix",
"nixpkgs": "nixpkgs_2"
},
"locked": {
"lastModified": 1771014593,
"narHash": "sha256-NrCFwn20ewJwy/SZoREs+XylerizPCYP54n9qkr31/E=",
"rev": "69b4ff80ae2bbdd1e3f02ccd76a5f2988b118ed2",
"revCount": 397,
"type": "tarball",
"url": "https://api.flakehub.com/f/pinned/DeterminateSystems/determinate/3.16.0/019c58b5-64dc-77f9-b913-8738b7d338cc/source.tar.gz"
},
"original": {
"type": "tarball",
"url": "https://flakehub.com/f/DeterminateSystems/determinate/%2A"
}
},
"determinate-nixd-aarch64-darwin": {
"flake": false,
"locked": {
"narHash": "sha256-PUo0u1iNMB8eTlBNFMCW8/UAn1sGKGqsIYlXaDRhx00=",
"type": "file",
"url": "https://install.determinate.systems/determinate-nixd/tag/v3.16.0/macOS"
},
"original": {
"type": "file",
"url": "https://install.determinate.systems/determinate-nixd/tag/v3.16.0/macOS"
}
},
"determinate-nixd-aarch64-linux": {
"flake": false,
"locked": {
"narHash": "sha256-jiIWiM88xkEpBQeohSxhl83fn2xoZY0nFkrW6CUAIAI=",
"type": "file",
"url": "https://install.determinate.systems/determinate-nixd/tag/v3.16.0/aarch64-linux"
},
"original": {
"type": "file",
"url": "https://install.determinate.systems/determinate-nixd/tag/v3.16.0/aarch64-linux"
}
},
"determinate-nixd-x86_64-linux": {
"flake": false,
"locked": {
"narHash": "sha256-qF/NNdHwh3tAHrKIOz2FRq5Q8GcSMzJeEY/PFvGf5vo=",
"type": "file",
"url": "https://install.determinate.systems/determinate-nixd/tag/v3.16.0/x86_64-linux"
},
"original": {
"type": "file",
"url": "https://install.determinate.systems/determinate-nixd/tag/v3.16.0/x86_64-linux"
}
},
"flake-compat": {
"flake": false,
"locked": {
"lastModified": 1696426674,
"narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=",
"owner": "edolstra",
"repo": "flake-compat",
"rev": "0f9255e01c2351cc7d116c072cb317785dd33b33",
"type": "github"
},
"original": {
"owner": "edolstra",
"repo": "flake-compat",
"type": "github"
}
},
"flake-parts": {
"inputs": {
"nixpkgs-lib": [
"determinate",
"nix",
"nixpkgs"
]
},
"locked": {
"lastModified": 1748821116,
"narHash": "sha256-F82+gS044J1APL0n4hH50GYdPRv/5JWm34oCJYmVKdE=",
"rev": "49f0870db23e8c1ca0b5259734a02cd9e1e371a1",
"revCount": 377,
"type": "tarball",
"url": "https://api.flakehub.com/f/pinned/hercules-ci/flake-parts/0.1.377%2Brev-49f0870db23e8c1ca0b5259734a02cd9e1e371a1/01972f28-554a-73f8-91f4-d488cc502f08/source.tar.gz"
},
"original": {
"type": "tarball",
"url": "https://flakehub.com/f/hercules-ci/flake-parts/0.1"
}
},
"flake-parts_2": {
"inputs": {
"nixpkgs-lib": [
"nixvim",
@@ -136,6 +42,24 @@
"type": "github"
}
},
"flake-parts_2": {
"inputs": {
"nixpkgs-lib": "nixpkgs-lib"
},
"locked": {
"lastModified": 1769996383,
"narHash": "sha256-AnYjnFWgS49RlqX7LrC4uA+sCCDBj0Ry/WOJ5XWAsa0=",
"owner": "hercules-ci",
"repo": "flake-parts",
"rev": "57928607ea566b5db3ad13af0e57e921e6b12381",
"type": "github"
},
"original": {
"owner": "hercules-ci",
"repo": "flake-parts",
"type": "github"
}
},
"flake-utils": {
"inputs": {
"systems": "systems"
@@ -172,42 +96,16 @@
"type": "github"
}
},
"git-hooks-nix": {
"inputs": {
"flake-compat": "flake-compat",
"gitignore": [
"determinate",
"nix"
],
"nixpkgs": [
"determinate",
"nix",
"nixpkgs"
]
},
"locked": {
"lastModified": 1747372754,
"narHash": "sha256-2Y53NGIX2vxfie1rOW0Qb86vjRZ7ngizoo+bnXU9D9k=",
"rev": "80479b6ec16fefd9c1db3ea13aeb038c60530f46",
"revCount": 1026,
"type": "tarball",
"url": "https://api.flakehub.com/f/pinned/cachix/git-hooks.nix/0.1.1026%2Brev-80479b6ec16fefd9c1db3ea13aeb038c60530f46/0196d79a-1b35-7b8e-a021-c894fb62163d/source.tar.gz"
},
"original": {
"type": "tarball",
"url": "https://flakehub.com/f/cachix/git-hooks.nix/0.1.941"
}
},
"home-manager": {
"inputs": {
"nixpkgs": "nixpkgs_3"
"nixpkgs": "nixpkgs"
},
"locked": {
"lastModified": 1770260404,
"narHash": "sha256-3iVX1+7YUIt23hBx1WZsUllhbmP2EnXrV8tCRbLxHc8=",
"lastModified": 1772302941,
"narHash": "sha256-TL3+ckbOTILXrR0qSK3dJj2BJ0S5yz/YSsUF1oEgd9g=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "0d782ee42c86b196acff08acfbf41bb7d13eed5b",
"rev": "9b9142b5fe214c2adabe86257c33e022372b7c96",
"type": "github"
},
"original": {
@@ -245,96 +143,44 @@
"type": "github"
}
},
"nix": {
"inputs": {
"flake-parts": "flake-parts",
"git-hooks-nix": "git-hooks-nix",
"nixpkgs": "nixpkgs",
"nixpkgs-23-11": "nixpkgs-23-11",
"nixpkgs-regression": "nixpkgs-regression"
},
"locked": {
"lastModified": 1771010067,
"narHash": "sha256-Itk88UC3CxjGjjAb20KI6KrM9tRoGEpbv996fXwAWGo=",
"rev": "5c670e37e884c43e1da0405075c9b9c83d316a6c",
"revCount": 24629,
"type": "tarball",
"url": "https://api.flakehub.com/f/pinned/DeterminateSystems/nix-src/3.16.0/019c589d-45e9-7337-9ff0-a8d78fecf63f/source.tar.gz"
},
"original": {
"type": "tarball",
"url": "https://flakehub.com/f/DeterminateSystems/nix-src/%2A"
}
},
"nixpkgs": {
"locked": {
"lastModified": 1761597516,
"narHash": "sha256-wxX7u6D2rpkJLWkZ2E932SIvDJW8+ON/0Yy8+a5vsDU=",
"rev": "daf6dc47aa4b44791372d6139ab7b25269184d55",
"revCount": 811874,
"type": "tarball",
"url": "https://api.flakehub.com/f/pinned/NixOS/nixpkgs/0.2505.811874%2Brev-daf6dc47aa4b44791372d6139ab7b25269184d55/019a3494-3498-707e-9086-1fb81badc7fe/source.tar.gz"
},
"original": {
"type": "tarball",
"url": "https://flakehub.com/f/NixOS/nixpkgs/0.2505"
}
},
"nixpkgs-23-11": {
"locked": {
"lastModified": 1717159533,
"narHash": "sha256-oamiKNfr2MS6yH64rUn99mIZjc45nGJlj9eGth/3Xuw=",
"lastModified": 1771903837,
"narHash": "sha256-sdaqdnsQCv3iifzxwB22tUwN/fSHoN7j2myFW5EIkGk=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "a62e6edd6d5e1fa0329b8653c801147986f8d446",
"rev": "e764fc9a405871f1f6ca3d1394fb422e0a0c3951",
"type": "github"
},
"original": {
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "a62e6edd6d5e1fa0329b8653c801147986f8d446",
"type": "github"
}
},
"nixpkgs-master": {
"locked": {
"lastModified": 1771070549,
"narHash": "sha256-0HH+emUwcOInkv+nJDyn6KHK9uQZX6EqV8MPi1ZGGKA=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "0b2bde6434ccd6aa05d91303e32fd9310656f44d",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "master",
"ref": "nixos-25.11",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs-regression": {
"nixpkgs-lib": {
"locked": {
"lastModified": 1643052045,
"narHash": "sha256-uGJ0VXIhWKGXxkeNnq4TvV3CIOkUJ3PAoLZ3HMzNVMw=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "215d4d0fd80ca5163643b03a33fde804a29cc1e2",
"lastModified": 1769909678,
"narHash": "sha256-cBEymOf4/o3FD5AZnzC3J9hLbiZ+QDT/KDuyHXVJOpM=",
"owner": "nix-community",
"repo": "nixpkgs.lib",
"rev": "72716169fe93074c333e8d0173151350670b824c",
"type": "github"
},
"original": {
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "215d4d0fd80ca5163643b03a33fde804a29cc1e2",
"owner": "nix-community",
"repo": "nixpkgs.lib",
"type": "github"
}
},
"nixpkgs-unstable": {
"locked": {
"lastModified": 1771008912,
"narHash": "sha256-gf2AmWVTs8lEq7z/3ZAsgnZDhWIckkb+ZnAo5RzSxJg=",
"lastModified": 1772198003,
"narHash": "sha256-I45esRSssFtJ8p/gLHUZ1OUaaTaVLluNkABkk6arQwE=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "a82ccc39b39b621151d6732718e3e250109076fa",
"rev": "dd9b079222d43e1943b6ebd802f04fd959dc8e61",
"type": "github"
},
"original": {
@@ -346,51 +192,21 @@
},
"nixpkgs_2": {
"locked": {
"lastModified": 1770537093,
"narHash": "sha256-pF1quXG5wsgtyuPOHcLfYg/ft/QMr8NnX0i6tW2187s=",
"rev": "fef9403a3e4d31b0a23f0bacebbec52c248fbb51",
"revCount": 942631,
"type": "tarball",
"url": "https://api.flakehub.com/f/pinned/DeterminateSystems/nixpkgs-weekly/0.1.942631%2Brev-fef9403a3e4d31b0a23f0bacebbec52c248fbb51/019c4621-ce4f-799f-82f6-b3b29f099b09/source.tar.gz"
"lastModified": 1772047000,
"narHash": "sha256-7DaQVv4R97cii/Qdfy4tmDZMB2xxtyIvNGSwXBBhSmo=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "1267bb4920d0fc06ea916734c11b0bf004bbe17e",
"type": "github"
},
"original": {
"type": "tarball",
"url": "https://flakehub.com/f/DeterminateSystems/nixpkgs-weekly/0.1"
"owner": "NixOS",
"ref": "nixos-25.11",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_3": {
"locked": {
"lastModified": 1770136044,
"narHash": "sha256-tlFqNG/uzz2++aAmn4v8J0vAkV3z7XngeIIB3rM3650=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "e576e3c9cf9bad747afcddd9e34f51d18c855b4e",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-25.11",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_4": {
"locked": {
"lastModified": 1770770419,
"narHash": "sha256-iKZMkr6Cm9JzWlRYW/VPoL0A9jVKtZYiU4zSrVeetIs=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "6c5e707c6b5339359a9a9e215c5e66d6d802fd7a",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-25.11",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_5": {
"locked": {
"lastModified": 1770843696,
"narHash": "sha256-LovWTGDwXhkfCOmbgLVA10bvsi/P8eDDpRudgk68HA8=",
@@ -406,9 +222,25 @@
"type": "github"
}
},
"nixpkgs_4": {
"locked": {
"lastModified": 1771008912,
"narHash": "sha256-gf2AmWVTs8lEq7z/3ZAsgnZDhWIckkb+ZnAo5RzSxJg=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "a82ccc39b39b621151d6732718e3e250109076fa",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixvim": {
"inputs": {
"flake-parts": "flake-parts_2",
"flake-parts": "flake-parts",
"nixpkgs": [
"nixpkgs"
],
@@ -456,13 +288,12 @@
"root": {
"inputs": {
"darwin": "darwin",
"determinate": "determinate",
"home-manager": "home-manager",
"nixpkgs": "nixpkgs_4",
"nixpkgs-master": "nixpkgs-master",
"nixpkgs": "nixpkgs_2",
"nixpkgs-unstable": "nixpkgs-unstable",
"nixvim": "nixvim",
"vpngate": "vpngate"
"vpngate": "vpngate",
"weathr": "weathr"
}
},
"systems": {
@@ -513,14 +344,14 @@
"vpngate": {
"inputs": {
"flake-utils": "flake-utils_2",
"nixpkgs": "nixpkgs_5"
"nixpkgs": "nixpkgs_3"
},
"locked": {
"lastModified": 1771071306,
"narHash": "sha256-TH06o9U97ZvuoZSHTCIFXYCs3T8aebOz8D5CCwH+BcI=",
"lastModified": 1772279709,
"narHash": "sha256-BWyEll/XLzC8HATyf2EJzWIKT8aJcjtAb2dokfIPInM=",
"owner": "davegallant",
"repo": "vpngate",
"rev": "9892ebe864028919f9ef4b3be60e556ac0cb590a",
"rev": "184ea2acf2ade5dff27bad958233c6d88c761f5c",
"type": "github"
},
"original": {
@@ -528,6 +359,25 @@
"repo": "vpngate",
"type": "github"
}
},
"weathr": {
"inputs": {
"flake-parts": "flake-parts_2",
"nixpkgs": "nixpkgs_4"
},
"locked": {
"lastModified": 1772212496,
"narHash": "sha256-n/fjjbfBtzmd7QV7jInnb+k5tC3g8sXzoI2rka8scwI=",
"owner": "Veirt",
"repo": "weathr",
"rev": "56aa86fe83cb42f96f497087bd19c8e073f7ee1e",
"type": "github"
},
"original": {
"owner": "Veirt",
"repo": "weathr",
"type": "github"
}
}
},
"root": "root",

158
flake.nix
View File

@@ -2,9 +2,7 @@
description = "nixos and macos configurations";
inputs = {
determinate.url = "https://flakehub.com/f/DeterminateSystems/determinate/*";
nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixos-unstable";
nixpkgs-master.url = "github:NixOS/nixpkgs/master";
nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.11";
darwin = {
url = "github:lnl7/nix-darwin/nix-darwin-25.11";
@@ -16,66 +14,91 @@
inputs.nixpkgs.follows = "nixpkgs";
};
vpngate.url = "github:davegallant/vpngate";
weathr.url = "github:Veirt/weathr";
};
outputs =
{
self,
darwin,
determinate,
home-manager,
nixpkgs,
nixpkgs-unstable,
nixpkgs-master,
vpngate,
weathr,
...
}@inputs:
let
supportedSystems = [
"x86_64-linux"
"aarch64-linux"
"x86_64-darwin"
"aarch64-darwin"
];
mkUnstable =
system:
import nixpkgs-unstable {
inherit system;
config.allowUnfree = true;
};
forAllSystems = nixpkgs.lib.genAttrs supportedSystems;
in
mkSharedModules =
{
nixosConfigurations =
username,
system,
hmModule,
extraModules ? [ ],
}:
let
unstable = import nixpkgs-unstable {
system = "x86_64-linux";
config.allowUnfree = true;
};
master = import nixpkgs-master {
system = "x86_64-linux";
config.allowUnfree = true;
};
unstable = mkUnstable system;
in
{
hephaestus = nixpkgs.lib.nixosSystem {
specialArgs = {
inherit unstable;
inherit master;
inherit vpngate;
inherit inputs;
};
modules = [
./hosts/hephaestus.nix
./common-packages.nix
home-manager.nixosModules.home-manager
[
./packages.nix
hmModule
(
{ ... }:
{
config = {
nix = {
nixpkgs.config.allowUnfree = true;
nixpkgs.overlays = [ (import ./overlays) ];
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
users.${username}.imports = [
./home.nix
inputs.nixvim.homeModules.nixvim
weathr.homeModules.weathr
];
extraSpecialArgs = { inherit unstable; };
};
};
}
)
]
++ extraModules;
in
{
nixosConfigurations =
let
system = "x86_64-linux";
unstable = mkUnstable system;
in
{
hephaestus = nixpkgs.lib.nixosSystem {
specialArgs = {
inherit
unstable
vpngate
inputs
;
};
modules = mkSharedModules {
username = "dave";
inherit system;
hmModule = home-manager.nixosModules.home-manager;
extraModules = [
./hosts/hephaestus.nix
(
{ ... }:
{
config.nix = {
settings = {
auto-optimise-store = true;
sandbox = false;
substituters = [ "https://davegallant.cachix.org" ];
trusted-users = [
"root"
];
trusted-users = [ "root" ];
trusted-public-keys = [
"davegallant.cachix.org-1:SsUMqL4+tF2R3/G6X903E9laLlY1rES2QKFfePegF08="
];
@@ -89,74 +112,33 @@
options = "--delete-older-than 14d";
};
};
nixpkgs.overlays = [ (import ./overlays) ];
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
users.dave.imports = [
./home.nix
inputs.nixvim.homeModules.nixvim
];
extraSpecialArgs = {
inherit unstable;
inherit master;
};
};
};
}
)
];
};
};
};
darwinConfigurations =
let
system = "aarch64-darwin";
unstable = import nixpkgs-unstable {
config.allowUnfree = true;
inherit system;
};
master = import nixpkgs-master {
config.allowUnfree = true;
inherit system;
};
unstable = mkUnstable system;
in
{
zelus = darwin.lib.darwinSystem {
inherit system;
specialArgs = {
inherit unstable;
inherit master;
inherit unstable inputs;
};
modules = [
home-manager.darwinModules.home-manager
modules = mkSharedModules {
username = "dave.gallant";
inherit system;
hmModule = home-manager.darwinModules.home-manager;
extraModules = [
./hosts/zelus.nix
./common-packages.nix
(
{ ... }:
{
config = {
nixpkgs.overlays = [ (import ./overlays) ];
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
users."dave.gallant".imports = [
./home.nix
inputs.nixvim.homeModules.nixvim
];
extraSpecialArgs = {
inherit unstable;
inherit master;
};
};
};
}
)
];
};
};
};
}

View File

@@ -21,8 +21,6 @@ in
};
};
services.lorri.enable = stdenv.isLinux;
fonts.fontconfig.enable = true;
programs = {
@@ -142,7 +140,7 @@ in
set -x PATH $PATH $GOBIN
source $HOME/work.fish
# '';
'';
shellInit = ''
atuin init fish | source
@@ -171,8 +169,9 @@ in
tf = "terraform";
tree = "eza --tree";
v = "nvim";
} // lib.optionalAttrs stdenv.isLinux {
zed = "zeditor";
}
// lib.optionalAttrs stdenv.isLinux {
zed = "env WAYLAND_DISPLAY='' zeditor"; # BUG: zed captures shift+v and g space on wayland
};
};
@@ -266,6 +265,19 @@ in
cmp-path.enable = true;
cmp-treesitter.enable = true;
commentary.enable = true;
codecompanion = {
enable = true;
settings = {
interactions = {
chat = {
adapter = "copilot";
};
inline = {
adapter = "copilot";
};
};
};
};
diffview.enable = true;
gitblame.enable = true;
gitsigns.enable = true;
@@ -398,12 +410,18 @@ in
};
};
weathr = {
enable = true;
settings = {
hide_hud = true;
};
};
zed-editor = {
enable = stdenv.isLinux;
package = unstable.zed-editor;
extensions = [
"ansible"
"color-highlight"
"dockerfile"
"html"
"make"
@@ -414,17 +432,14 @@ in
];
userSettings = {
icon_theme = "Material Icon Theme";
features = {
edit_prediction_provider = "copilot";
};
vim_mode = true;
vim = {
use_system_clipboard = "on_yank";
};
autosave = "on_focus_change";
format_on_save = "off";
ui_font_size = lib.mkForce 18;
buffer_font_size = lib.mkForce 16;
ui_font_size = 18;
buffer_font_size = 16;
};
userKeymaps = [
{
@@ -436,6 +451,13 @@ in
"ctrl-z" = "editor::Undo";
};
}
{
context = "vim_mode == normal";
bindings = {
"g space" = "editor::OpenExcerpts";
"shift-v" = "vim::ToggleVisualLine";
};
}
];
};

View File

@@ -1,11 +1,9 @@
{
config,
lib,
modulesPath,
pkgs,
unstable,
vpngate,
...
}:
{
@@ -63,67 +61,6 @@
};
};
environment.systemPackages = with pkgs; [
bitwarden-desktop
bleachbit
calibre
clamtk
cryptsetup
dbeaver-bin
discord
freefilesync
gimp-with-plugins
google-chrome
hardinfo2
httpie-desktop
heroic
iputils
kdePackages.bluedevil
kdePackages.kcalc
kdePackages.kcharselect
kdePackages.kclock
kdePackages.kcolorchooser
kdePackages.ksystemlog
kdePackages.partitionmanager
kdePackages.sddm-kcm
libation
ludusavi
lutris
mupen64plus
nfs-utils
nodePackages.prettier
nodePackages.yarn
nodejs
onlyoffice-desktopeditors
opensnitch-ui
pciutils
pika-backup
pinentry-curses
pinta
protonup-qt
qbittorrent
qemu
traceroute
unrar
unstable.beszel
unstable.ktailctl
unstable.mcpelauncher-ui-qt
unstable.obsidian
unstable.podman-desktop
unstable.ryubing
unstable.signal-desktop-bin
unstable.tailscale
unstable.zoom-us
usbutils
virt-manager
vlc
vpngate.packages.x86_64-linux.default
wayland-utils
whois
wine
wl-clipboard
];
fileSystems = {
"/" = {
device = "/dev/disk/by-uuid/7f4f0948-041c-47e9-ab28-53132026f158";
@@ -156,7 +93,6 @@
noto-fonts
noto-fonts-cjk-sans
noto-fonts-color-emoji
noto-fonts
];
fonts.fontconfig.defaultFonts = {
@@ -166,12 +102,7 @@
emoji = [ "Noto Color Emoji" ];
};
nixpkgs = {
hostPlatform = "x86_64-linux";
config = {
allowUnfree = true;
};
};
nixpkgs.hostPlatform = "x86_64-linux";
networking = {
iproute2.enable = true;
@@ -221,11 +152,22 @@
};
};
services = {
mullvad-vpn = {
services.mullvad-vpn = {
enable = true;
package = pkgs.mullvad-vpn;
};
services.ollama = {
package = pkgs.ollama;
enable = true;
acceleration = "rocm";
host = "0.0.0.0";
environmentVariables = {
HSA_OVERRIDE_GFX_VERSION = "11.0.2";
};
loadModels = [
"qwen2.5-coder:7b"
];
};
system = {
@@ -297,6 +239,8 @@
};
};
services.flatpak.enable = true;
services.avahi = {
enable = true;
nssmdns4 = true;

View File

@@ -1,11 +1,5 @@
{ pkgs, ... }:
{
nixpkgs = {
config = {
allowUnfree = true;
};
};
networking = {
hostName = "zelus";
};
@@ -86,6 +80,7 @@
"k6"
"node"
"oras"
"peon-ping"
"vault"
];
@@ -119,10 +114,7 @@
taps = [
"hashicorp/tap"
"homebrew/bundle"
"homebrew/cask-fonts"
"homebrew/cask-versions"
"homebrew/services"
"PeonPing/tap"
];
};

View File

@@ -24,7 +24,7 @@ update:
@./update-flake.sh
fmt:
nixfmt *.nix
fd -e nix -x nixfmt
clean:
echo 'Cleaning user...'

View File

@@ -1,19 +1,13 @@
{
stdenv,
lib,
fetchurl,
}:
stdenv.mkDerivation rec {
{ stdenv, lib }:
stdenv.mkDerivation {
pname = "cd-fzf";
version = "0.0.1";
executable = ./cd-fzf;
phases = [ "unpackPhase" ]; # Remove all other phases
unpackPhase = ''
mkdir -p $out/bin
cp ${executable} $out/bin/cd-fzf
src = ./.;
installPhase = ''
install -Dm755 cd-fzf $out/bin/cd-fzf
'';
meta = with lib; {
description = "\n Fuzzy find change directory";
platforms = platforms.unix;
meta = {
description = "Fuzzy find change directory";
platforms = lib.platforms.unix;
};
}

168
packages.nix Normal file
View File

@@ -0,0 +1,168 @@
{
pkgs,
lib,
unstable,
vpngate,
...
}:
let
inherit (pkgs) stdenv;
in
{
environment.systemPackages =
with pkgs;
[
# essentials
curl
gnumake
gnupg
jq
unzip
zip
# modern cli
atuin
bat
cd-fzf
doggo
eza
fd
github-cli
hadolint
lazygit
macchina
ncdu
progress
ripgrep
shellcheck
shfmt
viddy
yq-go
# containers
unstable.k9s
unstable.krew
unstable.kubecolor
unstable.kubectl
unstable.kubectx
unstable.kubernetes-helm
unstable.stern
# cloud
awscli2
google-cloud-sdk
terraform
# lsp
nodePackages.bash-language-server
nodePackages.eslint
nodePackages.yaml-language-server
terraform-ls
# monitoring
btop
# golang
gofumpt
golangci-lint
gopls
# rust
rustup
# nix
nix-tree
nixfmt-rfc-style
nixpkgs-review
nvd
# python
virtualenv
# media
yt-dlp
]
++ lib.optionals stdenv.isLinux [
xclip
xdg-utils
# networking
arp-scan
dnsutils
iperf
nmap
openssl
openvpn
tcpdump
# desktop apps
bitwarden-desktop
dbeaver-bin
discord
feishin
freefilesync
gimp-with-plugins
google-chrome
httpie-desktop
onlyoffice-desktopeditors
pika-backup
pinta
qbittorrent
unstable.obsidian
unstable.podman-desktop
unstable.signal-desktop-bin
unstable.zoom-us
# gaming
heroic
ludusavi
mupen64plus
protonup-qt
unstable.ryubing
unstable.lutris
wine
# kde
kdePackages.bluedevil
kdePackages.kcalc
kdePackages.kcharselect
kdePackages.kclock
kdePackages.kcolorchooser
kdePackages.ksystemlog
kdePackages.partitionmanager
kdePackages.sddm-kcm
# media
calibre
libation
unstable.spotify
vlc
# networking
iputils
traceroute
unstable.ktailctl
unstable.tailscale
vpngate.packages.x86_64-linux.default
whois
# security
bleachbit
clamtk
cryptsetup
opensnitch-ui
pinentry-curses
# system utilities
hardinfo2
nfs-utils
pciutils
qemu
unrar
unstable.beszel
usbutils
virt-manager
wayland-utils
wl-clipboard
];
}

View File

@@ -3,7 +3,7 @@
set -euo pipefail
if ! git diff-index --quiet HEAD --; then
git stash push -m "Auto-stash via update-flash.sh on $(date)"
git stash push -m "Auto-stash via update-flake.sh on $(date)"
fi
git pull