Commit graph

45 commits

Author SHA1 Message Date
Simon Bruder 73a61940fe
flake.nix: Update inputs to 24.05
Flake lock file updates:

• Updated input 'home-manager':
    'github:nix-community/home-manager/ab5542e9dbd13d0100f8baae2bc2d68af901f4b4' (2024-05-10)
  → 'github:nix-community/home-manager/a631666f5ec18271e86a5cde998cba68c33d9ac6' (2024-05-26)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/46397778ef1f73414b03ed553a3368f0e7e33c2f' (2024-05-22)
  → 'github:nixos/nixpkgs/805a384895c696f802a9bf5bf4720f37385df547' (2024-05-31)
2024-06-02 11:44:41 +02:00
Simon Bruder 4c1f301e82
flake.nix: Remove stray input follow 2024-06-01 13:57:56 +02:00
Simon Bruder 8b9a469153
unlock: Simplify 2024-06-01 13:57:44 +02:00
Simon Bruder 10b8d432d5
Relicense
This applies the REUSE specification to the repository, so the licensing
information can be tracked for every file individually.
2024-01-13 14:39:22 +01:00
Simon Bruder ba843ac8c0
Upgrade to 23.11
Flake lock file updates:

• Updated input 'bang-evaluator':
    'git+https://git.sbruder.de/simon/bangs?ref=refs/heads/master&rev=7fc3d5019c907566abbad8f84ba9555a5786bd01' (2021-08-01)
  → 'git+https://git.sbruder.de/simon/bangs?ref=refs/heads/master&rev=a06c68c44862f74757a203e2df41ea83c33722d9' (2023-12-02)
• Updated input 'home-manager':
    'github:nix-community/home-manager/04bac349d585c9df38d78e0285b780a140dc74a4' (2023-11-12)
  → 'github:nix-community/home-manager/aeb2232d7a32530d3448318790534d196bf9427a' (2023-11-24)
• Updated input 'home-manager-unstable':
    'github:nix-community/home-manager/9a4725afa67db35cdf7be89f30527d745194cafa' (2023-11-19)
  → 'github:nix-community/home-manager/4a8545f5e737a6338814a4676dc8e18c7f43fc57' (2023-12-01)
• Updated input 'nix-pre-commit-hooks':
    'github:cachix/pre-commit-hooks.nix/e558068cba67b23b4fbc5537173dbb43748a17e8' (2023-11-15)
  → 'github:cachix/pre-commit-hooks.nix/e5ee5c5f3844550c01d2131096c7271cec5e9b78' (2023-11-25)
• Updated input 'nixos-hardware':
    'github:nixos/nixos-hardware/1721da31f9b30cbf4460c4ec5068b3b6174a4694' (2023-11-18)
  → 'github:nixos/nixos-hardware/8772491ed75f150f02552c60694e1beff9f46013' (2023-11-29)
• Updated input 'nixpkgs':
    'github:nixos/nixpkgs/9fb122519e9cd465d532f736a98c1e1eb541ef6f' (2023-11-16)
  → 'github:nixos/nixpkgs/5de0b32be6e85dc1a9404c75131316e4ffbc634c' (2023-12-01)
• Updated input 'nixpkgs-overlay':
    'git+https://git.sbruder.de/simon/nixpkgs-overlay?ref=refs/heads/master&rev=c8a17806a75733dec2ecdd8f0021c70d1f9dfc43' (2023-10-04)
  → 'git+https://git.sbruder.de/simon/nixpkgs-overlay?ref=refs/heads/master&rev=37f80d1593ab856372cc0da199f49565f3b05c71' (2023-12-02)
• Updated input 'nixpkgs-overlay/poetry2nix':
    'github:nix-community/poetry2nix/093383b3d7fdd36846a7d84e128ca11865800538' (2023-09-22)
  → 'github:nix-community/poetry2nix/7acb78166a659d6afe9b043bb6fe5cb5e86bb75e' (2023-12-01)
• Updated input 'nixpkgs-overlay/poetry2nix/nix-github-actions':
    'github:nix-community/nix-github-actions/165b1650b753316aa7f1787f3005a8d2da0f5301' (2023-07-09)
  → 'github:nix-community/nix-github-actions/4bb5e752616262457bc7ca5882192a564c0472d2' (2023-11-03)
