-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
144 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,95 @@ | ||
--- | ||
nix::settings: | ||
tp_prerequisites: {} | ||
exec_prerequisites: | ||
install: | ||
command: 'sh <(curl -L https://nixos.org/nix/install) --daemon' | ||
creates: '/nix' | ||
|
||
urls: | ||
website: 'https://nixos.org' | ||
issues: 'https://github.com/nixos/nix/issues' | ||
documentation: 'https://nix.com/documentation' | ||
source: 'https://github.com/nix/nix' | ||
description: 'nix description' | ||
|
||
# Configured: +package -source -file +image | ||
install_method: 'source' | ||
|
||
packages: [] | ||
manage_package: false | ||
prerequisites: | ||
exec: | ||
command: 'sh <(curl -L https://nixos.org/nix/install) --daemon' | ||
creates: '/nix' | ||
|
||
services: | ||
main: | ||
name: nix-daemon | ||
process_name: nix | ||
process_extra_name: ~ | ||
process_user: root | ||
process_group: root | ||
nodaemon_args: '-D' | ||
ensure: running | ||
enable: true | ||
pidfile: /run/nix.pid | ||
params: {} | ||
|
||
|
||
files: | ||
config: | ||
path: '/etc/nix/nix.conf' | ||
init: | ||
path: '/etc/sysconfig/nix-daemon.conf' | ||
format: 'inifile' | ||
systemd: | ||
path: '/etc/systemd/system/nix-daemon.service' | ||
format: 'inifile_with_stanzas' | ||
|
||
dirs: | ||
config: | ||
path: '/etc/nix' | ||
metadata: | ||
path: /nix/var/nix | ||
log: | ||
path: /nix/var/log | ||
store: | ||
path: /nix | ||
|
||
user_files: | ||
config: | ||
path: '$HOME/.config/nix/nix.conf' | ||
|
||
user_dirs: | ||
config: | ||
path: '$HOME/.config/nix' | ||
|
||
info_commands: | ||
list_profile: 'nix profile list' | ||
list_store: 'nix store ls' | ||
debug_commands: | ||
debug: 'nix store verify' | ||
test_commands: | ||
status: 'nix status' | ||
version_command: 'nix --version' | ||
help_command: 'nix --help' | ||
run_commands: | ||
start: | ||
command: 'nix start' | ||
|
||
image: | ||
name: 'nixos/nix' | ||
systemd_options: {} | ||
|
||
releases: | ||
latest_version: 2.13.2 | ||
latest_url: ~ | ||
base_url: 'https://releases.nixos.org/nix/nix-$VERSION/nix-$VERSION-$OS.tar.xz' | ||
file_name: 'nix-$VERSION-$OS.tar.xz' | ||
extracted_dir: 'nix-$VERSION-$OS' | ||
file_format: xz | ||
prerequisites: | ||
exec: | ||
command: 'sh <(curl -L https://nixos.org/nix/install) --daemon' | ||
creates: '/nix' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- | ||
:hierarchy: | ||
- "%{title}/%{repo}/operatingsystem/%{operatingsystem}%{operatingsystemmajrelease}" | ||
- "%{title}/%{repo}/operatingsystem/%{operatingsystem}" | ||
- "%{title}/%{repo}/osfamily/%{osfamily}%{operatingsystemmajrelease}" | ||
- "%{title}/%{repo}/osfamily/%{osfamily}" | ||
- "%{title}/%{repo}/default" | ||
- "%{title}/operatingsystem/%{operatingsystem}%{operatingsystemmajrelease}" | ||
- "%{title}/operatingsystem/%{operatingsystem}" | ||
- "%{title}/osfamily/%{osfamily}%{operatingsystemmajrelease}" | ||
- "%{title}/osfamily/%{osfamily}" | ||
- "%{title}/default" | ||
- "default/%{operatingsystem}%{operatingsystemmajrelease}" | ||
- "default/%{operatingsystem}" | ||
- default |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
nix::settings: | ||
brew_package_name: 'nix' | ||
|
||
user_files: | ||
config: | ||
path: '$HOME/Library/Application\ Support/nix/nix.conf' | ||
|
||
user_dirs: | ||
config: | ||
path: '$HOME/Library/Application\ Support/nix/nix.conf' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
nix::settings: | ||
|
||
files: | ||
init: | ||
path: '/etc/default/nix' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
--- | ||
nix::settings: | ||
dockerfile_prerequisites: 'RUN yum install -y wget which' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
nix::settings: | ||
|
||
# If exe or msi package is available for direct download: | ||
package_provider: 'windows' | ||
package_source: 'https://github.com/nix/nix/releases/download/v$VERSION/nix_$VERSION_$OS_$ARCH.msi' | ||
|
||
user_files: | ||
config: | ||
path: '%APPDATA%\nix\nix.conf' | ||
|
||
user_dirs: | ||
config: | ||
path: '%APPDATA%\nix' |