Commit Graph

15 Commits

Author SHA1 Message Date
h7x4
6b4abb7f83 nixos/guix: replace systemd script with ExecStart 2026-07-31 03:18:44 +09:00
NAHO
a2ed7e8d88 nixos: remove optional builtins prefixes from prelude functions
Remove optional builtins prefixes from prelude functions by running:

    builtins=(
      abort
      baseNameOf
      break
      derivation
      derivationStrict
      dirOf
      false
      fetchGit
      fetchMercurial
      fetchTarball
      fetchTree
      fromTOML
      import
      isNull
      map
      null
      placeholder
      removeAttrs
      scopedImport
      throw
      toString
      true
    )

    fd \
      --exclude doc/manual/release-notes \
      --type file \
      . \
      nixos \
      --exec-batch sed --in-place --regexp-extended "
        s/\<builtins\.($(
          printf '%s\n' "${builtins[@]}" |
            paste --delimiter '|' --serial -
        ))\>/\1/g
      "

    nix fmt
2026-01-15 16:07:55 +01:00
Acid Bong
c576d8ad13 maintainers: drop foo-dogsquared 2025-12-20 22:15:40 +02:00
Lin Jian
370ac8df3e nixos/guix: set proxy env vars for guix-daemon 2025-01-15 15:17:02 +08:00
Silvan Mosberger
4f0dadbf38 treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build a08b3a4d19.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
Thiago Kenji Okada
44bbe5ddad nixos/{boinc,guix}: Use exec to start the payload binary of the service (#297526) 2024-11-10 17:35:24 +00:00
Gabriel Arazas
7095e0f8c1 nixos/guix: add declarative substituters option 2024-11-03 15:12:12 -06:00
lucasew
5d49d4cfa1 nixos/guix: use exec to start the payload binary
Signed-off-by: lucasew <lucas59356@gmail.com>
2024-07-05 14:38:51 -03:00
Weijia Wang
3526f2ffec Merge pull request #274192 from foo-dogsquared/nixos-guix-add-guix-home-support
nixos/guix: add Guix home support
2024-01-03 01:28:11 +01:00
Gabriel Arazas
d3e246f9fa nixos/guix: fix systemd socket unit 2023-12-21 22:18:56 +08:00
Gabriel Arazas
b7ece537bb nixos/guix: fix conditional linking of profiles 2023-12-20 22:04:01 +08:00
Gabriel Arazas
a73ae4bf9f nixos/guix: add Guix home support 2023-12-14 17:41:22 +08:00
Gabriel Arazas
5fb40a5816 nixos/guix: remove Service.MemoryDenyWriteExecute for GC service
Guile 3 uses JIT needing write and execute permissions.
2023-12-12 10:19:37 +08:00
Gabriel Arazas
85fcb9b4ef nixos/guix: fix user activation script 2023-12-08 17:56:54 +08:00
Gabriel Arazas
ad277ea47e nixos/guix: init 2023-12-01 09:10:37 +01:00