• Added input 'nixpkgs-overlay/poetry2nix/systems':
    'github:nix-systems/default/da67096a3b9bf56a91d16901293e51ba5b49a27e' (2023-04-09)
• Added input 'nixpkgs-overlay/poetry2nix/treefmt-nix':
    'github:numtide/treefmt-nix/e82f32aa7f06bbbd56d7b12186d555223dc399d1' (2023-11-12)
• Added input 'nixpkgs-overlay/poetry2nix/treefmt-nix/nixpkgs':
    follows 'nixpkgs-overlay/poetry2nix/nixpkgs'
• Updated input 'nixpkgs-unstable':
    'github:nixos/nixpkgs/c757e9bd77b16ca2e03c89bf8bc9ecb28e0c06ad' (2023-11-17)
  → 'github:nixos/nixpkgs/e92039b55bcd58469325ded85d4f58dd5a4eaf58' (2023-11-29)
• Updated input 'sops-nix':
    'github:Mic92/sops-nix/49a87c6c827ccd21c225531e30745a9a6464775c' (2023-11-19)
  → 'github:Mic92/sops-nix/e19071f9958c8da4f4347d3d78790d97e98ba22f' (2023-12-02)
• Updated input 'sops-nix/nixpkgs-stable':
    'github:NixOS/nixpkgs/decdf666c833a325cb4417041a90681499e06a41' (2023-11-18)
  → 'github:NixOS/nixpkgs/dfb95385d21475da10b63da74ae96d89ab352431' (2023-11-25)
2023-12-02 18:54:42 +01:00
Simon Bruder fdde11774b
deploy-local: Allow not using substituters 2023-06-03 18:34:12 +02:00
Simon Bruder 89855c41cc
deploy-local: Use custom implementation
Using nixos-rebuild for this, while being easy, often was difficult.
2023-06-03 18:34:12 +02:00
Simon Bruder 2221fcf6c1
deploy-local: Remove -L from nixos-rebuild
It currently wrongly passes this to nix-store, which does not take -L.
2023-06-01 19:54:22 +02:00
Simon Bruder 2f3d5c8b6b
Remove usage of nixFlakes 2023-06-01 19:54:22 +02:00
Simon Bruder fa6941bfa0
Upgrade to NixOS 23.05 2023-05-30 11:30:09 +02:00
Simon Bruder 78c2e80868
Remove nixpkgs-2205
It isn’t used anymore.
2023-04-16 11:26:31 +02:00
Simon Bruder 5e9d9181b7
Use unstable home-manager for unstable machines 2023-04-16 11:26:09 +02:00
Simon Bruder 2700ee3f50
Revert "Allow access to other machines’ configuration"
This reverts commit ea232b1f58.

