Commit Graph

17 Commits

Author SHA1 Message Date
Nick Hassan
5f694ef481
add support for entering password for sudo 2024-02-16 23:21:25 +10:30
Roman Melnikov
8ef5b948e3
fixup! [#210] Add activation script for darwin system and provide a usage example 2023-05-12 10:59:19 +08:00
Roman Melnikov
f406295680
[#210] Add activation script for darwin system and provide a usage example
Problem: It's possible to use 'deploy-rs' for deploying 'darwinSystem'
configuration from 'nix-darwin' to a darwin system. However, there is no
dedicated activatiot script for darwin and thus one has to come up with
'custom' activation script.

Solution:
1) Add 'darwin' attribute to 'lib.activate' that provides a script that
   should be used to activate 'darwinSystem' config with 'deploy-rs'.
2) Add a new 'examples/darwin' example that provides simple flake for
   deploying configuration to a darwin target.
2023-05-11 16:02:01 +08:00
06kellyjac
0ac333cdc0
chore: replace .license files with dep5 config 2022-01-13 15:38:18 -07:00
Tal Walter
c89930b0d9 Fix examples/system/README.md: deploy -> deploy-rs 2021-02-27 11:11:53 +09:00
notgne2
08c6bd8b73
Update activate.nixos to take a configuration, not a derivation 2020-11-22 18:12:29 -07:00
notgne2
88b40b129c
Fix example command in system example 2020-10-30 18:35:26 -07:00
notgne2
7ec0bc21cd
Update example flakes 2020-10-26 12:27:20 -07:00
notgne2
898bb2814b
Update lockfiles 2020-10-11 15:19:34 -07:00
notgne2
f2e5b9b393
Update lock files 2020-10-11 15:09:37 -07:00
notgne2
3a92593bf9
Add skip-push flag 2020-10-06 11:08:40 -07:00
notgne2
aabcf6b77d
Improve schema a bit, fix flake locks for examples 2020-10-05 20:11:31 -07:00
notgne2
58a934b997
Clean up simple example 2020-10-05 19:53:59 -07:00
notgne2
7c00fd2761
Add interface with json schema, fix flake-less issues, put setActivate and jsonSchema check in flake lib 2020-10-05 19:46:28 -07:00
notgne2
5674670a59
General improvements, deprecate activate profile option in favor of executing $PROFILE/activate (Wrap It Yourself) to ensure successful rollback activations 2020-10-02 12:58:11 -07:00
notgne2
8d21dd335e Add license information, reformat Nix files, clean up 2020-09-29 15:10:06 -07:00
notgne2
edaed82565
Add examples 2020-09-28 16:17:31 -07:00