├── .gitignore
├── LICENSE
├── README.md
├── flake.lock
├── flake.nix
└── templates
├── empty
└── flake.nix
├── home
├── flake.nix
└── homes
│ └── x86_64-linux
│ └── user@system
│ └── default.nix
├── lib
├── flake.nix
└── lib
│ ├── default.nix
│ └── example
│ └── default.nix
├── module
├── flake.nix
└── modules
│ └── nixos
│ └── snowfall
│ └── default.nix
├── package
├── flake.nix
└── packages
│ └── my-package
│ └── default.nix
└── system
├── flake.nix
├── homes
└── x86_64-linux
│ └── user@example
│ └── default.nix
├── modules
└── nixos
│ └── snowfall
│ └── default.nix
└── systems
└── x86_64-linux
└── example
├── default.nix
└── hardware.nix
/.gitignore:
--------------------------------------------------------------------------------
1 | ./**/flake.lock
2 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | Apache License
2 |
3 | Version 2.0, January 2004
4 |
5 | http://www.apache.org/licenses/ TERMS
6 | AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7 |
8 | 1. Definitions.
9 |
10 | "License" shall mean the terms and conditions for use, reproduction, and
11 | distribution as defined by Sections 1 through 9 of this document.
12 |
13 | "Licensor" shall mean the copyright owner or entity authorized by the copyright
14 | owner that is granting the License.
15 |
16 | "Legal Entity" shall mean the
17 | union of the acting entity and all other entities that control, are controlled
18 | by, or are under common control with that entity. For the purposes of this
19 | definition, "control" means (i) the power, direct or indirect, to cause the
20 | direction or management of such entity, whether by contract or otherwise, or (ii)
21 | ownership of fifty percent (50%) or more of the outstanding shares, or (iii)
22 | beneficial ownership of such entity.
23 |
24 | "You" (or "Your") shall mean
25 | an individual or Legal Entity exercising permissions granted by this License.
26 |
27 | "Source" form shall mean the preferred form for making modifications,
28 | including but not limited to software source code, documentation source, and
29 | configuration files.
30 |
31 | "Object" form shall mean any form resulting
32 | from mechanical transformation or translation of a Source form, including but not
33 | limited to compiled object code, generated documentation, and conversions to
34 | other media types.
35 |
36 | "Work" shall mean the work of authorship,
37 | whether in Source or Object form, made available under the License, as indicated
38 | by a copyright notice that is included in or attached to the work (an example is
39 | provided in the Appendix below).
40 |
41 | "Derivative Works" shall mean any
42 | work, whether in Source or Object form, that is based on (or derived from) the
43 | Work and for which the editorial revisions, annotations, elaborations, or other
44 | modifications represent, as a whole, an original work of authorship. For the
45 | purposes of this License, Derivative Works shall not include works that remain
46 | separable from, or merely link (or bind by name) to the interfaces of, the Work
47 | and Derivative Works thereof.
48 |
49 | "Contribution" shall mean any work
50 | of authorship, including the original version of the Work and any modifications
51 | or additions to that Work or Derivative Works thereof, that is intentionally
52 | submitted to Licensor for inclusion in the Work by the copyright owner or by an
53 | individual or Legal Entity authorized to submit on behalf of the copyright owner.
54 | For the purposes of this definition, "submitted" means any form of electronic,
55 | verbal, or written communication sent to the Licensor or its representatives,
56 | including but not limited to communication on electronic mailing lists, source
57 | code control systems, and issue tracking systems that are managed by, or on
58 | behalf of, the Licensor for the purpose of discussing and improving the Work, but
59 | excluding communication that is conspicuously marked or otherwise designated in
60 | writing by the copyright owner as "Not a Contribution."
61 |
62 | "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of
63 | whom a Contribution has been received by Licensor and subsequently incorporated
64 | within the Work.
65 |
66 | 2. Grant of Copyright License. Subject to the terms and
67 | conditions of this License, each Contributor hereby grants to You a perpetual,
68 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license
69 | to reproduce, prepare Derivative Works of, publicly display, publicly perform,
70 | sublicense, and distribute the Work and such Derivative Works in Source or Object
71 | form.
72 |
73 | 3. Grant of Patent License. Subject to the terms and conditions of this
74 | License, each Contributor hereby grants to You a perpetual, worldwide,
75 | non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this
76 | section) patent license to make, have made, use, offer to sell, sell, import, and
77 | otherwise transfer the Work, where such license applies only to those patent
78 | claims licensable by such Contributor that are necessarily infringed by their
79 | Contribution(s) alone or by combination of their Contribution(s) with the Work to
80 | which such Contribution(s) was submitted. If You institute patent litigation
81 | against any entity (including a cross-claim or counterclaim in a lawsuit)
82 | alleging that the Work or a Contribution incorporated within the Work constitutes
83 | direct or contributory patent infringement, then any patent licenses granted to
84 | You under this License for that Work shall terminate as of the date such
85 | litigation is filed.
86 |
87 | 4. Redistribution. You may reproduce and distribute
88 | copies of the Work or Derivative Works thereof in any medium, with or without
89 | modifications, and in Source or Object form, provided that You meet the following
90 | conditions:
91 |
92 | (a) You must give any other recipients of the Work or
93 | Derivative Works a copy of this License; and
94 |
95 | (b) You must cause any
96 | modified files to carry prominent notices stating that You changed the files;
97 | and
98 |
99 | (c) You must retain, in the Source form of any Derivative Works that
100 | You distribute, all copyright, patent, trademark, and attribution notices from
101 | the Source form of the Work, excluding those notices that do not pertain to any
102 | part of the Derivative Works; and
103 |
104 | (d) If the Work includes a "NOTICE" text
105 | file as part of its distribution, then any Derivative Works that You distribute
106 | must include a readable copy of the attribution notices contained within such
107 | NOTICE file, excluding those notices that do not pertain to any part of the
108 | Derivative Works, in at least one of the following places: within a NOTICE text
109 | file distributed as part of the Derivative Works; within the Source form or
110 | documentation, if provided along with the Derivative Works; or, within a display
111 | generated by the Derivative Works, if and wherever such third-party notices
112 | normally appear. The contents of the NOTICE file are for informational purposes
113 | only and do not modify the License. You may add Your own attribution notices
114 | within Derivative Works that You distribute, alongside or as an addendum to the
115 | NOTICE text from the Work, provided that such additional attribution notices
116 | cannot be construed as modifying the License.
117 |
118 | You may add Your own
119 | copyright statement to Your modifications and may provide additional or different
120 | license terms and conditions for use, reproduction, or distribution of Your
121 | modifications, or for any such Derivative Works as a whole, provided Your use,
122 | reproduction, and distribution of the Work otherwise complies with the conditions
123 | stated in this License.
124 |
125 | 5. Submission of Contributions. Unless You explicitly
126 | state otherwise, any Contribution intentionally submitted for inclusion in the
127 | Work by You to the Licensor shall be under the terms and conditions of this
128 | License, without any additional terms or conditions. Notwithstanding the above,
129 | nothing herein shall supersede or modify the terms of any separate license
130 | agreement you may have executed with Licensor regarding such Contributions.
131 |
132 | 6. Trademarks. This License does not grant permission to use the trade names,
133 | trademarks, service marks, or product names of the Licensor, except as required
134 | for reasonable and customary use in describing the origin of the Work and
135 | reproducing the content of the NOTICE file.
136 |
137 | 7. Disclaimer of Warranty. Unless
138 | required by applicable law or agreed to in writing, Licensor provides the Work
139 | (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT
140 | WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including,
141 | without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT,
142 | MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible
143 | for determining the appropriateness of using or redistributing the Work and
144 | assume any risks associated with Your exercise of permissions under this
145 | License.
146 |
147 | 8. Limitation of Liability. In no event and under no legal theory,
148 | whether in tort (including negligence), contract, or otherwise, unless required
149 | by applicable law (such as deliberate and grossly negligent acts) or agreed to in
150 | writing, shall any Contributor be liable to You for damages, including any
151 | direct, indirect, special, incidental, or consequential damages of any character
152 | arising as a result of this License or out of the use or inability to use the
153 | Work (including but not limited to damages for loss of goodwill, work stoppage,
154 | computer failure or malfunction, or any and all other commercial damages or
155 | losses), even if such Contributor has been advised of the possibility of such
156 | damages.
157 |
158 | 9. Accepting Warranty or Additional Liability. While redistributing
159 | the Work or Derivative Works thereof, You may choose to offer, and charge a fee
160 | for, acceptance of support, warranty, indemnity, or other liability obligations
161 | and/or rights consistent with this License. However, in accepting such
162 | obligations, You may act only on Your own behalf and on Your sole responsibility,
163 | not on behalf of any other Contributor, and only if You agree to indemnify,
164 | defend, and hold each Contributor harmless for any liability incurred by, or
165 | claims asserted against, such Contributor by reason of your accepting any such
166 | warranty or additional liability. END OF TERMS AND CONDITIONS
167 |
168 | APPENDIX: How to apply the Apache License to your work.
169 |
170 | To apply the Apache License to your work,
171 | attach the following boilerplate notice, with the fields enclosed by brackets
172 | "[]" replaced with your own identifying information. (Don't include the
173 | brackets!) The text should be enclosed in the appropriate comment syntax for the
174 | file format. We also recommend that a file or class name and description of
175 | purpose be included on the same "printed page" as the copyright notice for easier
176 | identification within third-party archives.
177 |
178 | Copyright 2023 Jake Hamilton
179 |
180 | Licensed under the Apache License, Version 2.0 (the "License");
181 | you may not use this file except in compliance with the License.
182 |
183 | You may obtain a copy of the License at
184 |
185 | http://www.apache.org/licenses/LICENSE-2.0
186 |
187 | Unless required by applicable law or agreed to in writing, software
188 | distributed under the License is distributed on an "AS IS" BASIS,
189 |
190 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
191 |
192 | See the License for the specific language governing permissions and
193 | limitations under the License.
194 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Snowfall Templates
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 | 15 | 16 |
17 | 18 | > Create new flakes for use with [@snowfallorg/lib](https://github.com/snowfallorg/lib). 19 | 20 | ## Usage 21 | 22 | Run the following command, replacing `