This breaks the unlock script.
2023-04-15 18:10:04 +02:00
Simon Bruder ea232b1f58
Allow access to other machines’ configuration
This requires removing the filter for other machines. This was
implemented to avoid copying secrets to other machines. I never deployed
this configuration to a system that is not fully encrypted and the
“secrets” are just things I do not want publicly available, not
credentials.
2023-04-07 13:45:01 +02:00
Simon Bruder 81e22d4eba
Upgrade to NixOS 22.11 2022-12-10 14:45:55 +01:00
Simon Bruder 5ea2697c50
unlock: Use system-set resolvers 2022-10-03 20:19:42 +02:00
Simon Bruder 87531083b4
flake.nix: Use devShells.default 2022-08-26 16:14:24 +02:00
Simon Bruder 1f842c3d9a
renge/password-hash-self-service: Init 2022-07-16 19:52:40 +02:00
Simon Bruder 2fc312dd47
flake: Use overlays.default for default overlay
The `overlay` output is deprecated.
2022-07-08 11:51:03 +02:00
Simon Bruder 7361e03630
flake: Update infinisilSystem
The binary of murmur is now called mumble-server, which is fixed in a
newer version of infinisil’s module.
2022-05-31 14:31:45 +02:00
Simon Bruder 3723c88de4
flake: Update to 22.05 2022-05-31 14:31:13 +02:00
Simon Bruder 2df718cea9
Clean up remnants from qbittorrent migration 2022-03-20 19:04:19 +01:00
Simon Bruder 093ae2ab4c
flake: Make pre-commit-hooks use nixpkgs-unstable
It depends on alejandra, which is only in nixpkgs unstable at the time.
2022-03-06 09:22:04 +01:00
Simon Bruder 20b861a994
fuuko/torrent: Use AriaNg’s nixpkgs version
Otherwise node 10 will have to be built from source since it no longer
gets built by Hydra.
2022-01-23 11:58:37 +01:00
Simon Bruder e1cda094c0
flake.nix: Add app to locally build remote deployment 2021-12-26 12:54:05 +01:00
Simon Bruder e6f9ea1c67
Update infinisilSystem
It includes fixes for the mumble module required by newer nixpkgs.
2021-12-01 19:15:31 +01:00
Simon Bruder e6c1a105d2
Update to 21.11 2021-12-01 17:51:15 +01:00
Simon Bruder 43067ad796
neovim: Rework configuration in lua
Many plugins are not yet configured, but the basic functionality is
there.
2021-11-07 21:47:56 +01:00
Simon Bruder 66f534157d
flake.nix: Avoid some anti-patterns
Even though nixpkgs.legacyPackages isn’t directly an anti-pattern,
importing it allows passing non-default options.
2021-11-07 20:31:48 +01:00
Simon Bruder 65aff69a90
Make nixpkgs that is used for machine configurable
This allows a machine to run off a different nixpkgs branch (e.g.
unstable).
2021-11-01 10:08:23 +01:00
Simon Bruder 9f4ffa5932
fuuko: Add hcloud_exporter 2021-08-28 13:53:38 +02:00
Simon Bruder 44cc17db53
Use nixos-21.05 branch 2021-06-01 09:14:59 +02:00
Simon Bruder e94d0227fe
Use black 2021-06-01 00:02:27 +02:00
Simon Bruder b0d6861825
Use shellcheck
This also adds set -e and friends where applicable.
2021-05-31 23:59:13 +02:00
Simon Bruder 091f6b0e14
Update to 21.05
This still uses the relase-21.05 branch which should later be changed to
nixos-21.05.
2021-05-28 14:04:53 +02:00
Simon Bruder 0f135fc87b
unlock: Resolve hostname with hard-coded server
This is required after power outages when unlocking the server that does
dns in the network.
2021-05-26 17:19:38 +02:00
Simon Bruder 2c8a291ae9
Make flake inputs available as module argument
This moves a bunch of stuff out of flake.nix into the modules they
belong to. This removes complexity from flake.nix and gives the project
a more organised structure.

Sadly, it is not possible to import modules from a flake outside of
flake.nix, since that leads to an infinite recursion (`config` has to be
evaluated before `config._modules.args.inputs` is available but `config`
depends on an import from `config._modules.args.inputs`). Therefore, the
`extraModules` argument in `machines/default.nix` has to be used for
that (it now has access to all flake inputs).
2021-05-15 10:04:44 +02:00
Simon Bruder be8c942150
flake: Remove updateInputs app
Nix has support for committing the changes with `nix flake update
--commit-lock-file`.
2021-05-13 17:01:37 +02:00
Simon Bruder a861fbd725
Include my external overlay
It includes packages that are proably useful for other people outside of
my own system configuration.
2021-05-13 13:42:36 +02:00
Simon Bruder ec50bc210b
Add nixpkgs-unstable to flake registry 2021-05-07 14:36:39 +02:00
Simon Bruder 54610a130a
flake: Specify apps in the way nix expects it
It has to be a flat attribute set of { type = "app"; program = "…"; },
otherwise nix will still run it, but `nix flake show` fails.
2021-05-03 10:17:00 +02:00
Simon Bruder 440fc97f7f
AriaNg: Include as flake 2021-05-03 10:16:59 +02:00
Simon Bruder 8a5a5e9a1c
aria2_exporter: Include as flake 2021-05-03 10:16:59 +02:00
Simon Bruder 8e02008cb4
bang-evaluator: Include as flake 2021-05-03 10:16:59 +02:00
Simon Bruder 400b55a293
Convert to flake
Fixes #3.
2021-05-01 17:36:58 +02:00