Compare commits
No commits in common. "9f884dc7d2dfb29609f665091f58f96315516914" and "0c40e210f4e497a6f96df6225f95cfafc843c6ad" have entirely different histories.
9f884dc7d2
...
0c40e210f4
244 changed files with 4383 additions and 180128 deletions
6
.gitignore
vendored
6
.gitignore
vendored
|
|
@ -1,6 +0,0 @@
|
||||||
build
|
|
||||||
dist
|
|
||||||
cache
|
|
||||||
node_modules
|
|
||||||
.tsbuildinfo
|
|
||||||
asajs.config.js
|
|
||||||
11
.npmignore
11
.npmignore
|
|
@ -1,11 +0,0 @@
|
||||||
cache
|
|
||||||
node_modules
|
|
||||||
scripts
|
|
||||||
src
|
|
||||||
test
|
|
||||||
.gitignore
|
|
||||||
.tsbuildinfo
|
|
||||||
tsconfig.json
|
|
||||||
asajs.config.js
|
|
||||||
build
|
|
||||||
*.js.map
|
|
||||||
16
.vscode/settings.json
vendored
Normal file
16
.vscode/settings.json
vendored
Normal file
|
|
@ -0,0 +1,16 @@
|
||||||
|
{
|
||||||
|
"nixEnvSelector.suggestion": false,
|
||||||
|
"nix.serverSettings": {
|
||||||
|
"nil": {},
|
||||||
|
"nixd": {
|
||||||
|
"formatting": {
|
||||||
|
"command": ["alejandra"]
|
||||||
|
},
|
||||||
|
"options": {
|
||||||
|
"nixos": {
|
||||||
|
"expr": "(builtins.getFlake \"/home/asakiyuki/nixos\").nixosConfigurations.ideapad-slim-5.options"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
674
LICENSE
674
LICENSE
|
|
@ -1,674 +0,0 @@
|
||||||
GNU GENERAL PUBLIC LICENSE
|
|
||||||
Version 3, 29 June 2007
|
|
||||||
|
|
||||||
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
|
|
||||||
Everyone is permitted to copy and distribute verbatim copies
|
|
||||||
of this license document, but changing it is not allowed.
|
|
||||||
|
|
||||||
Preamble
|
|
||||||
|
|
||||||
The GNU General Public License is a free, copyleft license for
|
|
||||||
software and other kinds of works.
|
|
||||||
|
|
||||||
The licenses for most software and other practical works are designed
|
|
||||||
to take away your freedom to share and change the works. By contrast,
|
|
||||||
the GNU General Public License is intended to guarantee your freedom to
|
|
||||||
share and change all versions of a program--to make sure it remains free
|
|
||||||
software for all its users. We, the Free Software Foundation, use the
|
|
||||||
GNU General Public License for most of our software; it applies also to
|
|
||||||
any other work released this way by its authors. You can apply it to
|
|
||||||
your programs, too.
|
|
||||||
|
|
||||||
When we speak of free software, we are referring to freedom, not
|
|
||||||
price. Our General Public Licenses are designed to make sure that you
|
|
||||||
have the freedom to distribute copies of free software (and charge for
|
|
||||||
them if you wish), that you receive source code or can get it if you
|
|
||||||
want it, that you can change the software or use pieces of it in new
|
|
||||||
free programs, and that you know you can do these things.
|
|
||||||
|
|
||||||
To protect your rights, we need to prevent others from denying you
|
|
||||||
these rights or asking you to surrender the rights. Therefore, you have
|
|
||||||
certain responsibilities if you distribute copies of the software, or if
|
|
||||||
you modify it: responsibilities to respect the freedom of others.
|
|
||||||
|
|
||||||
For example, if you distribute copies of such a program, whether
|
|
||||||
gratis or for a fee, you must pass on to the recipients the same
|
|
||||||
freedoms that you received. You must make sure that they, too, receive
|
|
||||||
or can get the source code. And you must show them these terms so they
|
|
||||||
know their rights.
|
|
||||||
|
|
||||||
Developers that use the GNU GPL protect your rights with two steps:
|
|
||||||
(1) assert copyright on the software, and (2) offer you this License
|
|
||||||
giving you legal permission to copy, distribute and/or modify it.
|
|
||||||
|
|
||||||
For the developers' and authors' protection, the GPL clearly explains
|
|
||||||
that there is no warranty for this free software. For both users' and
|
|
||||||
authors' sake, the GPL requires that modified versions be marked as
|
|
||||||
changed, so that their problems will not be attributed erroneously to
|
|
||||||
authors of previous versions.
|
|
||||||
|
|
||||||
Some devices are designed to deny users access to install or run
|
|
||||||
modified versions of the software inside them, although the manufacturer
|
|
||||||
can do so. This is fundamentally incompatible with the aim of
|
|
||||||
protecting users' freedom to change the software. The systematic
|
|
||||||
pattern of such abuse occurs in the area of products for individuals to
|
|
||||||
use, which is precisely where it is most unacceptable. Therefore, we
|
|
||||||
have designed this version of the GPL to prohibit the practice for those
|
|
||||||
products. If such problems arise substantially in other domains, we
|
|
||||||
stand ready to extend this provision to those domains in future versions
|
|
||||||
of the GPL, as needed to protect the freedom of users.
|
|
||||||
|
|
||||||
Finally, every program is threatened constantly by software patents.
|
|
||||||
States should not allow patents to restrict development and use of
|
|
||||||
software on general-purpose computers, but in those that do, we wish to
|
|
||||||
avoid the special danger that patents applied to a free program could
|
|
||||||
make it effectively proprietary. To prevent this, the GPL assures that
|
|
||||||
patents cannot be used to render the program non-free.
|
|
||||||
|
|
||||||
The precise terms and conditions for copying, distribution and
|
|
||||||
modification follow.
|
|
||||||
|
|
||||||
TERMS AND CONDITIONS
|
|
||||||
|
|
||||||
0. Definitions.
|
|
||||||
|
|
||||||
"This License" refers to version 3 of the GNU General Public License.
|
|
||||||
|
|
||||||
"Copyright" also means copyright-like laws that apply to other kinds of
|
|
||||||
works, such as semiconductor masks.
|
|
||||||
|
|
||||||
"The Program" refers to any copyrightable work licensed under this
|
|
||||||
License. Each licensee is addressed as "you". "Licensees" and
|
|
||||||
"recipients" may be individuals or organizations.
|
|
||||||
|
|
||||||
To "modify" a work means to copy from or adapt all or part of the work
|
|
||||||
in a fashion requiring copyright permission, other than the making of an
|
|
||||||
exact copy. The resulting work is called a "modified version" of the
|
|
||||||
earlier work or a work "based on" the earlier work.
|
|
||||||
|
|
||||||
A "covered work" means either the unmodified Program or a work based
|
|
||||||
on the Program.
|
|
||||||
|
|
||||||
To "propagate" a work means to do anything with it that, without
|
|
||||||
permission, would make you directly or secondarily liable for
|
|
||||||
infringement under applicable copyright law, except executing it on a
|
|
||||||
computer or modifying a private copy. Propagation includes copying,
|
|
||||||
distribution (with or without modification), making available to the
|
|
||||||
public, and in some countries other activities as well.
|
|
||||||
|
|
||||||
To "convey" a work means any kind of propagation that enables other
|
|
||||||
parties to make or receive copies. Mere interaction with a user through
|
|
||||||
a computer network, with no transfer of a copy, is not conveying.
|
|
||||||
|
|
||||||
An interactive user interface displays "Appropriate Legal Notices"
|
|
||||||
to the extent that it includes a convenient and prominently visible
|
|
||||||
feature that (1) displays an appropriate copyright notice, and (2)
|
|
||||||
tells the user that there is no warranty for the work (except to the
|
|
||||||
extent that warranties are provided), that licensees may convey the
|
|
||||||
work under this License, and how to view a copy of this License. If
|
|
||||||
the interface presents a list of user commands or options, such as a
|
|
||||||
menu, a prominent item in the list meets this criterion.
|
|
||||||
|
|
||||||
1. Source Code.
|
|
||||||
|
|
||||||
The "source code" for a work means the preferred form of the work
|
|
||||||
for making modifications to it. "Object code" means any non-source
|
|
||||||
form of a work.
|
|
||||||
|
|
||||||
A "Standard Interface" means an interface that either is an official
|
|
||||||
standard defined by a recognized standards body, or, in the case of
|
|
||||||
interfaces specified for a particular programming language, one that
|
|
||||||
is widely used among developers working in that language.
|
|
||||||
|
|
||||||
The "System Libraries" of an executable work include anything, other
|
|
||||||
than the work as a whole, that (a) is included in the normal form of
|
|
||||||
packaging a Major Component, but which is not part of that Major
|
|
||||||
Component, and (b) serves only to enable use of the work with that
|
|
||||||
Major Component, or to implement a Standard Interface for which an
|
|
||||||
implementation is available to the public in source code form. A
|
|
||||||
"Major Component", in this context, means a major essential component
|
|
||||||
(kernel, window system, and so on) of the specific operating system
|
|
||||||
(if any) on which the executable work runs, or a compiler used to
|
|
||||||
produce the work, or an object code interpreter used to run it.
|
|
||||||
|
|
||||||
The "Corresponding Source" for a work in object code form means all
|
|
||||||
the source code needed to generate, install, and (for an executable
|
|
||||||
work) run the object code and to modify the work, including scripts to
|
|
||||||
control those activities. However, it does not include the work's
|
|
||||||
System Libraries, or general-purpose tools or generally available free
|
|
||||||
programs which are used unmodified in performing those activities but
|
|
||||||
which are not part of the work. For example, Corresponding Source
|
|
||||||
includes interface definition files associated with source files for
|
|
||||||
the work, and the source code for shared libraries and dynamically
|
|
||||||
linked subprograms that the work is specifically designed to require,
|
|
||||||
such as by intimate data communication or control flow between those
|
|
||||||
subprograms and other parts of the work.
|
|
||||||
|
|
||||||
The Corresponding Source need not include anything that users
|
|
||||||
can regenerate automatically from other parts of the Corresponding
|
|
||||||
Source.
|
|
||||||
|
|
||||||
The Corresponding Source for a work in source code form is that
|
|
||||||
same work.
|
|
||||||
|
|
||||||
2. Basic Permissions.
|
|
||||||
|
|
||||||
All rights granted under this License are granted for the term of
|
|
||||||
copyright on the Program, and are irrevocable provided the stated
|
|
||||||
conditions are met. This License explicitly affirms your unlimited
|
|
||||||
permission to run the unmodified Program. The output from running a
|
|
||||||
covered work is covered by this License only if the output, given its
|
|
||||||
content, constitutes a covered work. This License acknowledges your
|
|
||||||
rights of fair use or other equivalent, as provided by copyright law.
|
|
||||||
|
|
||||||
You may make, run and propagate covered works that you do not
|
|
||||||
convey, without conditions so long as your license otherwise remains
|
|
||||||
in force. You may convey covered works to others for the sole purpose
|
|
||||||
of having them make modifications exclusively for you, or provide you
|
|
||||||
with facilities for running those works, provided that you comply with
|
|
||||||
the terms of this License in conveying all material for which you do
|
|
||||||
not control copyright. Those thus making or running the covered works
|
|
||||||
for you must do so exclusively on your behalf, under your direction
|
|
||||||
and control, on terms that prohibit them from making any copies of
|
|
||||||
your copyrighted material outside their relationship with you.
|
|
||||||
|
|
||||||
Conveying under any other circumstances is permitted solely under
|
|
||||||
the conditions stated below. Sublicensing is not allowed; section 10
|
|
||||||
makes it unnecessary.
|
|
||||||
|
|
||||||
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
|
|
||||||
|
|
||||||
No covered work shall be deemed part of an effective technological
|
|
||||||
measure under any applicable law fulfilling obligations under article
|
|
||||||
11 of the WIPO copyright treaty adopted on 20 December 1996, or
|
|
||||||
similar laws prohibiting or restricting circumvention of such
|
|
||||||
measures.
|
|
||||||
|
|
||||||
When you convey a covered work, you waive any legal power to forbid
|
|
||||||
circumvention of technological measures to the extent such circumvention
|
|
||||||
is effected by exercising rights under this License with respect to
|
|
||||||
the covered work, and you disclaim any intention to limit operation or
|
|
||||||
modification of the work as a means of enforcing, against the work's
|
|
||||||
users, your or third parties' legal rights to forbid circumvention of
|
|
||||||
technological measures.
|
|
||||||
|
|
||||||
4. Conveying Verbatim Copies.
|
|
||||||
|
|
||||||
You may convey verbatim copies of the Program's source code as you
|
|
||||||
receive it, in any medium, provided that you conspicuously and
|
|
||||||
appropriately publish on each copy an appropriate copyright notice;
|
|
||||||
keep intact all notices stating that this License and any
|
|
||||||
non-permissive terms added in accord with section 7 apply to the code;
|
|
||||||
keep intact all notices of the absence of any warranty; and give all
|
|
||||||
recipients a copy of this License along with the Program.
|
|
||||||
|
|
||||||
You may charge any price or no price for each copy that you convey,
|
|
||||||
and you may offer support or warranty protection for a fee.
|
|
||||||
|
|
||||||
5. Conveying Modified Source Versions.
|
|
||||||
|
|
||||||
You may convey a work based on the Program, or the modifications to
|
|
||||||
produce it from the Program, in the form of source code under the
|
|
||||||
terms of section 4, provided that you also meet all of these conditions:
|
|
||||||
|
|
||||||
a) The work must carry prominent notices stating that you modified
|
|
||||||
it, and giving a relevant date.
|
|
||||||
|
|
||||||
b) The work must carry prominent notices stating that it is
|
|
||||||
released under this License and any conditions added under section
|
|
||||||
7. This requirement modifies the requirement in section 4 to
|
|
||||||
"keep intact all notices".
|
|
||||||
|
|
||||||
c) You must license the entire work, as a whole, under this
|
|
||||||
License to anyone who comes into possession of a copy. This
|
|
||||||
License will therefore apply, along with any applicable section 7
|
|
||||||
additional terms, to the whole of the work, and all its parts,
|
|
||||||
regardless of how they are packaged. This License gives no
|
|
||||||
permission to license the work in any other way, but it does not
|
|
||||||
invalidate such permission if you have separately received it.
|
|
||||||
|
|
||||||
d) If the work has interactive user interfaces, each must display
|
|
||||||
Appropriate Legal Notices; however, if the Program has interactive
|
|
||||||
interfaces that do not display Appropriate Legal Notices, your
|
|
||||||
work need not make them do so.
|
|
||||||
|
|
||||||
A compilation of a covered work with other separate and independent
|
|
||||||
works, which are not by their nature extensions of the covered work,
|
|
||||||
and which are not combined with it such as to form a larger program,
|
|
||||||
in or on a volume of a storage or distribution medium, is called an
|
|
||||||
"aggregate" if the compilation and its resulting copyright are not
|
|
||||||
used to limit the access or legal rights of the compilation's users
|
|
||||||
beyond what the individual works permit. Inclusion of a covered work
|
|
||||||
in an aggregate does not cause this License to apply to the other
|
|
||||||
parts of the aggregate.
|
|
||||||
|
|
||||||
6. Conveying Non-Source Forms.
|
|
||||||
|
|
||||||
You may convey a covered work in object code form under the terms
|
|
||||||
of sections 4 and 5, provided that you also convey the
|
|
||||||
machine-readable Corresponding Source under the terms of this License,
|
|
||||||
in one of these ways:
|
|
||||||
|
|
||||||
a) Convey the object code in, or embodied in, a physical product
|
|
||||||
(including a physical distribution medium), accompanied by the
|
|
||||||
Corresponding Source fixed on a durable physical medium
|
|
||||||
customarily used for software interchange.
|
|
||||||
|
|
||||||
b) Convey the object code in, or embodied in, a physical product
|
|
||||||
(including a physical distribution medium), accompanied by a
|
|
||||||
written offer, valid for at least three years and valid for as
|
|
||||||
long as you offer spare parts or customer support for that product
|
|
||||||
model, to give anyone who possesses the object code either (1) a
|
|
||||||
copy of the Corresponding Source for all the software in the
|
|
||||||
product that is covered by this License, on a durable physical
|
|
||||||
medium customarily used for software interchange, for a price no
|
|
||||||
more than your reasonable cost of physically performing this
|
|
||||||
conveying of source, or (2) access to copy the
|
|
||||||
Corresponding Source from a network server at no charge.
|
|
||||||
|
|
||||||
c) Convey individual copies of the object code with a copy of the
|
|
||||||
written offer to provide the Corresponding Source. This
|
|
||||||
alternative is allowed only occasionally and noncommercially, and
|
|
||||||
only if you received the object code with such an offer, in accord
|
|
||||||
with subsection 6b.
|
|
||||||
|
|
||||||
d) Convey the object code by offering access from a designated
|
|
||||||
place (gratis or for a charge), and offer equivalent access to the
|
|
||||||
Corresponding Source in the same way through the same place at no
|
|
||||||
further charge. You need not require recipients to copy the
|
|
||||||
Corresponding Source along with the object code. If the place to
|
|
||||||
copy the object code is a network server, the Corresponding Source
|
|
||||||
may be on a different server (operated by you or a third party)
|
|
||||||
that supports equivalent copying facilities, provided you maintain
|
|
||||||
clear directions next to the object code saying where to find the
|
|
||||||
Corresponding Source. Regardless of what server hosts the
|
|
||||||
Corresponding Source, you remain obligated to ensure that it is
|
|
||||||
available for as long as needed to satisfy these requirements.
|
|
||||||
|
|
||||||
e) Convey the object code using peer-to-peer transmission, provided
|
|
||||||
you inform other peers where the object code and Corresponding
|
|
||||||
Source of the work are being offered to the general public at no
|
|
||||||
charge under subsection 6d.
|
|
||||||
|
|
||||||
A separable portion of the object code, whose source code is excluded
|
|
||||||
from the Corresponding Source as a System Library, need not be
|
|
||||||
included in conveying the object code work.
|
|
||||||
|
|
||||||
A "User Product" is either (1) a "consumer product", which means any
|
|
||||||
tangible personal property which is normally used for personal, family,
|
|
||||||
or household purposes, or (2) anything designed or sold for incorporation
|
|
||||||
into a dwelling. In determining whether a product is a consumer product,
|
|
||||||
doubtful cases shall be resolved in favor of coverage. For a particular
|
|
||||||
product received by a particular user, "normally used" refers to a
|
|
||||||
typical or common use of that class of product, regardless of the status
|
|
||||||
of the particular user or of the way in which the particular user
|
|
||||||
actually uses, or expects or is expected to use, the product. A product
|
|
||||||
is a consumer product regardless of whether the product has substantial
|
|
||||||
commercial, industrial or non-consumer uses, unless such uses represent
|
|
||||||
the only significant mode of use of the product.
|
|
||||||
|
|
||||||
"Installation Information" for a User Product means any methods,
|
|
||||||
procedures, authorization keys, or other information required to install
|
|
||||||
and execute modified versions of a covered work in that User Product from
|
|
||||||
a modified version of its Corresponding Source. The information must
|
|
||||||
suffice to ensure that the continued functioning of the modified object
|
|
||||||
code is in no case prevented or interfered with solely because
|
|
||||||
modification has been made.
|
|
||||||
|
|
||||||
If you convey an object code work under this section in, or with, or
|
|
||||||
specifically for use in, a User Product, and the conveying occurs as
|
|
||||||
part of a transaction in which the right of possession and use of the
|
|
||||||
User Product is transferred to the recipient in perpetuity or for a
|
|
||||||
fixed term (regardless of how the transaction is characterized), the
|
|
||||||
Corresponding Source conveyed under this section must be accompanied
|
|
||||||
by the Installation Information. But this requirement does not apply
|
|
||||||
if neither you nor any third party retains the ability to install
|
|
||||||
modified object code on the User Product (for example, the work has
|
|
||||||
been installed in ROM).
|
|
||||||
|
|
||||||
The requirement to provide Installation Information does not include a
|
|
||||||
requirement to continue to provide support service, warranty, or updates
|
|
||||||
for a work that has been modified or installed by the recipient, or for
|
|
||||||
the User Product in which it has been modified or installed. Access to a
|
|
||||||
network may be denied when the modification itself materially and
|
|
||||||
adversely affects the operation of the network or violates the rules and
|
|
||||||
protocols for communication across the network.
|
|
||||||
|
|
||||||
Corresponding Source conveyed, and Installation Information provided,
|
|
||||||
in accord with this section must be in a format that is publicly
|
|
||||||
documented (and with an implementation available to the public in
|
|
||||||
source code form), and must require no special password or key for
|
|
||||||
unpacking, reading or copying.
|
|
||||||
|
|
||||||
7. Additional Terms.
|
|
||||||
|
|
||||||
"Additional permissions" are terms that supplement the terms of this
|
|
||||||
License by making exceptions from one or more of its conditions.
|
|
||||||
Additional permissions that are applicable to the entire Program shall
|
|
||||||
be treated as though they were included in this License, to the extent
|
|
||||||
that they are valid under applicable law. If additional permissions
|
|
||||||
apply only to part of the Program, that part may be used separately
|
|
||||||
under those permissions, but the entire Program remains governed by
|
|
||||||
this License without regard to the additional permissions.
|
|
||||||
|
|
||||||
When you convey a copy of a covered work, you may at your option
|
|
||||||
remove any additional permissions from that copy, or from any part of
|
|
||||||
it. (Additional permissions may be written to require their own
|
|
||||||
removal in certain cases when you modify the work.) You may place
|
|
||||||
additional permissions on material, added by you to a covered work,
|
|
||||||
for which you have or can give appropriate copyright permission.
|
|
||||||
|
|
||||||
Notwithstanding any other provision of this License, for material you
|
|
||||||
add to a covered work, you may (if authorized by the copyright holders of
|
|
||||||
that material) supplement the terms of this License with terms:
|
|
||||||
|
|
||||||
a) Disclaiming warranty or limiting liability differently from the
|
|
||||||
terms of sections 15 and 16 of this License; or
|
|
||||||
|
|
||||||
b) Requiring preservation of specified reasonable legal notices or
|
|
||||||
author attributions in that material or in the Appropriate Legal
|
|
||||||
Notices displayed by works containing it; or
|
|
||||||
|
|
||||||
c) Prohibiting misrepresentation of the origin of that material, or
|
|
||||||
requiring that modified versions of such material be marked in
|
|
||||||
reasonable ways as different from the original version; or
|
|
||||||
|
|
||||||
d) Limiting the use for publicity purposes of names of licensors or
|
|
||||||
authors of the material; or
|
|
||||||
|
|
||||||
e) Declining to grant rights under trademark law for use of some
|
|
||||||
trade names, trademarks, or service marks; or
|
|
||||||
|
|
||||||
f) Requiring indemnification of licensors and authors of that
|
|
||||||
material by anyone who conveys the material (or modified versions of
|
|
||||||
it) with contractual assumptions of liability to the recipient, for
|
|
||||||
any liability that these contractual assumptions directly impose on
|
|
||||||
those licensors and authors.
|
|
||||||
|
|
||||||
All other non-permissive additional terms are considered "further
|
|
||||||
restrictions" within the meaning of section 10. If the Program as you
|
|
||||||
received it, or any part of it, contains a notice stating that it is
|
|
||||||
governed by this License along with a term that is a further
|
|
||||||
restriction, you may remove that term. If a license document contains
|
|
||||||
a further restriction but permits relicensing or conveying under this
|
|
||||||
License, you may add to a covered work material governed by the terms
|
|
||||||
of that license document, provided that the further restriction does
|
|
||||||
not survive such relicensing or conveying.
|
|
||||||
|
|
||||||
If you add terms to a covered work in accord with this section, you
|
|
||||||
must place, in the relevant source files, a statement of the
|
|
||||||
additional terms that apply to those files, or a notice indicating
|
|
||||||
where to find the applicable terms.
|
|
||||||
|
|
||||||
Additional terms, permissive or non-permissive, may be stated in the
|
|
||||||
form of a separately written license, or stated as exceptions;
|
|
||||||
the above requirements apply either way.
|
|
||||||
|
|
||||||
8. Termination.
|
|
||||||
|
|
||||||
You may not propagate or modify a covered work except as expressly
|
|
||||||
provided under this License. Any attempt otherwise to propagate or
|
|
||||||
modify it is void, and will automatically terminate your rights under
|
|
||||||
this License (including any patent licenses granted under the third
|
|
||||||
paragraph of section 11).
|
|
||||||
|
|
||||||
However, if you cease all violation of this License, then your
|
|
||||||
license from a particular copyright holder is reinstated (a)
|
|
||||||
provisionally, unless and until the copyright holder explicitly and
|
|
||||||
finally terminates your license, and (b) permanently, if the copyright
|
|
||||||
holder fails to notify you of the violation by some reasonable means
|
|
||||||
prior to 60 days after the cessation.
|
|
||||||
|
|
||||||
Moreover, your license from a particular copyright holder is
|
|
||||||
reinstated permanently if the copyright holder notifies you of the
|
|
||||||
violation by some reasonable means, this is the first time you have
|
|
||||||
received notice of violation of this License (for any work) from that
|
|
||||||
copyright holder, and you cure the violation prior to 30 days after
|
|
||||||
your receipt of the notice.
|
|
||||||
|
|
||||||
Termination of your rights under this section does not terminate the
|
|
||||||
licenses of parties who have received copies or rights from you under
|
|
||||||
this License. If your rights have been terminated and not permanently
|
|
||||||
reinstated, you do not qualify to receive new licenses for the same
|
|
||||||
material under section 10.
|
|
||||||
|
|
||||||
9. Acceptance Not Required for Having Copies.
|
|
||||||
|
|
||||||
You are not required to accept this License in order to receive or
|
|
||||||
run a copy of the Program. Ancillary propagation of a covered work
|
|
||||||
occurring solely as a consequence of using peer-to-peer transmission
|
|
||||||
to receive a copy likewise does not require acceptance. However,
|
|
||||||
nothing other than this License grants you permission to propagate or
|
|
||||||
modify any covered work. These actions infringe copyright if you do
|
|
||||||
not accept this License. Therefore, by modifying or propagating a
|
|
||||||
covered work, you indicate your acceptance of this License to do so.
|
|
||||||
|
|
||||||
10. Automatic Licensing of Downstream Recipients.
|
|
||||||
|
|
||||||
Each time you convey a covered work, the recipient automatically
|
|
||||||
receives a license from the original licensors, to run, modify and
|
|
||||||
propagate that work, subject to this License. You are not responsible
|
|
||||||
for enforcing compliance by third parties with this License.
|
|
||||||
|
|
||||||
An "entity transaction" is a transaction transferring control of an
|
|
||||||
organization, or substantially all assets of one, or subdividing an
|
|
||||||
organization, or merging organizations. If propagation of a covered
|
|
||||||
work results from an entity transaction, each party to that
|
|
||||||
transaction who receives a copy of the work also receives whatever
|
|
||||||
licenses to the work the party's predecessor in interest had or could
|
|
||||||
give under the previous paragraph, plus a right to possession of the
|
|
||||||
Corresponding Source of the work from the predecessor in interest, if
|
|
||||||
the predecessor has it or can get it with reasonable efforts.
|
|
||||||
|
|
||||||
You may not impose any further restrictions on the exercise of the
|
|
||||||
rights granted or affirmed under this License. For example, you may
|
|
||||||
not impose a license fee, royalty, or other charge for exercise of
|
|
||||||
rights granted under this License, and you may not initiate litigation
|
|
||||||
(including a cross-claim or counterclaim in a lawsuit) alleging that
|
|
||||||
any patent claim is infringed by making, using, selling, offering for
|
|
||||||
sale, or importing the Program or any portion of it.
|
|
||||||
|
|
||||||
11. Patents.
|
|
||||||
|
|
||||||
A "contributor" is a copyright holder who authorizes use under this
|
|
||||||
License of the Program or a work on which the Program is based. The
|
|
||||||
work thus licensed is called the contributor's "contributor version".
|
|
||||||
|
|
||||||
A contributor's "essential patent claims" are all patent claims
|
|
||||||
owned or controlled by the contributor, whether already acquired or
|
|
||||||
hereafter acquired, that would be infringed by some manner, permitted
|
|
||||||
by this License, of making, using, or selling its contributor version,
|
|
||||||
but do not include claims that would be infringed only as a
|
|
||||||
consequence of further modification of the contributor version. For
|
|
||||||
purposes of this definition, "control" includes the right to grant
|
|
||||||
patent sublicenses in a manner consistent with the requirements of
|
|
||||||
this License.
|
|
||||||
|
|
||||||
Each contributor grants you a non-exclusive, worldwide, royalty-free
|
|
||||||
patent license under the contributor's essential patent claims, to
|
|
||||||
make, use, sell, offer for sale, import and otherwise run, modify and
|
|
||||||
propagate the contents of its contributor version.
|
|
||||||
|
|
||||||
In the following three paragraphs, a "patent license" is any express
|
|
||||||
agreement or commitment, however denominated, not to enforce a patent
|
|
||||||
(such as an express permission to practice a patent or covenant not to
|
|
||||||
sue for patent infringement). To "grant" such a patent license to a
|
|
||||||
party means to make such an agreement or commitment not to enforce a
|
|
||||||
patent against the party.
|
|
||||||
|
|
||||||
If you convey a covered work, knowingly relying on a patent license,
|
|
||||||
and the Corresponding Source of the work is not available for anyone
|
|
||||||
to copy, free of charge and under the terms of this License, through a
|
|
||||||
publicly available network server or other readily accessible means,
|
|
||||||
then you must either (1) cause the Corresponding Source to be so
|
|
||||||
available, or (2) arrange to deprive yourself of the benefit of the
|
|
||||||
patent license for this particular work, or (3) arrange, in a manner
|
|
||||||
consistent with the requirements of this License, to extend the patent
|
|
||||||
license to downstream recipients. "Knowingly relying" means you have
|
|
||||||
actual knowledge that, but for the patent license, your conveying the
|
|
||||||
covered work in a country, or your recipient's use of the covered work
|
|
||||||
in a country, would infringe one or more identifiable patents in that
|
|
||||||
country that you have reason to believe are valid.
|
|
||||||
|
|
||||||
If, pursuant to or in connection with a single transaction or
|
|
||||||
arrangement, you convey, or propagate by procuring conveyance of, a
|
|
||||||
covered work, and grant a patent license to some of the parties
|
|
||||||
receiving the covered work authorizing them to use, propagate, modify
|
|
||||||
or convey a specific copy of the covered work, then the patent license
|
|
||||||
you grant is automatically extended to all recipients of the covered
|
|
||||||
work and works based on it.
|
|
||||||
|
|
||||||
A patent license is "discriminatory" if it does not include within
|
|
||||||
the scope of its coverage, prohibits the exercise of, or is
|
|
||||||
conditioned on the non-exercise of one or more of the rights that are
|
|
||||||
specifically granted under this License. You may not convey a covered
|
|
||||||
work if you are a party to an arrangement with a third party that is
|
|
||||||
in the business of distributing software, under which you make payment
|
|
||||||
to the third party based on the extent of your activity of conveying
|
|
||||||
the work, and under which the third party grants, to any of the
|
|
||||||
parties who would receive the covered work from you, a discriminatory
|
|
||||||
patent license (a) in connection with copies of the covered work
|
|
||||||
conveyed by you (or copies made from those copies), or (b) primarily
|
|
||||||
for and in connection with specific products or compilations that
|
|
||||||
contain the covered work, unless you entered into that arrangement,
|
|
||||||
or that patent license was granted, prior to 28 March 2007.
|
|
||||||
|
|
||||||
Nothing in this License shall be construed as excluding or limiting
|
|
||||||
any implied license or other defenses to infringement that may
|
|
||||||
otherwise be available to you under applicable patent law.
|
|
||||||
|
|
||||||
12. No Surrender of Others' Freedom.
|
|
||||||
|
|
||||||
If conditions are imposed on you (whether by court order, agreement or
|
|
||||||
otherwise) that contradict the conditions of this License, they do not
|
|
||||||
excuse you from the conditions of this License. If you cannot convey a
|
|
||||||
covered work so as to satisfy simultaneously your obligations under this
|
|
||||||
License and any other pertinent obligations, then as a consequence you may
|
|
||||||
not convey it at all. For example, if you agree to terms that obligate you
|
|
||||||
to collect a royalty for further conveying from those to whom you convey
|
|
||||||
the Program, the only way you could satisfy both those terms and this
|
|
||||||
License would be to refrain entirely from conveying the Program.
|
|
||||||
|
|
||||||
13. Use with the GNU Affero General Public License.
|
|
||||||
|
|
||||||
Notwithstanding any other provision of this License, you have
|
|
||||||
permission to link or combine any covered work with a work licensed
|
|
||||||
under version 3 of the GNU Affero General Public License into a single
|
|
||||||
combined work, and to convey the resulting work. The terms of this
|
|
||||||
License will continue to apply to the part which is the covered work,
|
|
||||||
but the special requirements of the GNU Affero General Public License,
|
|
||||||
section 13, concerning interaction through a network will apply to the
|
|
||||||
combination as such.
|
|
||||||
|
|
||||||
14. Revised Versions of this License.
|
|
||||||
|
|
||||||
The Free Software Foundation may publish revised and/or new versions of
|
|
||||||
the GNU General Public License from time to time. Such new versions will
|
|
||||||
be similar in spirit to the present version, but may differ in detail to
|
|
||||||
address new problems or concerns.
|
|
||||||
|
|
||||||
Each version is given a distinguishing version number. If the
|
|
||||||
Program specifies that a certain numbered version of the GNU General
|
|
||||||
Public License "or any later version" applies to it, you have the
|
|
||||||
option of following the terms and conditions either of that numbered
|
|
||||||
version or of any later version published by the Free Software
|
|
||||||
Foundation. If the Program does not specify a version number of the
|
|
||||||
GNU General Public License, you may choose any version ever published
|
|
||||||
by the Free Software Foundation.
|
|
||||||
|
|
||||||
If the Program specifies that a proxy can decide which future
|
|
||||||
versions of the GNU General Public License can be used, that proxy's
|
|
||||||
public statement of acceptance of a version permanently authorizes you
|
|
||||||
to choose that version for the Program.
|
|
||||||
|
|
||||||
Later license versions may give you additional or different
|
|
||||||
permissions. However, no additional obligations are imposed on any
|
|
||||||
author or copyright holder as a result of your choosing to follow a
|
|
||||||
later version.
|
|
||||||
|
|
||||||
15. Disclaimer of Warranty.
|
|
||||||
|
|
||||||
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
|
|
||||||
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
|
|
||||||
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
|
|
||||||
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
|
|
||||||
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
|
||||||
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
|
|
||||||
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
|
|
||||||
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
|
||||||
|
|
||||||
16. Limitation of Liability.
|
|
||||||
|
|
||||||
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
|
||||||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
|
|
||||||
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
|
|
||||||
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
|
|
||||||
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
|
|
||||||
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
|
|
||||||
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
|
|
||||||
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
|
|
||||||
SUCH DAMAGES.
|
|
||||||
|
|
||||||
17. Interpretation of Sections 15 and 16.
|
|
||||||
|
|
||||||
If the disclaimer of warranty and limitation of liability provided
|
|
||||||
above cannot be given local legal effect according to their terms,
|
|
||||||
reviewing courts shall apply local law that most closely approximates
|
|
||||||
an absolute waiver of all civil liability in connection with the
|
|
||||||
Program, unless a warranty or assumption of liability accompanies a
|
|
||||||
copy of the Program in return for a fee.
|
|
||||||
|
|
||||||
END OF TERMS AND CONDITIONS
|
|
||||||
|
|
||||||
How to Apply These Terms to Your New Programs
|
|
||||||
|
|
||||||
If you develop a new program, and you want it to be of the greatest
|
|
||||||
possible use to the public, the best way to achieve this is to make it
|
|
||||||
free software which everyone can redistribute and change under these terms.
|
|
||||||
|
|
||||||
To do so, attach the following notices to the program. It is safest
|
|
||||||
to attach them to the start of each source file to most effectively
|
|
||||||
state the exclusion of warranty; and each file should have at least
|
|
||||||
the "copyright" line and a pointer to where the full notice is found.
|
|
||||||
|
|
||||||
<one line to give the program's name and a brief idea of what it does.>
|
|
||||||
Copyright (C) <year> <name of author>
|
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU General Public License as published by
|
|
||||||
the Free Software Foundation, either version 3 of the License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
|
||||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
||||||
|
|
||||||
Also add information on how to contact you by electronic and paper mail.
|
|
||||||
|
|
||||||
If the program does terminal interaction, make it output a short
|
|
||||||
notice like this when it starts in an interactive mode:
|
|
||||||
|
|
||||||
<program> Copyright (C) <year> <name of author>
|
|
||||||
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
|
||||||
This is free software, and you are welcome to redistribute it
|
|
||||||
under certain conditions; type `show c' for details.
|
|
||||||
|
|
||||||
The hypothetical commands `show w' and `show c' should show the appropriate
|
|
||||||
parts of the General Public License. Of course, your program's commands
|
|
||||||
might be different; for a GUI interface, you would use an "about box".
|
|
||||||
|
|
||||||
You should also get your employer (if you work as a programmer) or school,
|
|
||||||
if any, to sign a "copyright disclaimer" for the program, if necessary.
|
|
||||||
For more information on this, and how to apply and follow the GNU GPL, see
|
|
||||||
<https://www.gnu.org/licenses/>.
|
|
||||||
|
|
||||||
The GNU General Public License does not permit incorporating your program
|
|
||||||
into proprietary programs. If your program is a subroutine library, you
|
|
||||||
may consider it more useful to permit linking proprietary applications with
|
|
||||||
the library. If this is what you want to do, use the GNU Lesser General
|
|
||||||
Public License instead of this License. But first, please read
|
|
||||||
<https://www.gnu.org/licenses/why-not-lgpl.html>.
|
|
||||||
49
README.md
49
README.md
|
|
@ -1,49 +0,0 @@
|
||||||
<div align="center">
|
|
||||||
<img src="./resources/logo.png" />
|
|
||||||
|
|
||||||
<h2 align="center">
|
|
||||||
<a href="https://asajs.asakiyuki.com/">AsaJS</a> - The <a href="https://www.minecraft.net/en-us">Minecraft: Bedrock Edition</a> JSON-UI Framework
|
|
||||||
</h2>
|
|
||||||
|
|
||||||
[](https://www.npmjs.com/package/asajs)
|
|
||||||
[](https://github.com/AsakiYuki/AsaJS/blob/main/README.md)
|
|
||||||
[](https://www.npmjs.com/package/asajs)
|
|
||||||
</div>
|
|
||||||
|
|
||||||
**AsaJS** is a NodeJS library designed to empower developers to create **JSON-UI** packages for Minecraft: Bedrock Edition using **JavaScript** or **TypeScript**.
|
|
||||||
|
|
||||||
Say goodbye to the tedious and repetitive nature of manual JSON editing. AsaJS streamlines your workflow by bringing the programmatic flexibility to Minecraft UI development.
|
|
||||||
|
|
||||||
## 🛠 Installation
|
|
||||||
|
|
||||||
To use AsaJS, ensure you have **[Node.js](https://nodejs.org/en)** installed on your system.
|
|
||||||
|
|
||||||
```bash
|
|
||||||
npx create-asajs
|
|
||||||
```
|
|
||||||
|
|
||||||
## 📖 "Hello World!" Example
|
|
||||||
|
|
||||||
Creating a custom UI with AsaJS is straightforward. Here is how you can insert a custom label onto the Minecraft Start Screen:
|
|
||||||
|
|
||||||
```javascript
|
|
||||||
import { Anchor, Label, Modify } from "asajs"
|
|
||||||
|
|
||||||
const label = Label({
|
|
||||||
text: "Hello World from my Custom UI!",
|
|
||||||
shadow: true,
|
|
||||||
anchor: Anchor.TOP_MIDDLE,
|
|
||||||
offset: [0, 10],
|
|
||||||
})
|
|
||||||
|
|
||||||
// This code injects the label into the top of the start screen
|
|
||||||
Modify("start", "start_screen_content").insertChild(label)
|
|
||||||
```
|
|
||||||
|
|
||||||
<!-- ## 📚 Documentation
|
|
||||||
|
|
||||||
Detailed guides and API references are available at: 👉 https://asajs.asakiyuki.com/ -->
|
|
||||||
|
|
||||||
## 🤝 Contributing
|
|
||||||
|
|
||||||
Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make are **greatly appreciated**.
|
|
||||||
7
assets/discord/style.css
Normal file
7
assets/discord/style.css
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
.winButtons_c38106.winButtonsWithDivider_c38106 {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.trailing_c38106 {
|
||||||
|
padding-right: 10px;
|
||||||
|
}
|
||||||
11
assets/firefox/userChrome.css
Normal file
11
assets/firefox/userChrome.css
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
.titlebar-buttonbox-container {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.titlebar-spacer {
|
||||||
|
width: 2.5px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
#TabsToolbar {
|
||||||
|
padding-left: 2.5px !important;
|
||||||
|
}
|
||||||
BIN
assets/grub/background.png
Normal file
BIN
assets/grub/background.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.2 MiB |
BIN
assets/srgb_to_gamma2p2_400_mhc2.icm
Normal file
BIN
assets/srgb_to_gamma2p2_400_mhc2.icm
Normal file
Binary file not shown.
50
config.d.ts
vendored
50
config.d.ts
vendored
|
|
@ -1,50 +0,0 @@
|
||||||
import { Variable } from "./src/types/properties/value.ts"
|
|
||||||
|
|
||||||
export interface RetBindingValue {
|
|
||||||
generate_bindings?: Array<{ source_property_name: string; target_property_name: string }>
|
|
||||||
return_value: string
|
|
||||||
}
|
|
||||||
|
|
||||||
export interface Config {
|
|
||||||
compiler?: {
|
|
||||||
enabled?: boolean
|
|
||||||
autoImport?: boolean
|
|
||||||
importToPreview?: boolean
|
|
||||||
autoEnable?: boolean
|
|
||||||
gdkUserId?: string
|
|
||||||
fixInventoryItemRenderer?: boolean
|
|
||||||
buildFolder?: string
|
|
||||||
fileExtension?: string
|
|
||||||
uiBuildFolder?: string
|
|
||||||
obfuscateStringName?: boolean
|
|
||||||
allowRandomStringName?: boolean
|
|
||||||
namespaceCount?: number
|
|
||||||
forceRandomStringLength?: number
|
|
||||||
}
|
|
||||||
|
|
||||||
ui_analyzer?: {
|
|
||||||
enabled?: boolean
|
|
||||||
generate_path?: string
|
|
||||||
imports?: string[]
|
|
||||||
}
|
|
||||||
|
|
||||||
packinfo?: {
|
|
||||||
name?: string
|
|
||||||
description?: string
|
|
||||||
version?: [number, number, number]
|
|
||||||
|
|
||||||
metadata?: {
|
|
||||||
authors?: string[]
|
|
||||||
license?: string
|
|
||||||
url?: string
|
|
||||||
}
|
|
||||||
|
|
||||||
subpacks?: {
|
|
||||||
folder_name?: string
|
|
||||||
name?: string
|
|
||||||
memory_performance_tier?: number
|
|
||||||
}[]
|
|
||||||
}
|
|
||||||
global_variables?: Record<Variable, string>
|
|
||||||
binding_functions?: Record<string, (...args: string[]) => RetBindingValue>
|
|
||||||
}
|
|
||||||
19
devices/home-server/configuration.nix
Normal file
19
devices/home-server/configuration.nix
Normal file
|
|
@ -0,0 +1,19 @@
|
||||||
|
{libs, ...}: {
|
||||||
|
imports = [
|
||||||
|
./hardware-configuration.nix
|
||||||
|
(libs.root "/host/server/default.nix")
|
||||||
|
];
|
||||||
|
|
||||||
|
nix.settings.experimental-features = [
|
||||||
|
"nix-command"
|
||||||
|
"flakes"
|
||||||
|
];
|
||||||
|
|
||||||
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
||||||
|
boot.loader.systemd-boot.enable = true;
|
||||||
|
boot.loader.efi.canTouchEfiVariables = true;
|
||||||
|
|
||||||
|
time.timeZone = "Asia/Ho_Chi_Minh";
|
||||||
|
system.stateVersion = "25.11";
|
||||||
|
}
|
||||||
40
devices/home-server/hardware-configuration.nix
Normal file
40
devices/home-server/hardware-configuration.nix
Normal file
|
|
@ -0,0 +1,40 @@
|
||||||
|
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
||||||
|
# and may be overwritten by future invocations. Please make changes
|
||||||
|
# to /etc/nixos/configuration.nix instead.
|
||||||
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
modulesPath,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
imports = [(modulesPath + "/installer/scan/not-detected.nix")];
|
||||||
|
|
||||||
|
boot.initrd.availableKernelModules = [
|
||||||
|
"xhci_pci"
|
||||||
|
"ahci"
|
||||||
|
"usbhid"
|
||||||
|
"usb_storage"
|
||||||
|
"sd_mod"
|
||||||
|
];
|
||||||
|
boot.initrd.kernelModules = [];
|
||||||
|
boot.kernelModules = ["kvm-intel"];
|
||||||
|
boot.extraModulePackages = [];
|
||||||
|
|
||||||
|
fileSystems = {
|
||||||
|
"/" = {
|
||||||
|
device = "/dev/disk/by-uuid/16cfcdf6-15bb-4b63-835f-044867999510";
|
||||||
|
fsType = "ext4";
|
||||||
|
};
|
||||||
|
"/home/asakiyuki/HOST" = {
|
||||||
|
device = "/dev/disk/by-uuid/414e2a24-605f-47c3-a325-8db8a4934329";
|
||||||
|
fsType = "ext4";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
swapDevices = [
|
||||||
|
{device = "/dev/disk/by-uuid/cfa7f30f-f08a-4400-babe-41357586a6a0";}
|
||||||
|
];
|
||||||
|
|
||||||
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||||
|
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||||
|
}
|
||||||
41
devices/ideapad-slim-5/configuration.nix
Normal file
41
devices/ideapad-slim-5/configuration.nix
Normal file
|
|
@ -0,0 +1,41 @@
|
||||||
|
{
|
||||||
|
libs,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
imports = [
|
||||||
|
./hardware-configuration.nix
|
||||||
|
./mount.nix
|
||||||
|
|
||||||
|
(libs.root "/host/desktop/default.nix")
|
||||||
|
];
|
||||||
|
|
||||||
|
networking.hostName = "nixos";
|
||||||
|
networking.networkmanager.enable = true;
|
||||||
|
time.timeZone = "Asia/Ho_Chi_Minh";
|
||||||
|
|
||||||
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
||||||
|
boot.kernelParams = ["amd_pstate=active"];
|
||||||
|
boot.kernelModules = ["ideapad_laptop"];
|
||||||
|
services.power-profiles-daemon.enable = true;
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
lm_sensors
|
||||||
|
ryzenadj
|
||||||
|
];
|
||||||
|
|
||||||
|
nix.settings.experimental-features = [
|
||||||
|
"nix-command"
|
||||||
|
"flakes"
|
||||||
|
];
|
||||||
|
|
||||||
|
home-manager.users.asakiyuki.home = {
|
||||||
|
sessionVariables = {
|
||||||
|
QML_IMPORT_PATH = "/run/current-system/sw/lib/qt-6/qml";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||||
|
boot.extraModulePackages = [pkgs.linuxPackages_latest.zenpower];
|
||||||
|
system.stateVersion = "25.11";
|
||||||
|
}
|
||||||
36
devices/ideapad-slim-5/hardware-configuration.nix
Normal file
36
devices/ideapad-slim-5/hardware-configuration.nix
Normal file
|
|
@ -0,0 +1,36 @@
|
||||||
|
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
||||||
|
# and may be overwritten by future invocations. Please make changes
|
||||||
|
# to /etc/nixos/configuration.nix instead.
|
||||||
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
modulesPath,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
imports = [
|
||||||
|
(modulesPath + "/installer/scan/not-detected.nix")
|
||||||
|
];
|
||||||
|
|
||||||
|
boot.initrd.availableKernelModules = ["nvme" "xhci_pci" "usb_storage" "usbhid" "sd_mod" "sdhci_pci"];
|
||||||
|
boot.initrd.kernelModules = [];
|
||||||
|
boot.kernelModules = ["kvm-amd"];
|
||||||
|
boot.extraModulePackages = [];
|
||||||
|
|
||||||
|
fileSystems."/" = {
|
||||||
|
device = "/dev/disk/by-uuid/85ab0f38-b6e7-4046-a33b-ce7b9812b959";
|
||||||
|
fsType = "ext4";
|
||||||
|
};
|
||||||
|
|
||||||
|
fileSystems."/boot" = {
|
||||||
|
device = "/dev/disk/by-uuid/2221-C55B";
|
||||||
|
fsType = "vfat";
|
||||||
|
options = ["fmask=0022" "dmask=0022"];
|
||||||
|
};
|
||||||
|
|
||||||
|
swapDevices = [
|
||||||
|
{device = "/dev/disk/by-uuid/20e229eb-f32e-4369-be96-25275ebc8ae3";}
|
||||||
|
];
|
||||||
|
|
||||||
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||||
|
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||||
|
}
|
||||||
23
devices/ideapad-slim-5/mount.nix
Normal file
23
devices/ideapad-slim-5/mount.nix
Normal file
|
|
@ -0,0 +1,23 @@
|
||||||
|
{...}: {
|
||||||
|
fileSystems = {
|
||||||
|
"/mnt/windows" = {
|
||||||
|
device = "/dev/disk/by-uuid/0000294D000006E6";
|
||||||
|
fsType = "ntfs-3g";
|
||||||
|
options = [
|
||||||
|
"rw"
|
||||||
|
"uid=1000"
|
||||||
|
"gid=100"
|
||||||
|
"umask=022"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
"/mnt/waydroid" = {
|
||||||
|
device = "/home/asakiyuki/.local/share/waydroid/data/media/0";
|
||||||
|
fsType = "fuse.bindfs";
|
||||||
|
options = [
|
||||||
|
"mirror=1000"
|
||||||
|
"xattr-none"
|
||||||
|
"chmod-ignore"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
1477
extends/binding.txt
1477
extends/binding.txt
File diff suppressed because it is too large
Load diff
|
|
@ -1,947 +0,0 @@
|
||||||
button.paddle_left
|
|
||||||
button.controller_start
|
|
||||||
button.slot3
|
|
||||||
button.slot9
|
|
||||||
button.file_upload_cancel
|
|
||||||
button.close
|
|
||||||
button.add_popup_escape
|
|
||||||
button.tapped_bundle_item_icon
|
|
||||||
button.container_auto_destroy
|
|
||||||
button.save_button
|
|
||||||
button.picked_inventory
|
|
||||||
button.cycle_recipe_left
|
|
||||||
button.ugc_item
|
|
||||||
button.redirect_to_upsell
|
|
||||||
button.choose_skinny
|
|
||||||
button.menu_settings
|
|
||||||
button.clear_screenshots_cache
|
|
||||||
button.deselected_pack
|
|
||||||
button.store
|
|
||||||
button.sort_up
|
|
||||||
button.navigate_edit_world
|
|
||||||
button.font_license_popup
|
|
||||||
button.menu_legacy_world_item_delete
|
|
||||||
button.portfolio_export
|
|
||||||
button.cancel_close_without_saving
|
|
||||||
button.close_manage_feed
|
|
||||||
button.show_more_offers
|
|
||||||
button.player_count
|
|
||||||
button.paddle_right
|
|
||||||
button.turn_left
|
|
||||||
button.control
|
|
||||||
button.enable_text_to_speech
|
|
||||||
button.look_up_smooth
|
|
||||||
button.full_screen
|
|
||||||
button.build_or_attack_or_block_select
|
|
||||||
button.downright
|
|
||||||
button.clear_selected_recipe
|
|
||||||
button.search_bar_clear
|
|
||||||
button.showEula
|
|
||||||
button.insert_photo_page
|
|
||||||
button.hide_bundle_tooltip
|
|
||||||
button.host_toggle
|
|
||||||
button.add_realm
|
|
||||||
button.select_worlds
|
|
||||||
button.menu_invalid_world_template_clicked
|
|
||||||
button.manage_account
|
|
||||||
button.featured_category
|
|
||||||
button.menu_realm_send_invites
|
|
||||||
button.close_options_popup
|
|
||||||
button.world_slot
|
|
||||||
button.menu_realm_world_trial
|
|
||||||
button.next_friends_page
|
|
||||||
button.file_upload_wifi_warning_continue
|
|
||||||
button.eduCloud_learn_more
|
|
||||||
button.toggle_verbose_state
|
|
||||||
button.get_more_skins
|
|
||||||
button.share
|
|
||||||
button.pan_left
|
|
||||||
button.redirect_button
|
|
||||||
button.select_screenshot
|
|
||||||
button.genre
|
|
||||||
button.close_filter_menu
|
|
||||||
button.menu_inventory_cancel
|
|
||||||
button.look_down_smooth
|
|
||||||
button.arrow_down
|
|
||||||
button.command_macro_2
|
|
||||||
button.command_macro_6
|
|
||||||
button.anvil_coalesce_stack
|
|
||||||
button.cancel
|
|
||||||
button.insert_text_page
|
|
||||||
button.chat_menu_cancel
|
|
||||||
button.sub_command
|
|
||||||
button.trade_details_2
|
|
||||||
button.starter_buy_now_button
|
|
||||||
button.menu_offline
|
|
||||||
button.ai_lesson_crafter
|
|
||||||
button.additional_realms_buy_button
|
|
||||||
button.continue
|
|
||||||
button.manual_save_checkbox
|
|
||||||
button.expand_realms
|
|
||||||
button.copy_local_world
|
|
||||||
button.menu_feed
|
|
||||||
button.portfolio_add_photo
|
|
||||||
button.delete_account
|
|
||||||
button.clear_content_log_files
|
|
||||||
button.expand_advanced_graphics
|
|
||||||
button.see_realms_subscription
|
|
||||||
button.view_achievement
|
|
||||||
button.redeem_realms_item
|
|
||||||
button.menu_cancel
|
|
||||||
button.destroy_or_interact
|
|
||||||
button.scoreboard
|
|
||||||
button.look_right_smooth
|
|
||||||
button.arrow_left
|
|
||||||
button.command_macro_7
|
|
||||||
button.focus_left
|
|
||||||
button.focus_right
|
|
||||||
button.remove_trial
|
|
||||||
button.trade_secondary_select
|
|
||||||
button.player_profile_card
|
|
||||||
button.settings_help
|
|
||||||
button.reset_party_settings_filters
|
|
||||||
button.more_realms_plus_templates
|
|
||||||
button.back
|
|
||||||
button.menu_legacy_world_item_migrate
|
|
||||||
button.entry_confirm
|
|
||||||
button.tag_trailer
|
|
||||||
button.archived_world_upload
|
|
||||||
button.delete_resource_button
|
|
||||||
button.select_nav_option
|
|
||||||
button.close_result_panel
|
|
||||||
button.apply_to_realm
|
|
||||||
button.purchase_with_currency
|
|
||||||
button.user_rating_star_toggle
|
|
||||||
button.select_appearance
|
|
||||||
button.open_default_character_selection_modal
|
|
||||||
button.promotion_page
|
|
||||||
button.emote_slot_2
|
|
||||||
button.command_macro_3
|
|
||||||
button.cartography_result_take_half_place_one
|
|
||||||
button.menu_exit
|
|
||||||
button.close_share_popup
|
|
||||||
button.privpol_popup
|
|
||||||
button.edit_page
|
|
||||||
button.force_gui_scaling
|
|
||||||
button.privacy_and_online_safety
|
|
||||||
button.menu_realms
|
|
||||||
button.additional_realms_right_button
|
|
||||||
button.save_active_world_button
|
|
||||||
button.score_player_profile_card
|
|
||||||
button.form_button_click
|
|
||||||
button.exit_student
|
|
||||||
button.exit_advanced
|
|
||||||
button.menu_start_realms_world
|
|
||||||
button.hide_gui_all
|
|
||||||
button.slot_pressed
|
|
||||||
button.edu_cloud_conflict_resolution_cloud_button
|
|
||||||
button.play_video
|
|
||||||
button.share_world_link
|
|
||||||
button.exit_verbose_state_bg
|
|
||||||
button.text_edit_box_deselected
|
|
||||||
button.cast_select
|
|
||||||
button.structure_3D_export
|
|
||||||
button.copy_facing_coordinates
|
|
||||||
button.look_left
|
|
||||||
button.grindstone_coalesce_stack
|
|
||||||
button.main_menu_button
|
|
||||||
button.window_right
|
|
||||||
button.restore
|
|
||||||
button.clear
|
|
||||||
button.play_button
|
|
||||||
button.export_book
|
|
||||||
button.focus_debug
|
|
||||||
button.emote_wheel_exit_non_gamepad
|
|
||||||
button.is_hovered
|
|
||||||
button.friends_drawer
|
|
||||||
button.play_realm
|
|
||||||
button.available_pack
|
|
||||||
button.menu_quit
|
|
||||||
button.connect_to_third_party_server
|
|
||||||
button.portfolio_convert_right
|
|
||||||
button.hotbar_inventory_left
|
|
||||||
button.view_toggle
|
|
||||||
button.preview_app1
|
|
||||||
button.purchase_with_coins
|
|
||||||
button.navigate_to_store_search_resource
|
|
||||||
button.scrollToRateContent
|
|
||||||
button.tab_button
|
|
||||||
button.skin_selected_skins_page
|
|
||||||
button.clear_pack_type_filters
|
|
||||||
button.menu_down
|
|
||||||
button.build_or_interact
|
|
||||||
button.slot2
|
|
||||||
button.command_macro_chord_7
|
|
||||||
button.output_coalesce_stack
|
|
||||||
button.join_world_popup
|
|
||||||
button.teams_share
|
|
||||||
button.copy_to_clipboard
|
|
||||||
button.reset_binding
|
|
||||||
button.new_realm
|
|
||||||
button.showEligibility
|
|
||||||
button.confirm
|
|
||||||
button.menu_navigation
|
|
||||||
button.master_buy_now_button
|
|
||||||
button.realms_player_count_10
|
|
||||||
button.download_realms_world
|
|
||||||
button.view_profile
|
|
||||||
button.terms_and_conditions_popup
|
|
||||||
button.attribution_popup
|
|
||||||
button.exit_verbose_state
|
|
||||||
button.navigate_first_page
|
|
||||||
button.structure_import
|
|
||||||
button.menu_tertiary_select
|
|
||||||
button.sneak
|
|
||||||
button.controller_autocomplete
|
|
||||||
button.shift
|
|
||||||
button.copy_facing_block_coordinates
|
|
||||||
button.look_down
|
|
||||||
button.labtable_take_all_place_all
|
|
||||||
button.view_worlds
|
|
||||||
button.container_take_half_place_one
|
|
||||||
button.recipe_book_toggle_hovered
|
|
||||||
button.action_button
|
|
||||||
button.realms_warning_more_info
|
|
||||||
button.dialog_button
|
|
||||||
button.join_server_anyway
|
|
||||||
button.menu_local_world_item_edit
|
|
||||||
button.menu_network_join_by_code_popup_join
|
|
||||||
button.free_preview_realm_available
|
|
||||||
button.play_world
|
|
||||||
button.clear_diagnostics_captures
|
|
||||||
button.dev_trigger_graphics_device_loss
|
|
||||||
button.select_emote_slot_1
|
|
||||||
button.real_money_purchase
|
|
||||||
button.navigate_previous_page
|
|
||||||
button.go_back
|
|
||||||
button.edit_appearance_preset
|
|
||||||
button.retry_appearance_preset
|
|
||||||
button.structure_detect
|
|
||||||
button.controller_secondary_select
|
|
||||||
button.right
|
|
||||||
button.descend
|
|
||||||
button.look_up_left
|
|
||||||
button.button_hovered
|
|
||||||
button.access
|
|
||||||
button.maximize
|
|
||||||
button.shape_drawing
|
|
||||||
button.new_world
|
|
||||||
button.open_demo_popup_link
|
|
||||||
button.mute_chat
|
|
||||||
button.host_main
|
|
||||||
button.open_chat_settings
|
|
||||||
button.turn_right
|
|
||||||
button.close_entry_prompt_dialog
|
|
||||||
button.trade_take_all_place_all
|
|
||||||
button.choose_fat
|
|
||||||
button.gathering
|
|
||||||
button.menu_store
|
|
||||||
button.sync_legacy_worlds
|
|
||||||
button.sync_retailtopreview_worlds
|
|
||||||
button.view_feed
|
|
||||||
button.expand_selected
|
|
||||||
button.expand_available
|
|
||||||
button.submit_custom_form
|
|
||||||
button.kick
|
|
||||||
button.menu_start_local_world
|
|
||||||
button.portfolio_page_next
|
|
||||||
button.manage_feed_prev_button
|
|
||||||
button.lesson_complete
|
|
||||||
button.tutorial_restart
|
|
||||||
button.claim_all
|
|
||||||
button.swap_color_channel_left
|
|
||||||
button.menu_autocomplete
|
|
||||||
button.toggle_perspective
|
|
||||||
button.sprint
|
|
||||||
button.block_select
|
|
||||||
button.emote_slot_1
|
|
||||||
button.hide_tooltips
|
|
||||||
button.grindstone_take_all_place_all
|
|
||||||
button.loom_result_take_half_place_one
|
|
||||||
button.confirm_passcode
|
|
||||||
button.local_button
|
|
||||||
button.finalize
|
|
||||||
button.scroll_down
|
|
||||||
button.pointer_pressed
|
|
||||||
button.visual_button
|
|
||||||
button.recent_skin_hovered
|
|
||||||
button.default_skin_hovered
|
|
||||||
button.menu_play
|
|
||||||
button.download_save
|
|
||||||
button.confirm_button
|
|
||||||
button.connecting_close
|
|
||||||
button.error_close
|
|
||||||
button.menu_alternate_tab_left
|
|
||||||
button.fly_up_slow
|
|
||||||
button.emote_slot_3
|
|
||||||
button.menu_select
|
|
||||||
button.pattern_select
|
|
||||||
button.view_library
|
|
||||||
button.error_ok
|
|
||||||
button.coalesce_stack
|
|
||||||
button.container_auto_place_one
|
|
||||||
button.recipe_select
|
|
||||||
button.signIn
|
|
||||||
button.update_and_play
|
|
||||||
button.menu_achievements
|
|
||||||
button.realms_options_close
|
|
||||||
button.selected_pack
|
|
||||||
button.read_toggle
|
|
||||||
button.menu_network_join_by_code
|
|
||||||
button.menu_realms_world_item_edit
|
|
||||||
button.cancel_reset
|
|
||||||
button.size
|
|
||||||
button.exit_done
|
|
||||||
button.found_cancel
|
|
||||||
button.dressing_room
|
|
||||||
button.close_eduCloud_error_popup
|
|
||||||
button.open_content_log_history
|
|
||||||
button.realms_plus
|
|
||||||
button.none_piece_option
|
|
||||||
button.menu_textcursorleft
|
|
||||||
button.dev_console_2
|
|
||||||
button.inventory_left
|
|
||||||
button.jump
|
|
||||||
button.sprint_toggle
|
|
||||||
button.menu_alternate_tab_right
|
|
||||||
button.switch_to_controller
|
|
||||||
button.content_log_history_chord
|
|
||||||
button.change_flight_height
|
|
||||||
button.comp_create_take_all_place_all
|
|
||||||
button.matreduce_take_all_place_all
|
|
||||||
button.scrollbar_touch
|
|
||||||
button.crafting_output_secondary
|
|
||||||
button.startBrowsing
|
|
||||||
button.click_autocomplete
|
|
||||||
button.generate_random
|
|
||||||
button.realms_invite_plus
|
|
||||||
button.realms_copy_invite_link
|
|
||||||
button.realm_invitation_decline
|
|
||||||
button.renew
|
|
||||||
button.edit_world
|
|
||||||
button.student_button
|
|
||||||
button.switch_to_new_ui_servers
|
|
||||||
button.cancel_join_server
|
|
||||||
button.navigate_screenshots_left
|
|
||||||
button.description_read_toggle
|
|
||||||
button.editor_settings
|
|
||||||
button.rating_no_button
|
|
||||||
button.sign_in
|
|
||||||
button.done_add_resource_button
|
|
||||||
button.sort
|
|
||||||
button.expand_skin_pack
|
|
||||||
button.default_skin_selected
|
|
||||||
button.navigate_to_store_search_mashup
|
|
||||||
button.cycle_offer_left
|
|
||||||
button.select_promotion_item
|
|
||||||
button.pressedArrowRight
|
|
||||||
button.left
|
|
||||||
button.block_select_toggle
|
|
||||||
button.command_macro_chord_4
|
|
||||||
button.chat_autocomplete_back
|
|
||||||
button.output_take_one_place_one
|
|
||||||
button.import
|
|
||||||
button.arrow_key
|
|
||||||
button.reset_keyboard_bindings
|
|
||||||
button.customize_tooltip_option_is_hovered
|
|
||||||
button.show_skip
|
|
||||||
button.sign_book
|
|
||||||
button.pause
|
|
||||||
button.force_screens_type_pocket
|
|
||||||
button.reload_ui_definitions
|
|
||||||
button.load_game
|
|
||||||
button.menu_network_server_world_edit
|
|
||||||
button.portfolio_convert_left
|
|
||||||
button.edu_cloud_hyperlink
|
|
||||||
button.hotbar_inventory_button
|
|
||||||
button.stop_hosting
|
|
||||||
button.dropdown_nav_toggle_on_hover
|
|
||||||
button.defaultNoAction
|
|
||||||
button.pan_right
|
|
||||||
button.structure_save
|
|
||||||
button.structure_load
|
|
||||||
button.menu_textcursorright
|
|
||||||
button.look_up
|
|
||||||
button.hide_gui
|
|
||||||
button.command_macro_9
|
|
||||||
button.command_macro_chord_1
|
|
||||||
button.home
|
|
||||||
button.try_menu_exit
|
|
||||||
button.select_offer
|
|
||||||
button.purchaseErrorBack
|
|
||||||
button.auth_cancel
|
|
||||||
button.delete_page
|
|
||||||
button.scroll_right
|
|
||||||
button.trade
|
|
||||||
button.choose_custom_skin
|
|
||||||
button.delete_local_screenshots
|
|
||||||
button.coin_wallet
|
|
||||||
button.additional_realms_left_button
|
|
||||||
button.sort_down
|
|
||||||
button.menu_how_to_play
|
|
||||||
button.debug_drawer_button
|
|
||||||
button.portfolio_delete_photo_right
|
|
||||||
button.cancel_add_resource_button
|
|
||||||
button.addons_faq
|
|
||||||
button.action
|
|
||||||
button.info
|
|
||||||
button.eduCloud_error_ok
|
|
||||||
button.feedback_link
|
|
||||||
button.custom_skin_info_popup
|
|
||||||
button.open_expanded_appearance_view
|
|
||||||
button.equip_piece
|
|
||||||
button.click_on
|
|
||||||
button.structure_reset
|
|
||||||
button.sneak_toggle
|
|
||||||
button.controller_select
|
|
||||||
button.look_center
|
|
||||||
button.memory_warning_cancel
|
|
||||||
button.container_take_all_place_all
|
|
||||||
button.close_dialog
|
|
||||||
button.remove_button
|
|
||||||
button.emote_hovered
|
|
||||||
button.cycle_recipe_right
|
|
||||||
button.update
|
|
||||||
button.report_errors
|
|
||||||
button.navigate_screenshots_right
|
|
||||||
button.portfolio_delete_photo_left
|
|
||||||
button.download_failed_cancel
|
|
||||||
button.popup_escape
|
|
||||||
button.tag_escape
|
|
||||||
button.file_upload_play
|
|
||||||
button.unlink_msa
|
|
||||||
button.navigate_to_store_search_world
|
|
||||||
button.close_edit_appearance_preset
|
|
||||||
button.expand_toggle
|
|
||||||
button.subgenre
|
|
||||||
button.controller_secondary_select_right
|
|
||||||
button.ascend
|
|
||||||
button.look_down_slight
|
|
||||||
button.look_down_left
|
|
||||||
button.screenshot
|
|
||||||
button.text_edit_box_clear
|
|
||||||
button.labtable_coalesce_stack
|
|
||||||
button.service
|
|
||||||
button.mail_share
|
|
||||||
button.copy_share_link
|
|
||||||
button.layout_increment
|
|
||||||
button.cancel_purchase
|
|
||||||
button.chat_previous_message
|
|
||||||
button.trade_select
|
|
||||||
button.enchantment_details
|
|
||||||
button.menu_skins
|
|
||||||
button.textures
|
|
||||||
button.move_left
|
|
||||||
button.pack_settings
|
|
||||||
button.navigate_create_new_world
|
|
||||||
button.close_popup
|
|
||||||
button.menu_local_world_create
|
|
||||||
button.news_read_toggle
|
|
||||||
button.no_local_worlds_launch_help
|
|
||||||
button.no_photo_alert_ok
|
|
||||||
button.join_server
|
|
||||||
button.new_world_upload
|
|
||||||
button.reset_new_player_flow
|
|
||||||
button.select_control_mode
|
|
||||||
button.filter
|
|
||||||
button.copy_current_coordinates
|
|
||||||
button.slot5
|
|
||||||
button.command_macro_chord_8
|
|
||||||
button.combine
|
|
||||||
button.cursor_drop_one
|
|
||||||
button.reset_gamepad_bindings
|
|
||||||
button.teleport_clear
|
|
||||||
button.close_chat_settings
|
|
||||||
button.open_dev_console
|
|
||||||
button.menu_servers
|
|
||||||
button.warningDependency
|
|
||||||
button.retry
|
|
||||||
button.realms_plus_buy_button
|
|
||||||
button.delete_save
|
|
||||||
button.edit_realm
|
|
||||||
button.activate_world
|
|
||||||
button.menu_open_uri
|
|
||||||
button.join_and_download_required
|
|
||||||
button.leave
|
|
||||||
button.hide_paperdoll_hud
|
|
||||||
button.wake_up_button
|
|
||||||
button.add_friend
|
|
||||||
button.library_back_button
|
|
||||||
button.switch_accounts
|
|
||||||
button.controller_hover_open_verbose_view
|
|
||||||
button.turn_down
|
|
||||||
button.controller_secondary_select_left
|
|
||||||
button.block_select_with_data
|
|
||||||
button.slot1
|
|
||||||
button.console
|
|
||||||
button.menu_check_store
|
|
||||||
button.classrooms_share
|
|
||||||
button.window_left
|
|
||||||
button.drop_one
|
|
||||||
button.pick_debug_object
|
|
||||||
button.simulate_touch
|
|
||||||
button.send_feedback
|
|
||||||
button.playSolo
|
|
||||||
button.realms_player_count_2
|
|
||||||
button.proceed
|
|
||||||
button.hide_tooltips_hud
|
|
||||||
button.close_to_code_entry
|
|
||||||
button.ok
|
|
||||||
button.cloud_learn_more_link
|
|
||||||
button.copy_build_info
|
|
||||||
button.open_color_picker
|
|
||||||
button.navigate_carousel_left
|
|
||||||
button.close_differences_dialog
|
|
||||||
button.stonecutter_result_take_half_place_one
|
|
||||||
button.dropdown_exit
|
|
||||||
button.content_log_history
|
|
||||||
button.anvil_take_all_place_all
|
|
||||||
button.library_home
|
|
||||||
button.memory_warning_ok
|
|
||||||
button.container_slot_hovered
|
|
||||||
button.visit_help
|
|
||||||
button.tapped_bundle_tooltip
|
|
||||||
button.scroll_up
|
|
||||||
button.send
|
|
||||||
button.unowned_pack
|
|
||||||
button.addonLink
|
|
||||||
button.navigate_edit_realms_world
|
|
||||||
button.cycle_pack_left
|
|
||||||
button.menu_network_join_by_code_close
|
|
||||||
button.add_member
|
|
||||||
button.edu_cloud_conflict_resolution_both_button
|
|
||||||
button.library_search
|
|
||||||
button.delete_manifest
|
|
||||||
button.must_exit_world_error_dialog
|
|
||||||
button.cycle_offer_right
|
|
||||||
button.confirm_delete
|
|
||||||
button.stone_select
|
|
||||||
button.comp_create_coalesce_stack
|
|
||||||
button.layout_decrement
|
|
||||||
button.clear_hotbar_or_remove_one
|
|
||||||
button.buy_now
|
|
||||||
button.confirm_bundle_purchase
|
|
||||||
button.keyboard_toggle
|
|
||||||
button.two_player
|
|
||||||
button.feedback_button_pressed
|
|
||||||
button.signin
|
|
||||||
button.realms_invite_find_friends
|
|
||||||
button.ten_users
|
|
||||||
button.exit_student_edit
|
|
||||||
button.delete_action
|
|
||||||
button.close_permissions_popup
|
|
||||||
button.ban
|
|
||||||
button.menu_import_level
|
|
||||||
button.menu_realm_nintendo_first_realm_purchase_button
|
|
||||||
button.menu_sign_in_to_view_realms
|
|
||||||
button.rating_yes_button
|
|
||||||
button.send_invites
|
|
||||||
button.entered_entries
|
|
||||||
button.entry_grid_button
|
|
||||||
button.connecting_cancel
|
|
||||||
button.join_world
|
|
||||||
button.start_hosting
|
|
||||||
button.resource_button
|
|
||||||
button.select_skin
|
|
||||||
button.onedrive_link
|
|
||||||
button.cycle_skins_right
|
|
||||||
button.search_header_clear
|
|
||||||
button.go_to_top
|
|
||||||
button.cycle_screenshots_left
|
|
||||||
button.swap_color_channel_right
|
|
||||||
button.help
|
|
||||||
button.emote_slot_0
|
|
||||||
button.hide_paperdoll
|
|
||||||
button.command_macro_4
|
|
||||||
button.world_picker_skip
|
|
||||||
button.add_server
|
|
||||||
button.cursor_drop_all
|
|
||||||
button.view_all_packs
|
|
||||||
button.tos_popup
|
|
||||||
button.buy
|
|
||||||
button.first_lower_popup_button
|
|
||||||
button.chat
|
|
||||||
button.turn_up
|
|
||||||
button.view_recent_skin
|
|
||||||
button.restore_store
|
|
||||||
button.realms_duration_long
|
|
||||||
button.exit_or_toggle
|
|
||||||
button.to_profile_or_skins_screen
|
|
||||||
button.view_third_party_server_offers
|
|
||||||
button.menu_network_world_item
|
|
||||||
button.option_reset
|
|
||||||
button.entry_ip
|
|
||||||
button.menu_retry
|
|
||||||
button.resources
|
|
||||||
button.library_item
|
|
||||||
button.refresh_manifest
|
|
||||||
button.reset_settings
|
|
||||||
button.save
|
|
||||||
button.purchase_error_dialog
|
|
||||||
button.nav_button
|
|
||||||
button.cycle_screenshots_right
|
|
||||||
button.create_selected_persona
|
|
||||||
button.click_off
|
|
||||||
button.dev_console
|
|
||||||
button.menu_secondary_select
|
|
||||||
button.look_left_smooth
|
|
||||||
button.arrow_right
|
|
||||||
button.command_macro_0
|
|
||||||
button.command_macro_chord_0
|
|
||||||
button.command_macro_chord_5
|
|
||||||
button.text_edit_box_selected
|
|
||||||
button.enchant
|
|
||||||
button.unlink
|
|
||||||
button.library_category
|
|
||||||
button.reset
|
|
||||||
button.goBack
|
|
||||||
button.learn_more_popup_link
|
|
||||||
button.scroll_left
|
|
||||||
button.chat_next_message
|
|
||||||
button.menu_tab_left
|
|
||||||
button.code_builder
|
|
||||||
button.menu_world_template_clicked
|
|
||||||
button.addon_copy_realms_warning
|
|
||||||
button.exit_maximized
|
|
||||||
button.add_url
|
|
||||||
button.menu_permission
|
|
||||||
button.join_and_download_everything
|
|
||||||
button.previous_friends_page
|
|
||||||
button.image_prev
|
|
||||||
button.controller_hover_close_verbose_view
|
|
||||||
button.show_profile_settings
|
|
||||||
button.in_csb_button
|
|
||||||
button.interact_button
|
|
||||||
button.select_blade_offer
|
|
||||||
button.cast_back
|
|
||||||
button.menu_textedit_down
|
|
||||||
button.up_ignore
|
|
||||||
button.ascendScaffolding
|
|
||||||
button.fly_down_slow
|
|
||||||
button.hotbar_drop_all
|
|
||||||
button.text_to_speech
|
|
||||||
button.command_macro_1
|
|
||||||
button.command_macro_chord_6
|
|
||||||
button.education_resources
|
|
||||||
button.filter_toggle_hovered
|
|
||||||
button.privpol_hyperlink
|
|
||||||
button.menu_continue
|
|
||||||
button.deleteResources
|
|
||||||
button.bottom_modal
|
|
||||||
button.all
|
|
||||||
button.skins
|
|
||||||
button.csb_cancel
|
|
||||||
button.two_users
|
|
||||||
button.save_to_storage
|
|
||||||
button.entry_clear
|
|
||||||
button.manage_feed_next_button
|
|
||||||
button.undo
|
|
||||||
button.preview_app2
|
|
||||||
button.cycle_next_debug_overlay_page
|
|
||||||
button.dev_allocate_texture_handles
|
|
||||||
button.equip_skin
|
|
||||||
button.navigate_to_store_search_addon
|
|
||||||
button.item_action
|
|
||||||
button.submit_rating
|
|
||||||
button.change_height
|
|
||||||
button.swap_to_right_limb
|
|
||||||
button.cast_right_select
|
|
||||||
button.inventory_right
|
|
||||||
button.controller_textedit_up
|
|
||||||
button.controller_back
|
|
||||||
button.menu_tab_right
|
|
||||||
button.open_crafting
|
|
||||||
button.look_up_right
|
|
||||||
button.arrow_up
|
|
||||||
button.toggle_control_hud
|
|
||||||
button.command_macro_chord_2
|
|
||||||
button.respawn_button
|
|
||||||
button.destroy_selection
|
|
||||||
button.acceptEula
|
|
||||||
button.open_demo_screen
|
|
||||||
button.online_button
|
|
||||||
button.open_main_menu
|
|
||||||
button.menu_profile
|
|
||||||
button.realms_plus_right_button
|
|
||||||
button.backup_download
|
|
||||||
button.menu_network_server_item
|
|
||||||
button.error_try_again
|
|
||||||
button.edu_cloud_conflict_resolution_local_button
|
|
||||||
button.download_cancel
|
|
||||||
button.coin_purchase
|
|
||||||
button.collect_achievement
|
|
||||||
button.tab_name
|
|
||||||
button.language
|
|
||||||
button.smithing_table_take_half_place_one
|
|
||||||
button.left_panel_tab_decrement
|
|
||||||
button.left_panel_tab_increment
|
|
||||||
button.build_or_attack
|
|
||||||
button.anvil_take_half_place_one
|
|
||||||
button.menu_leave_screen
|
|
||||||
button.loom_result_take_all_place_all
|
|
||||||
button.clear_hotbar_or_drop
|
|
||||||
button.ten_player
|
|
||||||
button.interact
|
|
||||||
button.tabbed_buy_now_button
|
|
||||||
button.trade_details_1
|
|
||||||
button.cloud_help_button
|
|
||||||
button.menu_edu_play
|
|
||||||
button.menu_inbox
|
|
||||||
button.to_profile_screen
|
|
||||||
button.create_realm
|
|
||||||
button.realms_invite_share
|
|
||||||
button.portfolio_page_prev
|
|
||||||
button.confirm_close_without_saving
|
|
||||||
button.confirm_reset
|
|
||||||
button.close_sign_out_fail_popup
|
|
||||||
button.manage_invites_popup
|
|
||||||
button.cycle_previous_debug_overlay_page
|
|
||||||
button.select_screen_nav_button_option
|
|
||||||
button.cycle_skins_left
|
|
||||||
button.realms_pack_more_info
|
|
||||||
button.apply_persona_piece
|
|
||||||
button.cycle_promotions_left
|
|
||||||
button.platform_restricted
|
|
||||||
button.cast_left_select
|
|
||||||
button.structure_export
|
|
||||||
button.menu_autocomplete_back
|
|
||||||
button.look_right
|
|
||||||
button.learn_more
|
|
||||||
button.info_accept
|
|
||||||
button.swap_page_right
|
|
||||||
button.trade_coalesce_stack
|
|
||||||
button.more_custom_templates
|
|
||||||
button.view_default_skin
|
|
||||||
button.back_to_selector_area
|
|
||||||
button.premium_skin_unhovered
|
|
||||||
button.expand_view
|
|
||||||
button.menu_get_started
|
|
||||||
button.remove_pack_button
|
|
||||||
button.start_transfer
|
|
||||||
button.my_account
|
|
||||||
button.realms_invite_minus
|
|
||||||
button.invite_links
|
|
||||||
button.delete_selected_saves
|
|
||||||
button.realms_pack
|
|
||||||
button.cycle_pack_right
|
|
||||||
button.view_skin
|
|
||||||
button.menu_quick_play
|
|
||||||
button.open_account_setting_gamecore
|
|
||||||
button.hotbar_inventory_right
|
|
||||||
button.manage_feed_delete
|
|
||||||
button.add_resource_learn_more
|
|
||||||
button.search_clear
|
|
||||||
button.item_pdp
|
|
||||||
button.smithing_table_take_all_place_all
|
|
||||||
button.emote
|
|
||||||
button.controller_autocomplete_back
|
|
||||||
button.interactwithtoast
|
|
||||||
button.inventory
|
|
||||||
button.destroy_or_attack
|
|
||||||
button.look_up_slight
|
|
||||||
button.upleft
|
|
||||||
button.matreduce_coalesce_stack
|
|
||||||
button.right_panel_tab_decrement
|
|
||||||
button.shift_pane_focus
|
|
||||||
button.crafting_container_auto_place
|
|
||||||
button.prev_page
|
|
||||||
button.book_exit
|
|
||||||
button.chat_paste_coordinates
|
|
||||||
button.new_ui_debug
|
|
||||||
button.emote_hovered_via_analog
|
|
||||||
button.menu_buy_game
|
|
||||||
button.accept_skin
|
|
||||||
button.menu_invite_notification
|
|
||||||
button.clear_cache
|
|
||||||
button.csb_info
|
|
||||||
button.menu_realms_plus_template_clicked
|
|
||||||
button.realms_invite_unblock
|
|
||||||
button.play_on_realm_close
|
|
||||||
button.restore_save
|
|
||||||
button.switch_to_new_ui
|
|
||||||
button.download_failed_open
|
|
||||||
button.select_all
|
|
||||||
button.sign_out
|
|
||||||
button.copy_account_info
|
|
||||||
button.seeMoreBy
|
|
||||||
button.navigate_next_page
|
|
||||||
button.delete_appearance_preset
|
|
||||||
button.close_sort_menu
|
|
||||||
button.drop
|
|
||||||
button.menu_inventory_drop_all
|
|
||||||
button.copy_coordinates
|
|
||||||
button.command_macro_chord_3
|
|
||||||
button.chat_autocomplete
|
|
||||||
button.drop_all
|
|
||||||
button.recipe_search
|
|
||||||
button.recipe_secondary
|
|
||||||
button.tos_hyperlink
|
|
||||||
button.next_page
|
|
||||||
button.cancelServicePack
|
|
||||||
button.menu_right
|
|
||||||
button.menu_clear
|
|
||||||
button.emote_selected
|
|
||||||
button.skin_unhovered
|
|
||||||
button.exit
|
|
||||||
button.clear_members
|
|
||||||
button.select_save_options
|
|
||||||
button.invalid_pack
|
|
||||||
button.server_found_close
|
|
||||||
button.tag
|
|
||||||
button.external_link
|
|
||||||
button.leak_memory
|
|
||||||
button.skin_selected
|
|
||||||
button.play_emote_again
|
|
||||||
button.navigate_carousel_right
|
|
||||||
button.slot7
|
|
||||||
button.slot8
|
|
||||||
button.slot0
|
|
||||||
button.command_macro_8
|
|
||||||
button.command_macro_chord_9
|
|
||||||
button.cartography_result_take_all_place_all
|
|
||||||
button.grindstone_take_half_place_one
|
|
||||||
button.container_reset_held
|
|
||||||
button.binding_button
|
|
||||||
button.modify_control_layout
|
|
||||||
button.recipe_tertiary
|
|
||||||
button.crafting_output_tertiary
|
|
||||||
button.right_learn_more
|
|
||||||
button.second_lower_popup_button
|
|
||||||
button.reopen_keyboard
|
|
||||||
button.reset_chat_settings
|
|
||||||
button.mobeffects
|
|
||||||
button.emote_selected_updated
|
|
||||||
button.faq_screen
|
|
||||||
button.premium_skin_hovered
|
|
||||||
button.edu_feedback
|
|
||||||
button.featured_world
|
|
||||||
button.more_info
|
|
||||||
button.credits
|
|
||||||
button.skin_hovered
|
|
||||||
button.menu_network_add_friend
|
|
||||||
button.menu_realms_world_item_remove
|
|
||||||
button.create_on_realms_button
|
|
||||||
button.hotbar_select
|
|
||||||
button.entry_close
|
|
||||||
button.image_next
|
|
||||||
button.change_arm_size
|
|
||||||
button.differences_information_button
|
|
||||||
button.cast_single_character_button
|
|
||||||
button.change_piece_color
|
|
||||||
button.exit_filter_menu
|
|
||||||
button.stonecutter_result_take_all_place_all
|
|
||||||
button.menu_textedit_up
|
|
||||||
button.menu_left
|
|
||||||
button.descendScaffolding
|
|
||||||
button.controller_textedit_down
|
|
||||||
button.slot4
|
|
||||||
button.down_ignore
|
|
||||||
button.command_macro_5
|
|
||||||
button.convert_legacy_world
|
|
||||||
button.passcode_popup_escape
|
|
||||||
button.return
|
|
||||||
button.container_auto_place
|
|
||||||
button.reset_touch_bindings
|
|
||||||
button.view_character_creator_items
|
|
||||||
button.goToDownload
|
|
||||||
button.cancel_purchase_show_demo_choice
|
|
||||||
button.menu_choose_slot
|
|
||||||
button.main_menu
|
|
||||||
button.csb_buy
|
|
||||||
button.addon_select_world
|
|
||||||
button.addon_copy_world_warning
|
|
||||||
button.menu_invite_players
|
|
||||||
button.menu_realms_feed
|
|
||||||
button.more_coding
|
|
||||||
button.equip_size
|
|
||||||
button.navigate_to_store_search_skin
|
|
||||||
button.navigate_to_store_search_vibrantvisuals
|
|
||||||
button.cycle_promotions_right
|
|
||||||
button.select_bundle_summary_offer
|
|
||||||
button.smithing_table_coalesce_stack
|
|
||||||
button.immersive_reader
|
|
||||||
button.menu_auto_place
|
|
||||||
button.look_down_right
|
|
||||||
button.output_take_all_place_all
|
|
||||||
button.create_new
|
|
||||||
button.servers
|
|
||||||
button.right_panel_tab_increment
|
|
||||||
button.menu_custom_world_template_clicked
|
|
||||||
button.swap_page_left
|
|
||||||
button.menu_up
|
|
||||||
button.trade_take_half_place_one
|
|
||||||
button.undo_skin
|
|
||||||
button.worlds
|
|
||||||
button.realms_plus_left_button
|
|
||||||
button.realms_remove_invite_link
|
|
||||||
button.expand_unowned
|
|
||||||
button.expand_action_edit
|
|
||||||
button.joincode_share
|
|
||||||
button.manage_feed_ignore
|
|
||||||
button.reset_day_one_experience
|
|
||||||
button.gamma_calibration
|
|
||||||
button.show_more_skin_packs
|
|
||||||
button.is_appearance_status_hovered
|
|
||||||
button.swap_to_left_limb
|
|
||||||
button.pressedArrowLeft
|
|
||||||
button.mobeffectsandinteractwithtoast
|
|
||||||
button.menu_inventory_drop
|
|
||||||
button.slot6
|
|
||||||
button.upright
|
|
||||||
button.downleft
|
|
||||||
button.menu_ok
|
|
||||||
button.menu_toggle
|
|
||||||
button.search_bar_hovered
|
|
||||||
button.crafting_output_primary
|
|
||||||
button.clear_hotbar
|
|
||||||
button.left_learn_more
|
|
||||||
button.picked
|
|
||||||
button.menu_choose_realm
|
|
||||||
button.set_spawn
|
|
||||||
button.dismount
|
|
||||||
button.toast_interaction
|
|
||||||
button.trade_toggle_hovered
|
|
||||||
button.view_premium_skin
|
|
||||||
button.launch_editions
|
|
||||||
button.deselect_resource
|
|
||||||
button.next
|
|
||||||
button.addons
|
|
||||||
button.mashups
|
|
||||||
button.more_suggested_content_offers
|
|
||||||
button.playWithFriends
|
|
||||||
button.realms_duration_short
|
|
||||||
button.realm_invitation_accept
|
|
||||||
button.cancel_join_realm
|
|
||||||
button.exit_basic
|
|
||||||
button.advanced_settings
|
|
||||||
button.add_command
|
|
||||||
button.get_offline_authcode
|
|
||||||
button.close_button
|
|
||||||
button.join
|
|
||||||
button.opacity
|
|
||||||
button.generate_joincode
|
|
||||||
button.restart_hosting
|
|
||||||
button.local_world_upload
|
|
||||||
button.get_certificate
|
|
||||||
button.licensed_content_popup
|
|
||||||
button.homeButton
|
|
||||||
button.search
|
|
||||||
button.scroll_map
|
|
||||||
button.purchase_coins
|
|
||||||
button.equip_color
|
|
||||||
button.clear_all_filters
|
|
||||||
button.down
|
|
||||||
button.menu_cancel
|
|
||||||
button.pointer_pressed
|
|
||||||
button.menu_select
|
|
||||||
button.pause
|
|
||||||
button.alt
|
|
||||||
button.chat
|
|
||||||
button.code_builder
|
|
||||||
button.menu_tab_left
|
|
||||||
button.up
|
|
||||||
button.menu_right
|
|
||||||
button.mobeffects
|
|
||||||
button.menu_up
|
|
||||||
button.menu_ok
|
|
||||||
button.dismount
|
|
||||||
663
flake.lock
generated
Normal file
663
flake.lock
generated
Normal file
|
|
@ -0,0 +1,663 @@
|
||||||
|
{
|
||||||
|
"nodes": {
|
||||||
|
"flake-compat": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1733328505,
|
||||||
|
"narHash": "sha256-NeCCThCEP3eCl2l/+27kNNK7QrwZB1IJCrXfrbv5oqU=",
|
||||||
|
"rev": "ff81ac966bb2cae68946d5ed5fc4994f96d0ffec",
|
||||||
|
"revCount": 69,
|
||||||
|
"type": "tarball",
|
||||||
|
"url": "https://api.flakehub.com/f/pinned/edolstra/flake-compat/1.1.0/01948eb7-9cba-704f-bbf3-3fa956735b52/source.tar.gz"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"type": "tarball",
|
||||||
|
"url": "https://flakehub.com/f/edolstra/flake-compat/1.tar.gz"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"flake-parts": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs-lib": "nixpkgs-lib"
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1775087534,
|
||||||
|
"narHash": "sha256-91qqW8lhL7TLwgQWijoGBbiD4t7/q75KTi8NxjVmSmA=",
|
||||||
|
"owner": "hercules-ci",
|
||||||
|
"repo": "flake-parts",
|
||||||
|
"rev": "3107b77cd68437b9a76194f0f7f9c55f2329ca5b",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "hercules-ci",
|
||||||
|
"repo": "flake-parts",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"flake-parts_2": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs-lib": [
|
||||||
|
"nixvim",
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1768135262,
|
||||||
|
"narHash": "sha256-PVvu7OqHBGWN16zSi6tEmPwwHQ4rLPU9Plvs8/1TUBY=",
|
||||||
|
"owner": "hercules-ci",
|
||||||
|
"repo": "flake-parts",
|
||||||
|
"rev": "80daad04eddbbf5a4d883996a73f3f542fa437ac",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "hercules-ci",
|
||||||
|
"repo": "flake-parts",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"flake-utils": {
|
||||||
|
"inputs": {
|
||||||
|
"systems": "systems"
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1731533236,
|
||||||
|
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
|
||||||
|
"owner": "numtide",
|
||||||
|
"repo": "flake-utils",
|
||||||
|
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "numtide",
|
||||||
|
"repo": "flake-utils",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"flake-utils_2": {
|
||||||
|
"inputs": {
|
||||||
|
"systems": "systems_2"
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1731533236,
|
||||||
|
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
|
||||||
|
"owner": "numtide",
|
||||||
|
"repo": "flake-utils",
|
||||||
|
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "numtide",
|
||||||
|
"repo": "flake-utils",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"flake-utils_3": {
|
||||||
|
"inputs": {
|
||||||
|
"systems": "systems_4"
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1731533236,
|
||||||
|
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
|
||||||
|
"owner": "numtide",
|
||||||
|
"repo": "flake-utils",
|
||||||
|
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "numtide",
|
||||||
|
"repo": "flake-utils",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"home-manager": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1775425411,
|
||||||
|
"narHash": "sha256-KY6HsebJHEe5nHOWP7ur09mb0drGxYSzE3rQxy62rJo=",
|
||||||
|
"owner": "nix-community",
|
||||||
|
"repo": "home-manager",
|
||||||
|
"rev": "0d02ec1d0a05f88ef9e74b516842900c41f0f2fe",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "nix-community",
|
||||||
|
"ref": "release-25.11",
|
||||||
|
"repo": "home-manager",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"honkai-railway-grub-theme": {
|
||||||
|
"inputs": {
|
||||||
|
"flake-utils": "flake-utils",
|
||||||
|
"nixpkgs": "nixpkgs"
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1775016235,
|
||||||
|
"narHash": "sha256-/C6J0Zf6APHUrPXVkXTsOYcQWGzusoO3SVG8bXlLink=",
|
||||||
|
"owner": "voidlhf",
|
||||||
|
"repo": "StarRailGrubThemes",
|
||||||
|
"rev": "4a84e576bb544afbdfc76dbe40ffc50a5c2b16de",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "voidlhf",
|
||||||
|
"repo": "StarRailGrubThemes",
|
||||||
|
"rev": "4a84e576bb544afbdfc76dbe40ffc50a5c2b16de",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"hytale-launcher": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": "nixpkgs_2"
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1775840082,
|
||||||
|
"narHash": "sha256-7vLn6AaVuB8GAwwxNGWziYw90ZxZaRofawdvn05qprE=",
|
||||||
|
"owner": "zarilion",
|
||||||
|
"repo": "hytale-launcher-nix",
|
||||||
|
"rev": "30aef1c62122e0ec1b6b80c2b92cab84c333da84",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "zarilion",
|
||||||
|
"repo": "hytale-launcher-nix",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"ixx": {
|
||||||
|
"inputs": {
|
||||||
|
"flake-utils": [
|
||||||
|
"nixvim",
|
||||||
|
"nuschtosSearch",
|
||||||
|
"flake-utils"
|
||||||
|
],
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixvim",
|
||||||
|
"nuschtosSearch",
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1754860581,
|
||||||
|
"narHash": "sha256-EM0IE63OHxXCOpDHXaTyHIOk2cNvMCGPqLt/IdtVxgk=",
|
||||||
|
"owner": "NuschtOS",
|
||||||
|
"repo": "ixx",
|
||||||
|
"rev": "babfe85a876162c4acc9ab6fb4483df88fa1f281",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "NuschtOS",
|
||||||
|
"ref": "v0.1.1",
|
||||||
|
"repo": "ixx",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"niri": {
|
||||||
|
"inputs": {
|
||||||
|
"niri-stable": "niri-stable",
|
||||||
|
"niri-unstable": "niri-unstable",
|
||||||
|
"nixpkgs": "nixpkgs_3",
|
||||||
|
"nixpkgs-stable": "nixpkgs-stable",
|
||||||
|
"xwayland-satellite-stable": "xwayland-satellite-stable",
|
||||||
|
"xwayland-satellite-unstable": "xwayland-satellite-unstable"
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1776435348,
|
||||||
|
"narHash": "sha256-qsZnMThxTqxCJZ7DEKu3DD3KjIPcuUBvZ0C9a2uIvaQ=",
|
||||||
|
"owner": "sodiboo",
|
||||||
|
"repo": "niri-flake",
|
||||||
|
"rev": "55b5b1fc9481ab267603a1099e5d4b4ebc7394d7",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "sodiboo",
|
||||||
|
"repo": "niri-flake",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"niri-stable": {
|
||||||
|
"flake": false,
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1756556321,
|
||||||
|
"narHash": "sha256-RLD89dfjN0RVO86C/Mot0T7aduCygPGaYbog566F0Qo=",
|
||||||
|
"owner": "YaLTeR",
|
||||||
|
"repo": "niri",
|
||||||
|
"rev": "01be0e65f4eb91a9cd624ac0b76aaeab765c7294",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "YaLTeR",
|
||||||
|
"ref": "v25.08",
|
||||||
|
"repo": "niri",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"niri-unstable": {
|
||||||
|
"flake": false,
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1776432730,
|
||||||
|
"narHash": "sha256-Pq1ZVvRGq/IFiFH6vkNwMfZEpWk23NjgGdX50COdj/c=",
|
||||||
|
"owner": "YaLTeR",
|
||||||
|
"repo": "niri",
|
||||||
|
"rev": "c814c656c53ea9d69f5afb45c88f4dc4d25338cd",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "YaLTeR",
|
||||||
|
"repo": "niri",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"nix-index-database": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1775970782,
|
||||||
|
"narHash": "sha256-7jt9Vpm48Yy5yAWigYpde+HxtYEpEuyzIQJF4VYehhk=",
|
||||||
|
"owner": "nix-community",
|
||||||
|
"repo": "nix-index-database",
|
||||||
|
"rev": "bedba5989b04614fc598af9633033b95a937933f",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "nix-community",
|
||||||
|
"repo": "nix-index-database",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"nixcord": {
|
||||||
|
"inputs": {
|
||||||
|
"flake-compat": "flake-compat",
|
||||||
|
"flake-parts": "flake-parts",
|
||||||
|
"nixpkgs": "nixpkgs_4",
|
||||||
|
"nixpkgs-nixcord": "nixpkgs-nixcord"
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1776443739,
|
||||||
|
"narHash": "sha256-NEwgjeZ1P03f5WjmOBENLzc7Ij9vb6XkjFXTAleYttU=",
|
||||||
|
"owner": "FlameFlag",
|
||||||
|
"repo": "nixcord",
|
||||||
|
"rev": "4bf534216e8196a6329b6fd49f449dff75c5267e",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "FlameFlag",
|
||||||
|
"repo": "nixcord",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"nixos-hardware": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1775490113,
|
||||||
|
"narHash": "sha256-2ZBhDNZZwYkRmefK5XLOusCJHnoeKkoN95hoSGgMxWM=",
|
||||||
|
"owner": "NixOS",
|
||||||
|
"repo": "nixos-hardware",
|
||||||
|
"rev": "c775c2772ba56e906cbeb4e0b2db19079ef11ff7",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "NixOS",
|
||||||
|
"ref": "master",
|
||||||
|
"repo": "nixos-hardware",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"nixpkgs": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1774709303,
|
||||||
|
"narHash": "sha256-D3Q07BbIA2KnTcSXIqqu9P586uWxN74zNoCH3h2ESHg=",
|
||||||
|
"owner": "nixos",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"rev": "8110df5ad7abf5d4c0f6fb0f8f978390e77f9685",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "nixos",
|
||||||
|
"ref": "nixos-unstable",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"nixpkgs-lib": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1774748309,
|
||||||
|
"narHash": "sha256-+U7gF3qxzwD5TZuANzZPeJTZRHS29OFQgkQ2kiTJBIQ=",
|
||||||
|
"owner": "nix-community",
|
||||||
|
"repo": "nixpkgs.lib",
|
||||||
|
"rev": "333c4e0545a6da976206c74db8773a1645b5870a",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "nix-community",
|
||||||
|
"repo": "nixpkgs.lib",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"nixpkgs-nixcord": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1775595990,
|
||||||
|
"narHash": "sha256-OEf7YqhF9IjJFYZJyuhAypgU+VsRB5lD4DuiMws5Ltc=",
|
||||||
|
"owner": "NixOS",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"rev": "4e92bbcdb030f3b4782be4751dc08e6b6cb6ccf2",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "NixOS",
|
||||||
|
"ref": "nixos-25.11",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"nixpkgs-stable": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1776221942,
|
||||||
|
"narHash": "sha256-FbQAeVNi7G4v3QCSThrSAAvzQTmrmyDLiHNPvTF2qFM=",
|
||||||
|
"owner": "NixOS",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"rev": "1766437c5509f444c1b15331e82b8b6a9b967000",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "NixOS",
|
||||||
|
"ref": "nixos-25.11",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"nixpkgs_2": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1775423009,
|
||||||
|
"narHash": "sha256-vPKLpjhIVWdDrfiUM8atW6YkIggCEKdSAlJPzzhkQlw=",
|
||||||
|
"owner": "NixOS",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"rev": "68d8aa3d661f0e6bd5862291b5bb263b2a6595c9",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "NixOS",
|
||||||
|
"ref": "nixos-unstable",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"nixpkgs_3": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1776169885,
|
||||||
|
"narHash": "sha256-l/iNYDZ4bGOAFQY2q8y5OAfBBtrDAaPuRQqWaFHVRXM=",
|
||||||
|
"owner": "NixOS",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"rev": "4bd9165a9165d7b5e33ae57f3eecbcb28fb231c9",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "NixOS",
|
||||||
|
"ref": "nixos-unstable",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"nixpkgs_4": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1775595990,
|
||||||
|
"narHash": "sha256-OEf7YqhF9IjJFYZJyuhAypgU+VsRB5lD4DuiMws5Ltc=",
|
||||||
|
"owner": "NixOS",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"rev": "4e92bbcdb030f3b4782be4751dc08e6b6cb6ccf2",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "NixOS",
|
||||||
|
"ref": "nixos-25.11",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"nixpkgs_5": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1776221942,
|
||||||
|
"narHash": "sha256-FbQAeVNi7G4v3QCSThrSAAvzQTmrmyDLiHNPvTF2qFM=",
|
||||||
|
"owner": "NixOS",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"rev": "1766437c5509f444c1b15331e82b8b6a9b967000",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "NixOS",
|
||||||
|
"ref": "nixos-25.11",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"nixpkgs_6": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1762361079,
|
||||||
|
"narHash": "sha256-lz718rr1BDpZBYk7+G8cE6wee3PiBUpn8aomG/vLLiY=",
|
||||||
|
"owner": "nixos",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"rev": "ffcdcf99d65c61956d882df249a9be53e5902ea5",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "nixos",
|
||||||
|
"ref": "nixpkgs-unstable",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"nixvim": {
|
||||||
|
"inputs": {
|
||||||
|
"flake-parts": "flake-parts_2",
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixpkgs"
|
||||||
|
],
|
||||||
|
"nuschtosSearch": "nuschtosSearch",
|
||||||
|
"systems": "systems_3"
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1769049374,
|
||||||
|
"narHash": "sha256-h0Os2qqNyycDY1FyZgtbn28VF1ySP74/n0f+LDd8j+w=",
|
||||||
|
"owner": "nix-community",
|
||||||
|
"repo": "nixvim",
|
||||||
|
"rev": "b8f76bf5751835647538ef8784e4e6ee8deb8f95",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "nix-community",
|
||||||
|
"ref": "nixos-25.11",
|
||||||
|
"repo": "nixvim",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"nuschtosSearch": {
|
||||||
|
"inputs": {
|
||||||
|
"flake-utils": "flake-utils_2",
|
||||||
|
"ixx": "ixx",
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixvim",
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1768249818,
|
||||||
|
"narHash": "sha256-ANfn5OqIxq3HONPIXZ6zuI5sLzX1sS+2qcf/Pa0kQEc=",
|
||||||
|
"owner": "NuschtOS",
|
||||||
|
"repo": "search",
|
||||||
|
"rev": "b6f77b88e9009bfde28e2130e218e5123dc66796",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "NuschtOS",
|
||||||
|
"repo": "search",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"root": {
|
||||||
|
"inputs": {
|
||||||
|
"home-manager": "home-manager",
|
||||||
|
"honkai-railway-grub-theme": "honkai-railway-grub-theme",
|
||||||
|
"hytale-launcher": "hytale-launcher",
|
||||||
|
"niri": "niri",
|
||||||
|
"nix-index-database": "nix-index-database",
|
||||||
|
"nixcord": "nixcord",
|
||||||
|
"nixos-hardware": "nixos-hardware",
|
||||||
|
"nixpkgs": "nixpkgs_5",
|
||||||
|
"nixvim": "nixvim",
|
||||||
|
"unstablepkgs": "unstablepkgs",
|
||||||
|
"winegdk": "winegdk"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"systems": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1681028828,
|
||||||
|
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
||||||
|
"owner": "nix-systems",
|
||||||
|
"repo": "default",
|
||||||
|
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "nix-systems",
|
||||||
|
"repo": "default",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"systems_2": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1681028828,
|
||||||
|
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
||||||
|
"owner": "nix-systems",
|
||||||
|
"repo": "default",
|
||||||
|
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "nix-systems",
|
||||||
|
"repo": "default",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"systems_3": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1681028828,
|
||||||
|
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
||||||
|
"owner": "nix-systems",
|
||||||
|
"repo": "default",
|
||||||
|
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "nix-systems",
|
||||||
|
"repo": "default",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"systems_4": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1681028828,
|
||||||
|
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
||||||
|
"owner": "nix-systems",
|
||||||
|
"repo": "default",
|
||||||
|
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "nix-systems",
|
||||||
|
"repo": "default",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"unstablepkgs": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1776169885,
|
||||||
|
"narHash": "sha256-l/iNYDZ4bGOAFQY2q8y5OAfBBtrDAaPuRQqWaFHVRXM=",
|
||||||
|
"owner": "NixOS",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"rev": "4bd9165a9165d7b5e33ae57f3eecbcb28fb231c9",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "NixOS",
|
||||||
|
"ref": "nixos-unstable",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"winegdk": {
|
||||||
|
"inputs": {
|
||||||
|
"flake-utils": "flake-utils_3",
|
||||||
|
"nixpkgs": "nixpkgs_6",
|
||||||
|
"winegdk": "winegdk_2"
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1762497139,
|
||||||
|
"narHash": "sha256-9QE4BJNtz0UgB5mWf+EgGZW9hrVdJyta/KlQJwh8IsQ=",
|
||||||
|
"owner": "fmbearmf",
|
||||||
|
"repo": "winegdk-nix",
|
||||||
|
"rev": "91356fdc0d1c004b8f57b79ddb5e771845dfe2c1",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "fmbearmf",
|
||||||
|
"repo": "winegdk-nix",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"winegdk_2": {
|
||||||
|
"flake": false,
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1762457615,
|
||||||
|
"narHash": "sha256-Ja32uLvxCi1weDop+HCrSAagkMaNbSjoW1C720/D3cw=",
|
||||||
|
"owner": "Weather-OS",
|
||||||
|
"repo": "WineGDK",
|
||||||
|
"rev": "a82854dfa4b54ab935bc3ca69d4bd885c4a63186",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "Weather-OS",
|
||||||
|
"repo": "WineGDK",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"xwayland-satellite-stable": {
|
||||||
|
"flake": false,
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1755491097,
|
||||||
|
"narHash": "sha256-m+9tUfsmBeF2Gn4HWa6vSITZ4Gz1eA1F5Kh62B0N4oE=",
|
||||||
|
"owner": "Supreeeme",
|
||||||
|
"repo": "xwayland-satellite",
|
||||||
|
"rev": "388d291e82ffbc73be18169d39470f340707edaa",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "Supreeeme",
|
||||||
|
"ref": "v0.7",
|
||||||
|
"repo": "xwayland-satellite",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"xwayland-satellite-unstable": {
|
||||||
|
"flake": false,
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1773622265,
|
||||||
|
"narHash": "sha256-wToKwH7IgWdGLMSIWksEDs4eumR6UbbsuPQ42r0oTXQ=",
|
||||||
|
"owner": "Supreeeme",
|
||||||
|
"repo": "xwayland-satellite",
|
||||||
|
"rev": "a879e5e0896a326adc79c474bf457b8b99011027",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "Supreeeme",
|
||||||
|
"repo": "xwayland-satellite",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"root": "root",
|
||||||
|
"version": 7
|
||||||
|
}
|
||||||
79
flake.nix
Normal file
79
flake.nix
Normal file
|
|
@ -0,0 +1,79 @@
|
||||||
|
{
|
||||||
|
description = "The Asa's nix configurations";
|
||||||
|
|
||||||
|
inputs = {
|
||||||
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.11";
|
||||||
|
unstablepkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||||
|
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
|
||||||
|
|
||||||
|
hytale-launcher.url = "github:zarilion/hytale-launcher-nix";
|
||||||
|
niri.url = "github:sodiboo/niri-flake";
|
||||||
|
nixcord.url = "github:FlameFlag/nixcord";
|
||||||
|
winegdk.url = "github:fmbearmf/winegdk-nix";
|
||||||
|
catppuccin.url = "github:catppuccin/nix";
|
||||||
|
|
||||||
|
honkai-railway-grub-theme.url = "github:voidlhf/StarRailGrubThemes/4a84e576bb544afbdfc76dbe40ffc50a5c2b16de";
|
||||||
|
|
||||||
|
nix-index-database = {
|
||||||
|
url = "github:nix-community/nix-index-database";
|
||||||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
};
|
||||||
|
|
||||||
|
home-manager = {
|
||||||
|
url = "github:nix-community/home-manager/release-25.11";
|
||||||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
};
|
||||||
|
|
||||||
|
nixvim = {
|
||||||
|
url = "github:nix-community/nixvim/nixos-25.11";
|
||||||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
outputs = {
|
||||||
|
self,
|
||||||
|
nixpkgs,
|
||||||
|
unstablepkgs,
|
||||||
|
...
|
||||||
|
} @ inputs: let
|
||||||
|
libs = import ./libs/default.nix inputs;
|
||||||
|
custom = import ./packages/default.nix inputs;
|
||||||
|
unstable = import unstablepkgs {
|
||||||
|
system = "x86_64-linux";
|
||||||
|
config.allowUnfree = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
specialArgs = {
|
||||||
|
inherit
|
||||||
|
self
|
||||||
|
custom
|
||||||
|
libs
|
||||||
|
unstable
|
||||||
|
inputs
|
||||||
|
;
|
||||||
|
};
|
||||||
|
in {
|
||||||
|
nixosConfigurations = {
|
||||||
|
ideapad-slim-5 = nixpkgs.lib.nixosSystem {
|
||||||
|
system = "x86_64-linux";
|
||||||
|
specialArgs = specialArgs;
|
||||||
|
modules = [
|
||||||
|
inputs.nixos-hardware.nixosModules.lenovo-ideapad-slim-5
|
||||||
|
inputs.nix-index-database.nixosModules.default
|
||||||
|
inputs.home-manager.nixosModules.default
|
||||||
|
(libs.root "/devices/ideapad-slim-5/configuration.nix")
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
home-server = nixpkgs.lib.nixosSystem {
|
||||||
|
system = "x86_64-linux";
|
||||||
|
specialArgs = specialArgs;
|
||||||
|
modules = [
|
||||||
|
inputs.nix-index-database.nixosModules.default
|
||||||
|
inputs.home-manager.nixosModules.default
|
||||||
|
(libs.root "/devices/home-server/configuration.nix")
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
57
host/desktop/default.nix
Normal file
57
host/desktop/default.nix
Normal file
|
|
@ -0,0 +1,57 @@
|
||||||
|
{
|
||||||
|
libs,
|
||||||
|
custom,
|
||||||
|
config,
|
||||||
|
pkgs,
|
||||||
|
inputs,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
imports = [
|
||||||
|
./programs.nix
|
||||||
|
./device.nix
|
||||||
|
|
||||||
|
(libs.root "/modules/hardware/default.nix")
|
||||||
|
|
||||||
|
(libs.root "/modules/fonts.nix")
|
||||||
|
|
||||||
|
(libs.root "/modules/features/system/packages.nix")
|
||||||
|
(libs.root "/modules/features/system/waydroid.nix")
|
||||||
|
(libs.root "/modules/features/system/boot.nix")
|
||||||
|
(libs.root "/modules/features/system/sddm.nix")
|
||||||
|
(libs.root "/modules/features/system/gdm.nix")
|
||||||
|
(libs.root "/modules/features/system/kde-plasma.nix")
|
||||||
|
(libs.root "/modules/features/system/gnome.nix")
|
||||||
|
(libs.root "/modules/features/system/niri.nix")
|
||||||
|
(libs.root "/modules/features/system/hyprland.nix")
|
||||||
|
(libs.root "/modules/features/system/input-method.nix")
|
||||||
|
(libs.root "/modules/features/system/steam.nix")
|
||||||
|
(libs.root "/modules/features/system/nix-dl.nix")
|
||||||
|
(libs.root "/modules/features/system/flatpak.nix")
|
||||||
|
(libs.root "/modules/features/system/udisks2.nix")
|
||||||
|
(libs.root "/modules/features/system/dconf.nix")
|
||||||
|
(libs.root "/modules/features/system/cloudflare.nix")
|
||||||
|
(libs.root "/modules/features/system/docker.nix")
|
||||||
|
(libs.root "/modules/features/system/upower.nix")
|
||||||
|
|
||||||
|
(libs.root "/users/asakiyuki/configuration.nix")
|
||||||
|
|
||||||
|
(libs.root "/modules/services/pipewire.nix")
|
||||||
|
(libs.root "/modules/home-manager.nix")
|
||||||
|
|
||||||
|
(libs.root "/overlays/nixpkgs.nix")
|
||||||
|
(libs.root "/options/system/default.nix")
|
||||||
|
];
|
||||||
|
|
||||||
|
home-manager.users.asakiyuki = {
|
||||||
|
home.pointerCursor =
|
||||||
|
(custom.cursors {
|
||||||
|
name = config.device.cursors;
|
||||||
|
size = 48;
|
||||||
|
})
|
||||||
|
{pkgs = pkgs;};
|
||||||
|
};
|
||||||
|
|
||||||
|
nix.nixPath = ["nixpkgs=${inputs.nixpkgs}"];
|
||||||
|
xdg.menus.enable = true;
|
||||||
|
services.dbus.enable = true;
|
||||||
|
}
|
||||||
60
host/desktop/device.nix
Normal file
60
host/desktop/device.nix
Normal file
|
|
@ -0,0 +1,60 @@
|
||||||
|
{pkgs, ...}: {
|
||||||
|
home-manager.users.asakiyuki.wayland.windowManager.hyprland.settings = {
|
||||||
|
"$CURRENT_STATE_SCREEN" = "eDP-1, 1920x1200@60, 0x0, 1";
|
||||||
|
};
|
||||||
|
|
||||||
|
device = {
|
||||||
|
flake-name = "ideapad-slim-5";
|
||||||
|
cursors = "aemeath";
|
||||||
|
|
||||||
|
dm.sddm.enable = true;
|
||||||
|
dm.gdm.enable = false;
|
||||||
|
|
||||||
|
de.kdePlasma.enable = false;
|
||||||
|
de.gnome.enable = false;
|
||||||
|
|
||||||
|
wm.niri.enable = false;
|
||||||
|
wm.hyprland.enable = true;
|
||||||
|
wm.hyprland.monitor = [
|
||||||
|
"$CURRENT_STATE_SCREEN"
|
||||||
|
];
|
||||||
|
|
||||||
|
bluetooth.enable = true;
|
||||||
|
flatpak.enable = true;
|
||||||
|
|
||||||
|
files = {
|
||||||
|
force = {};
|
||||||
|
|
||||||
|
mkForce = {
|
||||||
|
".mozilla/firefox/default/search.json.mozlz4" = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
source = {
|
||||||
|
".config/qt5ct/colors/Catppuccin-Mocha.conf" = "${pkgs.catppuccin-qt5ct}/share/qt5ct/colors/catppuccin-mocha-sapphire.conf";
|
||||||
|
".config/qt6ct/colors/Catppuccin-Mocha.conf" = "${pkgs.catppuccin-qt5ct}/share/qt6ct/colors/catppuccin-mocha-sapphire.conf";
|
||||||
|
};
|
||||||
|
|
||||||
|
symlink = {
|
||||||
|
"SteamApps" = ".local/share/Steam/steamapps";
|
||||||
|
"Development/Quickshell" = ".config/quickshell";
|
||||||
|
# "Development/KDE-Widget" = ".local/share/plasma/plasmoids";
|
||||||
|
# "Development/SplashScreen" = ".local/share/plasma/look-and-feel";
|
||||||
|
# "Development/DesktopEffects" = ".local/share/kwin/effects";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
programs = {
|
||||||
|
terminal = {
|
||||||
|
enable = true;
|
||||||
|
name = "ghostty";
|
||||||
|
};
|
||||||
|
obs-studio.enable = true;
|
||||||
|
nixcord.enable = true;
|
||||||
|
tmux.enable = true;
|
||||||
|
starship.enable = true;
|
||||||
|
fastfetch.enable = true;
|
||||||
|
cider-2.enable = true;
|
||||||
|
steam.enable = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
46
host/desktop/programs.nix
Normal file
46
host/desktop/programs.nix
Normal file
|
|
@ -0,0 +1,46 @@
|
||||||
|
{...}: {
|
||||||
|
programs = {
|
||||||
|
ffmpeg.enable = true;
|
||||||
|
nodejs.enable = true;
|
||||||
|
bun.enable = true;
|
||||||
|
brightnessctl.enable = true;
|
||||||
|
php.enable = true;
|
||||||
|
ntfs3g.enable = true;
|
||||||
|
python.enable = true;
|
||||||
|
jdk.enable = true;
|
||||||
|
winepackages.enable = true;
|
||||||
|
quickshell.enable = true;
|
||||||
|
papirus-icons.enable = true;
|
||||||
|
kde-packages.enable = true;
|
||||||
|
r-tensorflow.enable = true;
|
||||||
|
hyprland-portals.enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
home-manager.users.asakiyuki.programs = {
|
||||||
|
dolphin.enable = true;
|
||||||
|
bluetuith.enable = true;
|
||||||
|
lutris.enable = true;
|
||||||
|
hyprshot.enable = true;
|
||||||
|
catppuccin.enable = true;
|
||||||
|
antigravity.enable = true;
|
||||||
|
prismlauncher.enable = true;
|
||||||
|
vlc.enable = true;
|
||||||
|
gimp.enable = true;
|
||||||
|
libreoffice.enable = true;
|
||||||
|
osu.enable = true;
|
||||||
|
lmstudio.enable = true;
|
||||||
|
blender.enable = true;
|
||||||
|
xprop.enable = true;
|
||||||
|
pavucontrol.enable = true;
|
||||||
|
nwg-look.enable = true;
|
||||||
|
hytale.enable = true;
|
||||||
|
cider.enable = true;
|
||||||
|
proton-ge.enable = true;
|
||||||
|
proton-apps.enable = true;
|
||||||
|
firefox.enable = true;
|
||||||
|
chromium.enable = true;
|
||||||
|
gcc.enable = true;
|
||||||
|
davinci-resolve.enable = true;
|
||||||
|
wl-clipboard.enable = true;
|
||||||
|
};
|
||||||
|
}
|
||||||
24
host/server/default.nix
Normal file
24
host/server/default.nix
Normal file
|
|
@ -0,0 +1,24 @@
|
||||||
|
{
|
||||||
|
lib,
|
||||||
|
libs,
|
||||||
|
inputs,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
imports = [
|
||||||
|
./device.nix
|
||||||
|
./programs.nix
|
||||||
|
./services.nix
|
||||||
|
./networking.nix
|
||||||
|
./users.nix
|
||||||
|
|
||||||
|
(libs.root "/modules/features/system/docker.nix")
|
||||||
|
(libs.root "/modules/features/system/packages.nix")
|
||||||
|
(libs.root "/modules/features/system/nix-dl.nix")
|
||||||
|
|
||||||
|
(libs.root "/users/asakiyuki/configuration.nix")
|
||||||
|
(libs.root "/users/junko/configuration.nix")
|
||||||
|
|
||||||
|
(libs.root "/options/system/default.nix")
|
||||||
|
(libs.root "/overlays/nixpkgs.nix")
|
||||||
|
];
|
||||||
|
}
|
||||||
10
host/server/device.nix
Normal file
10
host/server/device.nix
Normal file
|
|
@ -0,0 +1,10 @@
|
||||||
|
{...}: {
|
||||||
|
device = {
|
||||||
|
flake-name = "home-server";
|
||||||
|
|
||||||
|
programs = {
|
||||||
|
fastfetch.enable = true;
|
||||||
|
starship.enable = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
51
host/server/networking.nix
Normal file
51
host/server/networking.nix
Normal file
|
|
@ -0,0 +1,51 @@
|
||||||
|
{...}: {
|
||||||
|
networking = {
|
||||||
|
firewall = {
|
||||||
|
enable = true;
|
||||||
|
allowedUDPPorts = [
|
||||||
|
53
|
||||||
|
34778
|
||||||
|
];
|
||||||
|
allowedTCPPorts = [
|
||||||
|
80
|
||||||
|
443
|
||||||
|
18581
|
||||||
|
8443
|
||||||
|
15523
|
||||||
|
37284
|
||||||
|
53
|
||||||
|
583
|
||||||
|
25565
|
||||||
|
21350
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
useDHCP = false;
|
||||||
|
networkmanager.enable = true;
|
||||||
|
|
||||||
|
defaultGateway = "192.168.1.1";
|
||||||
|
nameservers = [
|
||||||
|
"8.8.8.8"
|
||||||
|
"1.1.1.1"
|
||||||
|
];
|
||||||
|
|
||||||
|
interfaces = {
|
||||||
|
enp1s0 = {
|
||||||
|
useDHCP = false;
|
||||||
|
ipv4.addresses = [
|
||||||
|
{
|
||||||
|
address = "192.168.1.100";
|
||||||
|
prefixLength = 24;
|
||||||
|
}
|
||||||
|
];
|
||||||
|
|
||||||
|
ipv6.addresses = [
|
||||||
|
{
|
||||||
|
address = "2402:800:62d0:1c26:abcd:1234:5678:9abc";
|
||||||
|
prefixLength = 64;
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
10
host/server/programs.nix
Normal file
10
host/server/programs.nix
Normal file
|
|
@ -0,0 +1,10 @@
|
||||||
|
{...}: {
|
||||||
|
programs = {
|
||||||
|
ffmpeg.enable = true;
|
||||||
|
nodejs.enable = true;
|
||||||
|
bun.enable = true;
|
||||||
|
ntfs3g.enable = true;
|
||||||
|
python.enable = true;
|
||||||
|
jdk.enable = true;
|
||||||
|
};
|
||||||
|
}
|
||||||
15
host/server/services.nix
Normal file
15
host/server/services.nix
Normal file
|
|
@ -0,0 +1,15 @@
|
||||||
|
{libs, ...}: {
|
||||||
|
imports = [
|
||||||
|
(libs.root "/modules/features/system/forgejo.nix")
|
||||||
|
(libs.root "/modules/services/adguardhome.nix")
|
||||||
|
(libs.root "/modules/services/cloudflare-dyndns.nix")
|
||||||
|
(libs.root "/modules/services/fail2ban.nix")
|
||||||
|
(libs.root "/modules/services/openssh.nix")
|
||||||
|
(libs.root "/modules/services/httpd.nix")
|
||||||
|
];
|
||||||
|
|
||||||
|
services.logrotate = {
|
||||||
|
enable = true;
|
||||||
|
checkConfig = false;
|
||||||
|
};
|
||||||
|
}
|
||||||
22
host/server/users.nix
Normal file
22
host/server/users.nix
Normal file
|
|
@ -0,0 +1,22 @@
|
||||||
|
{...}: {
|
||||||
|
users.users.asakiyuki.extraGroups = ["wheel" "public"];
|
||||||
|
users.users.junko.extraGroups = ["public"];
|
||||||
|
|
||||||
|
users.users.static = {
|
||||||
|
group = "public";
|
||||||
|
isSystemUser = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
users.users.forgejo = {
|
||||||
|
group = "forgejo";
|
||||||
|
isSystemUser = true;
|
||||||
|
useDefaultShell = true;
|
||||||
|
home = "/var/lib/forgejo";
|
||||||
|
createHome = false;
|
||||||
|
};
|
||||||
|
|
||||||
|
users.groups = {
|
||||||
|
public = {};
|
||||||
|
forgejo = {};
|
||||||
|
};
|
||||||
|
}
|
||||||
3
libs/default.nix
Normal file
3
libs/default.nix
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
{...}: {
|
||||||
|
root = path: ../. + path;
|
||||||
|
}
|
||||||
73
modules/features/home/bash.nix
Normal file
73
modules/features/home/bash.nix
Normal file
|
|
@ -0,0 +1,73 @@
|
||||||
|
{
|
||||||
|
lib,
|
||||||
|
osconfig,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
programs.bash = {
|
||||||
|
enable = true;
|
||||||
|
shellAliases = lib.attrsets.mergeAttrsList [
|
||||||
|
{
|
||||||
|
cls = "clear";
|
||||||
|
cleanup = "sudo nix-collect-garbage -d";
|
||||||
|
cls-log = "sudo journalctl --vacuum-time=1s";
|
||||||
|
|
||||||
|
logout = "pkill -KILL -u $USER";
|
||||||
|
|
||||||
|
nrs = "sudo nixos-rebuild switch --flake /etc/nixos#${osconfig.device.flake-name}";
|
||||||
|
flake-upgrade = "nix flake update";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
spf = "superfile";
|
||||||
|
}
|
||||||
|
(lib.optionalAttrs osconfig.virtualisation.waydroid.enable {
|
||||||
|
wss = "waydroid session stop; exit;";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
|
shellOptions = [
|
||||||
|
"histappend"
|
||||||
|
"checkwinsize"
|
||||||
|
"extglob"
|
||||||
|
"globstar"
|
||||||
|
"checkjobs"
|
||||||
|
"autocd"
|
||||||
|
];
|
||||||
|
|
||||||
|
initExtra =
|
||||||
|
''
|
||||||
|
function git-commit() {
|
||||||
|
git add .
|
||||||
|
git commit -m "$1"
|
||||||
|
}
|
||||||
|
|
||||||
|
function git-push() {
|
||||||
|
git-commit "$1"
|
||||||
|
git push origin HEAD
|
||||||
|
}
|
||||||
|
|
||||||
|
function git-pull() {
|
||||||
|
git fetch origin HEAD
|
||||||
|
git pull origin HEAD
|
||||||
|
}
|
||||||
|
|
||||||
|
function get-hash() {
|
||||||
|
nix hash to-sri --type sha256 $(nix-prefetch-url --unpack "$1")
|
||||||
|
}
|
||||||
|
''
|
||||||
|
+ lib.optionalString osconfig.device.programs.tmux.enable ''
|
||||||
|
allowed_terms=("xterm-kitty" "xterm-ghostty")
|
||||||
|
|
||||||
|
should_run_tmux=false
|
||||||
|
for term in "${"$" + "{allowed_terms[@]" + "}"}"; do
|
||||||
|
if [[ "$TERM" == "$term" ]]; then
|
||||||
|
should_run_tmux=true
|
||||||
|
break
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
if [ -z "$TMUX" ] && [ "$should_run_tmux" = true ]; then
|
||||||
|
exec tmux
|
||||||
|
fi
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
}
|
||||||
172
modules/features/home/browsers.nix
Normal file
172
modules/features/home/browsers.nix
Normal file
|
|
@ -0,0 +1,172 @@
|
||||||
|
{
|
||||||
|
pkgs,
|
||||||
|
libs,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
programs = {
|
||||||
|
firefox.profiles.default = {
|
||||||
|
settings = {
|
||||||
|
"browser.startup.homepage" = "about:home";
|
||||||
|
|
||||||
|
"devtools.chrome.enabled" = true;
|
||||||
|
"devtools.debugger.remote-enabled" = true;
|
||||||
|
"toolkit.legacyUserProfileCustomizations.stylesheets" = true;
|
||||||
|
|
||||||
|
"full-screen-api.warning.timeout" = 0;
|
||||||
|
};
|
||||||
|
|
||||||
|
search = {
|
||||||
|
default = "google";
|
||||||
|
engines = {
|
||||||
|
youtube = {
|
||||||
|
name = "YouTube";
|
||||||
|
definedAliases = [
|
||||||
|
"@yt"
|
||||||
|
"@youtube"
|
||||||
|
];
|
||||||
|
icon = "https://www.youtube.com/s/desktop/83c08b77/img/favicon.ico";
|
||||||
|
urls = [
|
||||||
|
{
|
||||||
|
template = "https://www.youtube.com/results";
|
||||||
|
params = [
|
||||||
|
{
|
||||||
|
name = "search_query";
|
||||||
|
value = "{searchTerms}";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
google = {
|
||||||
|
name = "Google";
|
||||||
|
definedAliases = [
|
||||||
|
"@g"
|
||||||
|
"@google"
|
||||||
|
];
|
||||||
|
icon = "https://www.gstatic.com/images/branding/searchlogo/ico/favicon.ico";
|
||||||
|
urls = [
|
||||||
|
{
|
||||||
|
template = "https://www.google.com/search";
|
||||||
|
params = [
|
||||||
|
{
|
||||||
|
name = "q";
|
||||||
|
value = "{searchTerms}";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
}
|
||||||
|
{
|
||||||
|
template = "https://www.google.com/search";
|
||||||
|
params = [
|
||||||
|
{
|
||||||
|
name = "udm";
|
||||||
|
value = "2";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
name = "q";
|
||||||
|
value = "{searchTerms}";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
github = {
|
||||||
|
name = "Github";
|
||||||
|
definedAliases = [
|
||||||
|
"@gh"
|
||||||
|
"@github"
|
||||||
|
];
|
||||||
|
icon = "https://github.githubassets.com/favicons/favicon-dark.svg";
|
||||||
|
urls = [
|
||||||
|
{
|
||||||
|
template = "https://github.com/search";
|
||||||
|
params = [
|
||||||
|
{
|
||||||
|
name = "type";
|
||||||
|
value = "repositories";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
name = "q";
|
||||||
|
value = "{searchTerms}";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
reddit = {
|
||||||
|
name = "Reddit";
|
||||||
|
definedAliases = [
|
||||||
|
"@rd"
|
||||||
|
"@reddit"
|
||||||
|
];
|
||||||
|
icon = "https://www.redditstatic.com/shreddit/assets/favicon/192x192.png";
|
||||||
|
urls = [
|
||||||
|
{
|
||||||
|
template = "https://www.reddit.com/search";
|
||||||
|
params = [
|
||||||
|
{
|
||||||
|
name = "q";
|
||||||
|
value = "{searchTerms}";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
nix-packages = {
|
||||||
|
name = "Nix Packages";
|
||||||
|
definedAliases = [
|
||||||
|
"@np"
|
||||||
|
"@nixpkgs"
|
||||||
|
];
|
||||||
|
icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
|
||||||
|
urls = [
|
||||||
|
{
|
||||||
|
template = "https://search.nixos.org/packages";
|
||||||
|
params = [
|
||||||
|
{
|
||||||
|
name = "type";
|
||||||
|
value = "packages";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
name = "query";
|
||||||
|
value = "{searchTerms}";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
mynixos = {
|
||||||
|
name = "My NixOS";
|
||||||
|
definedAliases = ["@mynixos"];
|
||||||
|
icon = "https://mynixos.com/favicon.ico";
|
||||||
|
urls = [
|
||||||
|
{
|
||||||
|
template = "https://mynixos.com/search";
|
||||||
|
params = [
|
||||||
|
{
|
||||||
|
name = "q";
|
||||||
|
value = "{searchTerms}";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
bing.metaData.hidden = true;
|
||||||
|
ddg.metaData.hidden = true;
|
||||||
|
perplexity.metaData.hidden = true;
|
||||||
|
wikipedia.metaData.hidden = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
userChrome = builtins.readFile (libs.root "/assets/firefox/userChrome.css");
|
||||||
|
userContent = builtins.readFile (libs.root "/assets/firefox/userContent.css");
|
||||||
|
};
|
||||||
|
|
||||||
|
chromium = {};
|
||||||
|
};
|
||||||
|
}
|
||||||
88
modules/features/home/dolphin.nix
Normal file
88
modules/features/home/dolphin.nix
Normal file
|
|
@ -0,0 +1,88 @@
|
||||||
|
{libs, ...}: {
|
||||||
|
programs.dolphin = {
|
||||||
|
services-menu = {
|
||||||
|
copy-server-public-url = {
|
||||||
|
"Desktop Entry" = {
|
||||||
|
Type = "Service";
|
||||||
|
ServiceTypes = "KonqPopupMenu/Plugin";
|
||||||
|
MimeType = "all/allfiles";
|
||||||
|
Actions = "CopyPublicURL";
|
||||||
|
};
|
||||||
|
"Desktop Action CopyPublicURL" = {
|
||||||
|
Name = "Copy location as URL";
|
||||||
|
Icon = "org.kde.plasma.clipboard";
|
||||||
|
Exec = "${libs.root "/scripts/copy-public-url.sh"} \"%F\"";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
open-ghostty-here = {
|
||||||
|
"Desktop Entry" = {
|
||||||
|
Type = "Service";
|
||||||
|
ServiceTypes = "KonqPopupMenu/Plugin";
|
||||||
|
MimeType = "inode/directory";
|
||||||
|
Actions = "RunGhosttyDir";
|
||||||
|
};
|
||||||
|
"Desktop Action RunGhosttyDir" = {
|
||||||
|
Name = "Open Ghostty here";
|
||||||
|
Icon = "com.mitchellh.ghostty";
|
||||||
|
Exec = "ghostty +new-window --working-directory=\"%F\"";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
open-with-antigravity = {
|
||||||
|
"Desktop Entry" = {
|
||||||
|
Type = "Service";
|
||||||
|
ServiceTypes = "KonqPopupMenu/Plugin";
|
||||||
|
MimeType = "inode/directory";
|
||||||
|
Actions = "RunCodeDir";
|
||||||
|
};
|
||||||
|
|
||||||
|
"Desktop Action RunCodeDir" = {
|
||||||
|
Name = "Open with Antigravity";
|
||||||
|
Icon = "antigravity";
|
||||||
|
Exec = "antigravity \"%F\"";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
open-with-code = {
|
||||||
|
"Desktop Entry" = {
|
||||||
|
Type = "Service";
|
||||||
|
ServiceTypes = "KonqPopupMenu/Plugin";
|
||||||
|
MimeType = "inode/directory";
|
||||||
|
Actions = "RunCodeDir";
|
||||||
|
};
|
||||||
|
|
||||||
|
"Desktop Action RunCodeDir" = {
|
||||||
|
Name = "Open with Code";
|
||||||
|
Icon = "vscode";
|
||||||
|
Exec = "code \"%F\"";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
open-with-nvim = {
|
||||||
|
"Desktop Entry" = {
|
||||||
|
Type = "Service";
|
||||||
|
ServiceTypes = "KonqPopupMenu/Plugin";
|
||||||
|
MimeType = "inode/directory";
|
||||||
|
Actions = "RunCodeDir";
|
||||||
|
};
|
||||||
|
|
||||||
|
"Desktop Action RunCodeDir" = {
|
||||||
|
Name = "Open with Nvim";
|
||||||
|
Icon = "nvim";
|
||||||
|
Exec = "ghostty +new-window --working-directory=\"~/.config\" -e nvim .";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
configs = {
|
||||||
|
General = {
|
||||||
|
RememberOpenedTabs = false;
|
||||||
|
ModifiedStartupSettings = true;
|
||||||
|
FilterBar = true;
|
||||||
|
};
|
||||||
|
ContextMenu = {
|
||||||
|
ShowOpenTerminal = false;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
178
modules/features/home/fastfetch.nix
Normal file
178
modules/features/home/fastfetch.nix
Normal file
|
|
@ -0,0 +1,178 @@
|
||||||
|
{
|
||||||
|
lib,
|
||||||
|
osconfig,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
programs.fastfetch = lib.mkIf osconfig.device.programs.fastfetch.enable {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
logo = {
|
||||||
|
padding.top = 1;
|
||||||
|
color = {
|
||||||
|
"1" = "#89b4fa";
|
||||||
|
"2" = "#cdd6f4";
|
||||||
|
"3" = "#89b4fa";
|
||||||
|
"4" = "#cdd6f4";
|
||||||
|
"5" = "#89b4fa";
|
||||||
|
"6" = "#cdd6f4";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
display = {
|
||||||
|
color = {
|
||||||
|
title = "#cdd6f4";
|
||||||
|
output = "#cdd6f4";
|
||||||
|
separator = "black";
|
||||||
|
};
|
||||||
|
|
||||||
|
bar = {
|
||||||
|
width = 10;
|
||||||
|
charTotal = " ";
|
||||||
|
border.left = "[";
|
||||||
|
border.right = "]";
|
||||||
|
char.elapsed = "█";
|
||||||
|
color = {
|
||||||
|
border = "green";
|
||||||
|
elapsed = "green";
|
||||||
|
total = "black";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
percent = {
|
||||||
|
type = 3;
|
||||||
|
color = {
|
||||||
|
green = "green";
|
||||||
|
yellow = "yellow";
|
||||||
|
red = "red";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
separator = " ";
|
||||||
|
brightColor = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
modules = [
|
||||||
|
{
|
||||||
|
type = "title";
|
||||||
|
format = " {user-name}@{host-name}";
|
||||||
|
outputColor = "bright_yellow";
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
type = "separator";
|
||||||
|
string = "─";
|
||||||
|
length = 24;
|
||||||
|
outputColor = "white";
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
type = "os";
|
||||||
|
key = "╭─";
|
||||||
|
keyColor = "green";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
type = "kernel";
|
||||||
|
key = "├─";
|
||||||
|
keyColor = "green";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
type = "shell";
|
||||||
|
key = "├─";
|
||||||
|
keyColor = "green";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
type = "packages";
|
||||||
|
key = "├─";
|
||||||
|
keyColor = "green";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
type = "uptime";
|
||||||
|
key = "╰─";
|
||||||
|
keyColor = "green";
|
||||||
|
}
|
||||||
|
|
||||||
|
"break"
|
||||||
|
|
||||||
|
{
|
||||||
|
type = "host";
|
||||||
|
keyColor = "blue";
|
||||||
|
key = "╭─";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
type = "cpu";
|
||||||
|
key = "├─";
|
||||||
|
keyColor = "blue";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
type = "gpu";
|
||||||
|
key = "├─";
|
||||||
|
keyColor = "blue";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
type = "sound";
|
||||||
|
key = "├─";
|
||||||
|
format = "{name}";
|
||||||
|
keyColor = "blue";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
type = "memory";
|
||||||
|
format = "{percentage-bar} {used} / {total}";
|
||||||
|
key = "├─";
|
||||||
|
keyColor = "blue";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
type = "disk";
|
||||||
|
format = "{size-percentage-bar} {name} ({mountpoint}) {size-used} / {size-total} - {filesystem}";
|
||||||
|
key = "├─";
|
||||||
|
keyColor = "blue";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
type = "localip";
|
||||||
|
key = "╰─";
|
||||||
|
keyColor = "blue";
|
||||||
|
}
|
||||||
|
|
||||||
|
"break"
|
||||||
|
|
||||||
|
{
|
||||||
|
type = "terminal";
|
||||||
|
key = "╭─";
|
||||||
|
keyColor = "yellow";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
type = "wm";
|
||||||
|
key = "├─";
|
||||||
|
keyColor = "yellow";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
type = "de";
|
||||||
|
key = "├─";
|
||||||
|
keyColor = "yellow";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
type = "bios";
|
||||||
|
key = "├─";
|
||||||
|
keyColor = "yellow";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
type = "theme";
|
||||||
|
key = "├─";
|
||||||
|
keyColor = "yellow";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
type = "icons";
|
||||||
|
key = "├─";
|
||||||
|
keyColor = "yellow";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
type = "cursor";
|
||||||
|
key = "╰─";
|
||||||
|
keyColor = "yellow";
|
||||||
|
}
|
||||||
|
|
||||||
|
"break"
|
||||||
|
"colors"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
57
modules/features/home/ghostty.nix
Normal file
57
modules/features/home/ghostty.nix
Normal file
|
|
@ -0,0 +1,57 @@
|
||||||
|
{
|
||||||
|
lib,
|
||||||
|
osconfig,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
programs.ghostty =
|
||||||
|
lib.mkIf
|
||||||
|
(osconfig.device.programs.terminal.enable && osconfig.device.programs.terminal.name == "ghostty")
|
||||||
|
{
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
theme = "catppuccin-mocha";
|
||||||
|
|
||||||
|
font-size = 9;
|
||||||
|
font-family = "SauceCodePro NFP Bold";
|
||||||
|
|
||||||
|
window-width = 230;
|
||||||
|
window-height = 68;
|
||||||
|
|
||||||
|
window-padding-x = 5;
|
||||||
|
window-padding-y = 0;
|
||||||
|
|
||||||
|
keybind = [
|
||||||
|
"ctrl+shift+n=unbind"
|
||||||
|
"ctrl+shift+i=unbind"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
themes = {
|
||||||
|
catppuccin-mocha = {
|
||||||
|
background = "1e1e2e";
|
||||||
|
cursor-color = "f5e0dc";
|
||||||
|
foreground = "cdd6f4";
|
||||||
|
palette = [
|
||||||
|
"0=#45475a"
|
||||||
|
"1=#f38ba8"
|
||||||
|
"2=#a6e3a1"
|
||||||
|
"3=#f9e2af"
|
||||||
|
"4=#89b4fa"
|
||||||
|
"5=#f5c2e7"
|
||||||
|
"6=#94e2d5"
|
||||||
|
"7=#bac2de"
|
||||||
|
"8=#585b70"
|
||||||
|
"9=#f38ba8"
|
||||||
|
"10=#a6e3a1"
|
||||||
|
"11=#f9e2af"
|
||||||
|
"12=#89b4fa"
|
||||||
|
"13=#f5c2e7"
|
||||||
|
"14=#94e2d5"
|
||||||
|
"15=#a6adc8"
|
||||||
|
];
|
||||||
|
selection-background = "353749";
|
||||||
|
selection-foreground = "cdd6f4";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
19
modules/features/home/git.nix
Normal file
19
modules/features/home/git.nix
Normal file
|
|
@ -0,0 +1,19 @@
|
||||||
|
{...}: {
|
||||||
|
programs.git = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
user = {
|
||||||
|
name = "Asaki Yuki";
|
||||||
|
email = "vantrong2007vn@gmail.com";
|
||||||
|
};
|
||||||
|
|
||||||
|
init = {
|
||||||
|
defaultBranch = "main";
|
||||||
|
};
|
||||||
|
|
||||||
|
# pull = {
|
||||||
|
# rebase = "";
|
||||||
|
# };
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
82
modules/features/home/kitty.nix
Normal file
82
modules/features/home/kitty.nix
Normal file
|
|
@ -0,0 +1,82 @@
|
||||||
|
{
|
||||||
|
lib,
|
||||||
|
osconfig,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
programs.kitty =
|
||||||
|
lib.mkIf
|
||||||
|
(osconfig.device.programs.terminal.enable && osconfig.device.programs.terminal.name == "kitty")
|
||||||
|
{
|
||||||
|
enable = true;
|
||||||
|
|
||||||
|
keybindings = {
|
||||||
|
"ctrl+c" = "copy_to_clipboard";
|
||||||
|
"ctrl+v" = "paste_from_clipboard";
|
||||||
|
};
|
||||||
|
|
||||||
|
settings = {
|
||||||
|
window_padding_width = 2;
|
||||||
|
window_padding_height = 2;
|
||||||
|
|
||||||
|
cursor_shape = "beam";
|
||||||
|
# background_opacity = 0.5;
|
||||||
|
|
||||||
|
font_family = "Tahoma";
|
||||||
|
font_size = 9;
|
||||||
|
|
||||||
|
foreground = "#cdd6f4";
|
||||||
|
background = "#1e1e2e";
|
||||||
|
selection_foreground = "#1e1e2e";
|
||||||
|
selection_background = "#f5e0dc";
|
||||||
|
|
||||||
|
cursor = "#f5e0dc";
|
||||||
|
cursor_text_color = "#1e1e2e";
|
||||||
|
|
||||||
|
url_color = "#f5e0dc";
|
||||||
|
|
||||||
|
active_border_color = "#b4befe";
|
||||||
|
inactive_border_color = "#6c7086";
|
||||||
|
bell_border_color = "#f9e2af";
|
||||||
|
|
||||||
|
wayland_titlebar_color = "system";
|
||||||
|
macos_titlebar_color = "system";
|
||||||
|
|
||||||
|
active_tab_foreground = "#11111b";
|
||||||
|
active_tab_background = "#cba6f7";
|
||||||
|
inactive_tab_foreground = "#cdd6f4";
|
||||||
|
inactive_tab_background = "#181825";
|
||||||
|
tab_bar_background = "#11111b";
|
||||||
|
|
||||||
|
mark1_foreground = "#1e1e2e";
|
||||||
|
mark1_background = "#b4befe";
|
||||||
|
mark2_foreground = "#1e1e2e";
|
||||||
|
mark2_background = "#cba6f7";
|
||||||
|
mark3_foreground = "#1e1e2e";
|
||||||
|
mark3_background = "#74c7ec";
|
||||||
|
|
||||||
|
color0 = "#45475a";
|
||||||
|
color8 = "#585b70";
|
||||||
|
|
||||||
|
color1 = "#f38ba8";
|
||||||
|
color9 = "#f38ba8";
|
||||||
|
|
||||||
|
color2 = "#a6e3a1";
|
||||||
|
color10 = "#a6e3a1";
|
||||||
|
|
||||||
|
color3 = "#f9e2af";
|
||||||
|
color11 = "#f9e2af";
|
||||||
|
|
||||||
|
color4 = "#89b4fa";
|
||||||
|
color12 = "#89b4fa";
|
||||||
|
|
||||||
|
color5 = "#f5c2e7";
|
||||||
|
color13 = "#f5c2e7";
|
||||||
|
|
||||||
|
color6 = "#94e2d5";
|
||||||
|
color14 = "#94e2d5";
|
||||||
|
|
||||||
|
color7 = "#bac2de";
|
||||||
|
color15 = "#a6adc8";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
8
modules/features/home/neovide.nix
Normal file
8
modules/features/home/neovide.nix
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
{...}: {
|
||||||
|
programs.neovide = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
neovim-bin = "/etc/home/per-user/asakiyuki/bin/nvim";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
15
modules/features/home/niri.nix
Normal file
15
modules/features/home/niri.nix
Normal file
|
|
@ -0,0 +1,15 @@
|
||||||
|
{
|
||||||
|
osconfig,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
programs.niri = lib.mkIf osconfig.device.wm.niri.enable {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
binds = {
|
||||||
|
# "Ctrl+Alt+T" = "ghostty";
|
||||||
|
# "Mod+D" = "fuzzel";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
11
modules/features/home/obs-studio.nix
Normal file
11
modules/features/home/obs-studio.nix
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
{
|
||||||
|
pkgs,
|
||||||
|
custom,
|
||||||
|
lib,
|
||||||
|
osconfig,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
lib.mkIf osconfig.device.programs.obs-studio.enable {
|
||||||
|
programs.obs-studio.enable = true;
|
||||||
|
home.file.".config/obs-studio/themes".source = pkgs.callPackage custom.catppuccin-obs {};
|
||||||
|
}
|
||||||
34
modules/features/home/packages.nix
Normal file
34
modules/features/home/packages.nix
Normal file
|
|
@ -0,0 +1,34 @@
|
||||||
|
{
|
||||||
|
lib,
|
||||||
|
config,
|
||||||
|
osconfig,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
home.packages =
|
||||||
|
[
|
||||||
|
(lib.mkIf config.programs.catppuccin.enable config.programs.catppuccin.package)
|
||||||
|
|
||||||
|
(lib.mkIf config.programs.antigravity.enable config.programs.antigravity.package)
|
||||||
|
(lib.mkIf config.programs.prismlauncher.enable config.programs.prismlauncher.package)
|
||||||
|
(lib.mkIf config.programs.vlc.enable config.programs.vlc.package)
|
||||||
|
(lib.mkIf config.programs.gimp.enable config.programs.gimp.package)
|
||||||
|
(lib.mkIf config.programs.libreoffice.enable config.programs.libreoffice.package)
|
||||||
|
(lib.mkIf config.programs.osu.enable config.programs.osu.package)
|
||||||
|
(lib.mkIf config.programs.lmstudio.enable config.programs.lmstudio.package)
|
||||||
|
(lib.mkIf config.programs.blender.enable config.programs.blender.package)
|
||||||
|
(lib.mkIf config.programs.xprop.enable config.programs.xprop.package)
|
||||||
|
(lib.mkIf config.programs.davinci-resolve.enable config.programs.davinci-resolve.package)
|
||||||
|
(lib.mkIf config.programs.wl-clipboard.enable config.programs.wl-clipboard.package)
|
||||||
|
|
||||||
|
(lib.mkIf config.programs.pavucontrol.enable config.programs.pavucontrol.package)
|
||||||
|
(lib.mkIf config.programs.nwg-look.enable config.programs.nwg-look.package)
|
||||||
|
|
||||||
|
(lib.mkIf config.programs.hytale.enable config.programs.hytale.package)
|
||||||
|
(lib.mkIf (
|
||||||
|
config.programs.cider.enable && osconfig.device.programs.cider-2.enable
|
||||||
|
)
|
||||||
|
config.programs.cider.package)
|
||||||
|
]
|
||||||
|
++ (lib.optionals config.programs.proton-ge.enable config.programs.proton-ge.packages)
|
||||||
|
++ (lib.optionals config.programs.proton-apps.enable config.programs.proton-apps.packages);
|
||||||
|
}
|
||||||
85
modules/features/home/starship.nix
Normal file
85
modules/features/home/starship.nix
Normal file
|
|
@ -0,0 +1,85 @@
|
||||||
|
{
|
||||||
|
lib,
|
||||||
|
osconfig,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
programs.starship = lib.mkIf osconfig.device.programs.starship.enable {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
add_newline = true;
|
||||||
|
scan_timeout = 10;
|
||||||
|
|
||||||
|
format = ''
|
||||||
|
$os $shell $cmake$java$nodejs$git_branch$character
|
||||||
|
$cmd_duration$sudo$directory > '';
|
||||||
|
|
||||||
|
sudo = {
|
||||||
|
format = "[$symbol]($style) ";
|
||||||
|
symbol = "";
|
||||||
|
disabled = false;
|
||||||
|
};
|
||||||
|
|
||||||
|
java = {
|
||||||
|
format = "[$symbol $version]($style) ";
|
||||||
|
symbol = "";
|
||||||
|
};
|
||||||
|
|
||||||
|
cmake = {
|
||||||
|
format = "[$symbol $version](bold blue) ";
|
||||||
|
symbol = "";
|
||||||
|
};
|
||||||
|
|
||||||
|
nodejs = {
|
||||||
|
format = "[$symbol $version](bold green) ";
|
||||||
|
symbol = "";
|
||||||
|
};
|
||||||
|
|
||||||
|
git_branch = {
|
||||||
|
format = "[$symbol $branch]($style) ";
|
||||||
|
symbol = "";
|
||||||
|
style = "red";
|
||||||
|
disabled = false;
|
||||||
|
};
|
||||||
|
|
||||||
|
directory = {
|
||||||
|
format = "[$read_only]($read_only_style)[$path]($style)";
|
||||||
|
style = "#2e8be8";
|
||||||
|
truncation_length = 2;
|
||||||
|
read_only = " ";
|
||||||
|
};
|
||||||
|
|
||||||
|
character = {
|
||||||
|
success_symbol = "[](green)";
|
||||||
|
error_symbol = "[](red)";
|
||||||
|
disabled = false;
|
||||||
|
};
|
||||||
|
|
||||||
|
cmd_duration = {
|
||||||
|
min_time = 1;
|
||||||
|
format = "[\\[$duration\\]]($style) ";
|
||||||
|
style = "#C0C0C0";
|
||||||
|
show_milliseconds = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
shell = {
|
||||||
|
disabled = false;
|
||||||
|
bash_indicator = "bash";
|
||||||
|
fish_indicator = "fish";
|
||||||
|
zsh_indicator = "zsh";
|
||||||
|
powershell_indicator = "pwsh";
|
||||||
|
format = "[$indicator]($style)";
|
||||||
|
style = "white";
|
||||||
|
};
|
||||||
|
|
||||||
|
os = {
|
||||||
|
format = "[$symbol]($style)";
|
||||||
|
disabled = false;
|
||||||
|
symbols = {
|
||||||
|
Arch = "[](bold blue)";
|
||||||
|
Windows = "[](bold blue)";
|
||||||
|
NixOS = "[](bold blue)";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
43
modules/features/home/theme.nix
Normal file
43
modules/features/home/theme.nix
Normal file
|
|
@ -0,0 +1,43 @@
|
||||||
|
{
|
||||||
|
pkgs,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}: let
|
||||||
|
catppuccin-gtk = pkgs.catppuccin-gtk.override {
|
||||||
|
variant = "mocha";
|
||||||
|
accents = ["sapphire"];
|
||||||
|
size = "compact";
|
||||||
|
};
|
||||||
|
in {
|
||||||
|
home.activation.copyGtkTheme = lib.hm.dag.entryAfter ["writeBoundary"] ''
|
||||||
|
mkdir -p "$HOME/.themes/"
|
||||||
|
|
||||||
|
if [ ! -d "$HOME/.themes/catppuccin-mocha-sapphire-compact" ]; then
|
||||||
|
cp -r "${catppuccin-gtk}/share/themes/catppuccin-mocha-sapphire-compact" "$HOME/.themes/"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ ! -d "$HOME/.themes/catppuccin-mocha-sapphire-compact-hdpi" ]; then
|
||||||
|
cp -r "${catppuccin-gtk}/share/themes/catppuccin-mocha-sapphire-compact-hdpi" "$HOME/.themes/"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ ! -d "$HOME/.themes/catppuccin-mocha-sapphire-compact-xhdpi" ]; then
|
||||||
|
cp -r "${catppuccin-gtk}/share/themes/catppuccin-mocha-sapphire-compact-xhdpi" "$HOME/.themes/"
|
||||||
|
fi
|
||||||
|
'';
|
||||||
|
|
||||||
|
# QT
|
||||||
|
qt = {
|
||||||
|
enable = true;
|
||||||
|
platformTheme.name = "qtct";
|
||||||
|
style = {
|
||||||
|
package = with pkgs; [
|
||||||
|
catppuccin-qt5ct
|
||||||
|
catppuccin-kde
|
||||||
|
kdePackages.breeze
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
# GTK
|
||||||
|
gtk.theme.name = "catppuccin-mocha-sapphire-compact";
|
||||||
|
}
|
||||||
84
modules/features/home/tmux.nix
Normal file
84
modules/features/home/tmux.nix
Normal file
|
|
@ -0,0 +1,84 @@
|
||||||
|
{
|
||||||
|
lib,
|
||||||
|
osconfig,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}: let
|
||||||
|
TOP_PANEL = ''
|
||||||
|
set -g pane-border-status top
|
||||||
|
set -g pane-border-lines single
|
||||||
|
set -g pane-border-indicators colour
|
||||||
|
|
||||||
|
set -g pane-border-format "#{E:@asa-module-icon} #{pane_index} #{E:@asa-module-text} #{pane_current_path} #[default]"
|
||||||
|
'';
|
||||||
|
|
||||||
|
OPTIONS = ''
|
||||||
|
set-option -g destroy-unattached on
|
||||||
|
set -g allow-passthrough on
|
||||||
|
'';
|
||||||
|
|
||||||
|
BINDS = ''
|
||||||
|
unbind r
|
||||||
|
bind r source-file ~/.config/tmux/tmux.conf;
|
||||||
|
'';
|
||||||
|
|
||||||
|
BOTTOM_PANEL = ''
|
||||||
|
set -g status-justify "centre"
|
||||||
|
|
||||||
|
set -g window-status-format "#{E:@asa-module-icon} #I #{E:@asa-module-text} #W "
|
||||||
|
set -g window-status-current-format "#{E:@asa-module-icon} #I #{E:@asa-module-text} #W "
|
||||||
|
|
||||||
|
set -gg status-left "#{E:@asa-module-text} %A %d/%m/%Y #[default] "
|
||||||
|
set -ag status-left "#{E:@asa-module-text} %I:%M %p #[default] "
|
||||||
|
set -g status-left-length 100
|
||||||
|
|
||||||
|
set -g status-right "#{E:@asa-module-icon} #{E:@asa-module-text} #S #[default] "
|
||||||
|
set -ag status-right "#{E:@asa-module-icon} CPU #{E:@asa-module-text} #{cpu_percentage} #[default] "
|
||||||
|
set -ag status-right "#{E:@asa-module-icon} RAM #{E:@asa-module-text} #{ram_percentage} "
|
||||||
|
set -g status-right-length 100
|
||||||
|
|
||||||
|
setw -g automatic-rename off
|
||||||
|
'';
|
||||||
|
|
||||||
|
CATPPUCCIN = ''
|
||||||
|
set -g @catppuccin_flavor 'mocha'
|
||||||
|
set -ogq @asa-module-icon "#[bg=#{E:@thm_sapphire},fg=#{E:@thm_surface_0}]"
|
||||||
|
set -ogq @asa-module-text "#[bg=#{E:@thm_surface_0},fg=#{E:@thm_fg}]"
|
||||||
|
'';
|
||||||
|
|
||||||
|
YANK = ''
|
||||||
|
set -g @yank_selection 'primary'
|
||||||
|
set -g @yank_selection_mouse 'primary'
|
||||||
|
'';
|
||||||
|
|
||||||
|
EXTRA_CONFIG = ''
|
||||||
|
bind-key -T copy-mode-vi v send-keys -X begin-selection
|
||||||
|
bind-key -T copy-mode-vi V send-keys -X select-line
|
||||||
|
bind-key -T copy-mode-vi C-v send-keys -X rectangle-toggle
|
||||||
|
bind-key -T copy-mode-vi y send-keys -X copy-selection-and-cancel
|
||||||
|
'';
|
||||||
|
in {
|
||||||
|
programs.tmux = lib.mkIf osconfig.device.programs.tmux.enable {
|
||||||
|
enable = true;
|
||||||
|
keyMode = "vi";
|
||||||
|
disableConfirmationPrompt = true;
|
||||||
|
prefix = "c-a";
|
||||||
|
|
||||||
|
extraConfig = TOP_PANEL + OPTIONS + BINDS + EXTRA_CONFIG;
|
||||||
|
|
||||||
|
plugins = with pkgs.tmuxPlugins; [
|
||||||
|
{
|
||||||
|
plugin = yank;
|
||||||
|
extraConfig = YANK;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
plugin = catppuccin;
|
||||||
|
extraConfig = CATPPUCCIN;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
plugin = cpu;
|
||||||
|
extraConfig = BOTTOM_PANEL;
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
6
modules/features/home/vscode.nix
Normal file
6
modules/features/home/vscode.nix
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
{unstable, ...}: {
|
||||||
|
programs.vscode = {
|
||||||
|
enable = true;
|
||||||
|
package = unstable.vscode;
|
||||||
|
};
|
||||||
|
}
|
||||||
19
modules/features/home/xdg.nix
Normal file
19
modules/features/home/xdg.nix
Normal file
|
|
@ -0,0 +1,19 @@
|
||||||
|
{
|
||||||
|
pkgs,
|
||||||
|
lib,
|
||||||
|
osconfig,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
xdg.portal = lib.mkIf osconfig.device.wm.hyprland.enable {
|
||||||
|
enable = true;
|
||||||
|
xdgOpenUsePortal = true;
|
||||||
|
config = {
|
||||||
|
common.default = ["gtk"];
|
||||||
|
hyprland.default = ["gtk" "hyprland"];
|
||||||
|
};
|
||||||
|
extraPortals = [
|
||||||
|
pkgs.xdg-desktop-portal-gtk
|
||||||
|
pkgs.xdg-desktop-portal-hyprland
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
8
modules/features/home/yt-dlp.nix
Normal file
8
modules/features/home/yt-dlp.nix
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
{...}: {
|
||||||
|
programs.yt-dlp = {
|
||||||
|
enable = true;
|
||||||
|
extraConfig = ''
|
||||||
|
-o ~/Downloads/yt-dlp/%(title)s.%(ext)s
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
}
|
||||||
29
modules/features/system/boot.nix
Normal file
29
modules/features/system/boot.nix
Normal file
|
|
@ -0,0 +1,29 @@
|
||||||
|
{
|
||||||
|
inputs,
|
||||||
|
pkgs,
|
||||||
|
libs,
|
||||||
|
...
|
||||||
|
}: let
|
||||||
|
background = libs.root "/assets/grub/background.png";
|
||||||
|
baseTheme = inputs.honkai-railway-grub-theme.packages.${pkgs.stdenv.hostPlatform.system}.cyrene-grub-theme;
|
||||||
|
in {
|
||||||
|
boot = {
|
||||||
|
loader = {
|
||||||
|
efi.canTouchEfiVariables = true;
|
||||||
|
|
||||||
|
grub = {
|
||||||
|
enable = true;
|
||||||
|
device = "nodev";
|
||||||
|
efiSupport = true;
|
||||||
|
useOSProber = true;
|
||||||
|
splashImage = background;
|
||||||
|
theme = pkgs.runCommand "my-grub-theme" {} ''
|
||||||
|
mkdir -p $out
|
||||||
|
cp -r ${baseTheme}/* $out/
|
||||||
|
chmod -R u+w $out
|
||||||
|
cp ${background} $out/background.png
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
5
modules/features/system/cloudflare.nix
Normal file
5
modules/features/system/cloudflare.nix
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
{...}: {
|
||||||
|
services = {
|
||||||
|
cloudflare-warp.enable = true;
|
||||||
|
};
|
||||||
|
}
|
||||||
11
modules/features/system/dconf.nix
Normal file
11
modules/features/system/dconf.nix
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
{
|
||||||
|
lib,
|
||||||
|
config,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
programs.dconf.enable = true;
|
||||||
|
environment.systemPackages = lib.optionals config.programs.dconf.enable [
|
||||||
|
pkgs.glib
|
||||||
|
];
|
||||||
|
}
|
||||||
5
modules/features/system/docker.nix
Normal file
5
modules/features/system/docker.nix
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
{...}: {
|
||||||
|
virtualisation.docker = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
}
|
||||||
9
modules/features/system/flatpak.nix
Normal file
9
modules/features/system/flatpak.nix
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
{
|
||||||
|
lib,
|
||||||
|
config,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
services.flatpak = lib.mkIf config.device.flatpak.enable {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
}
|
||||||
17
modules/features/system/forgejo.nix
Normal file
17
modules/features/system/forgejo.nix
Normal file
|
|
@ -0,0 +1,17 @@
|
||||||
|
{...}: {
|
||||||
|
services.forgejo = {
|
||||||
|
enable = true;
|
||||||
|
database.type = "mysql";
|
||||||
|
settings = {
|
||||||
|
service.DISABLE_REGISTRATION = true;
|
||||||
|
server = {
|
||||||
|
HTTP_PORT = 21350;
|
||||||
|
SSH_PORT = 15523;
|
||||||
|
START_SSH_SERVER = false;
|
||||||
|
SSH_CREATE_AUTHORIZED_KEYS_FILE = true;
|
||||||
|
SSH_DOMAIN = "server.asakiyuki.com";
|
||||||
|
ROOT_URL = "https://git.asakiyuki.com/";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
6
modules/features/system/gdm.nix
Normal file
6
modules/features/system/gdm.nix
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
{ lib, config, ... }:
|
||||||
|
{
|
||||||
|
services = lib.mkIf config.device.dm.gdm.enable {
|
||||||
|
displayManager.gdm.enable = true;
|
||||||
|
};
|
||||||
|
}
|
||||||
9
modules/features/system/gnome.nix
Normal file
9
modules/features/system/gnome.nix
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
{
|
||||||
|
lib,
|
||||||
|
config,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
services = lib.mkIf config.device.de.gnome.enable {
|
||||||
|
desktopManager.gnome.enable = true;
|
||||||
|
};
|
||||||
|
}
|
||||||
9
modules/features/system/hyprland.nix
Normal file
9
modules/features/system/hyprland.nix
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
{
|
||||||
|
lib,
|
||||||
|
config,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
programs.hyprland = lib.mkIf config.device.wm.hyprland.enable {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
}
|
||||||
10
modules/features/system/input-method.nix
Normal file
10
modules/features/system/input-method.nix
Normal file
|
|
@ -0,0 +1,10 @@
|
||||||
|
{pkgs, ...}: {
|
||||||
|
i18n.inputMethod = {
|
||||||
|
enable = true;
|
||||||
|
type = "fcitx5";
|
||||||
|
fcitx5.addons = with pkgs; [
|
||||||
|
# fcitx5-bamboo
|
||||||
|
kdePackages.fcitx5-unikey
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
10
modules/features/system/kde-plasma.nix
Normal file
10
modules/features/system/kde-plasma.nix
Normal file
|
|
@ -0,0 +1,10 @@
|
||||||
|
{
|
||||||
|
lib,
|
||||||
|
config,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
services = lib.mkIf config.device.de.kdePlasma.enable {
|
||||||
|
desktopManager.plasma6.enable = true;
|
||||||
|
xserver.enable = true;
|
||||||
|
};
|
||||||
|
}
|
||||||
8
modules/features/system/niri.nix
Normal file
8
modules/features/system/niri.nix
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
{
|
||||||
|
lib,
|
||||||
|
config,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
programs.niri.enable = lib.mkIf config.device.wm.niri.enable true;
|
||||||
|
services.xserver.enable = lib.mkIf config.device.wm.niri.enable true;
|
||||||
|
}
|
||||||
14
modules/features/system/nix-dl.nix
Normal file
14
modules/features/system/nix-dl.nix
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
{pkgs, ...}: {
|
||||||
|
programs.nix-ld = {
|
||||||
|
enable = true;
|
||||||
|
libraries = with pkgs; [
|
||||||
|
stdenv.cc.cc
|
||||||
|
zlib
|
||||||
|
brotli
|
||||||
|
unixODBC
|
||||||
|
zstd
|
||||||
|
glib
|
||||||
|
stdenv.cc.cc.lib
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
50
modules/features/system/packages.nix
Normal file
50
modules/features/system/packages.nix
Normal file
|
|
@ -0,0 +1,50 @@
|
||||||
|
{
|
||||||
|
pkgs,
|
||||||
|
lib,
|
||||||
|
config,
|
||||||
|
custom,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
environment.systemPackages = with pkgs;
|
||||||
|
[
|
||||||
|
git
|
||||||
|
vim
|
||||||
|
btop
|
||||||
|
wget
|
||||||
|
tree
|
||||||
|
|
||||||
|
nixd
|
||||||
|
alejandra
|
||||||
|
|
||||||
|
zip
|
||||||
|
unzip
|
||||||
|
|
||||||
|
kdePackages.kio-extras
|
||||||
|
kdePackages.kio-fuse
|
||||||
|
]
|
||||||
|
++ [
|
||||||
|
(lib.mkIf config.virtualisation.waydroid.enable (pkgs.callPackage (custom.cage-xtmapper {}) {}))
|
||||||
|
|
||||||
|
(lib.mkIf config.programs.ffmpeg.enable config.programs.ffmpeg.package)
|
||||||
|
(lib.mkIf config.programs.nodejs.enable config.programs.nodejs.package)
|
||||||
|
(lib.mkIf config.programs.bun.enable config.programs.bun.package)
|
||||||
|
(lib.mkIf config.programs.brightnessctl.enable config.programs.brightnessctl.package)
|
||||||
|
(lib.mkIf config.programs.php.enable config.programs.php.package)
|
||||||
|
(lib.mkIf config.programs.ntfs3g.enable config.programs.ntfs3g.package)
|
||||||
|
(lib.mkIf config.programs.python.enable config.programs.python.package)
|
||||||
|
(lib.mkIf config.programs.jdk.enable config.programs.jdk.package)
|
||||||
|
|
||||||
|
(lib.mkIf config.programs.quickshell.enable config.programs.quickshell.package)
|
||||||
|
(lib.mkIf config.programs.papirus-icons.enable config.programs.papirus-icons.package)
|
||||||
|
]
|
||||||
|
++ lib.concatLists [
|
||||||
|
(lib.optionals config.programs.gcc.enable config.programs.gcc.packages)
|
||||||
|
(lib.optionals config.programs.winepackages.enable config.programs.winepackages.packages)
|
||||||
|
(lib.optionals config.programs.kde-packages.enable config.programs.kde-packages.packages)
|
||||||
|
(lib.optionals config.programs.r-tensorflow.enable [config.programs.r-tensorflow.package])
|
||||||
|
(lib.optionals (
|
||||||
|
config.programs.hyprland-portals.enable && config.device.wm.hyprland.enable
|
||||||
|
)
|
||||||
|
config.programs.hyprland-portals.packages)
|
||||||
|
];
|
||||||
|
}
|
||||||
29
modules/features/system/sddm.nix
Normal file
29
modules/features/system/sddm.nix
Normal file
|
|
@ -0,0 +1,29 @@
|
||||||
|
{
|
||||||
|
pkgs,
|
||||||
|
lib,
|
||||||
|
config,
|
||||||
|
...
|
||||||
|
}: let
|
||||||
|
custom-sddm-astronaut = pkgs.sddm-astronaut.override {
|
||||||
|
embeddedTheme = config.device.dm.sddm.theme;
|
||||||
|
};
|
||||||
|
in {
|
||||||
|
services.displayManager.sddm = lib.mkIf config.device.dm.sddm.enable {
|
||||||
|
enable = true;
|
||||||
|
wayland.enable = true;
|
||||||
|
extraPackages = [
|
||||||
|
custom-sddm-astronaut
|
||||||
|
];
|
||||||
|
theme = "sddm-astronaut-theme";
|
||||||
|
settings = {
|
||||||
|
Theme = {
|
||||||
|
Current = "sddm-astronaut-theme";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
custom-sddm-astronaut
|
||||||
|
kdePackages.qtmultimedia
|
||||||
|
];
|
||||||
|
}
|
||||||
9
modules/features/system/steam.nix
Normal file
9
modules/features/system/steam.nix
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
{
|
||||||
|
lib,
|
||||||
|
config,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
programs.steam = lib.mkIf config.device.programs.steam.enable {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
}
|
||||||
5
modules/features/system/udisks2.nix
Normal file
5
modules/features/system/udisks2.nix
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
{...}: {
|
||||||
|
services.udisks2 = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
}
|
||||||
5
modules/features/system/upower.nix
Normal file
5
modules/features/system/upower.nix
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
{...}: {
|
||||||
|
services.upower = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
}
|
||||||
15
modules/features/system/waydroid.nix
Normal file
15
modules/features/system/waydroid.nix
Normal file
|
|
@ -0,0 +1,15 @@
|
||||||
|
{
|
||||||
|
pkgs,
|
||||||
|
lib,
|
||||||
|
config,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
virtualisation.waydroid = {
|
||||||
|
enable = true;
|
||||||
|
package = pkgs.waydroid-nftables;
|
||||||
|
};
|
||||||
|
|
||||||
|
environment.systemPackages = lib.optionals config.virtualisation.waydroid.enable [
|
||||||
|
pkgs.waydroid-helper
|
||||||
|
];
|
||||||
|
}
|
||||||
84
modules/fonts.nix
Normal file
84
modules/fonts.nix
Normal file
|
|
@ -0,0 +1,84 @@
|
||||||
|
{pkgs, ...}: let
|
||||||
|
fetch-fonts = {
|
||||||
|
segoe-ui = {
|
||||||
|
light = pkgs.fetchurl {
|
||||||
|
url = "https://c.s-microsoft.com/static/fonts/segoe-ui/west-european/light/latest.ttf";
|
||||||
|
sha256 = "1bqbvpxqflh4an5ciawrkl0bxy58vqhxiynspcvpx1zyryxcjlhm";
|
||||||
|
};
|
||||||
|
|
||||||
|
semilight = pkgs.fetchurl {
|
||||||
|
url = "https://c.s-microsoft.com/static/fonts/segoe-ui/west-european/semilight/latest.ttf";
|
||||||
|
sha256 = "1y6rfxdwwfq1bgk7fj4bvhck1di6whw5h0yby8gj7x6y1cv4ka1p";
|
||||||
|
};
|
||||||
|
|
||||||
|
normal = pkgs.fetchurl {
|
||||||
|
url = "https://c.s-microsoft.com/static/fonts/segoe-ui/west-european/normal/latest.ttf";
|
||||||
|
sha256 = "0ac4hgmlxl6cgak7g39rvfk25gs3fm5wlnmc7mbpv38i7mkppiaf";
|
||||||
|
};
|
||||||
|
|
||||||
|
bold = pkgs.fetchurl {
|
||||||
|
url = "https://c.s-microsoft.com/static/fonts/segoe-ui/west-european/bold/latest.ttf";
|
||||||
|
sha256 = "147mk64y2hihy6s29dlgimcrfi7ihi68qjcrfdzqk6cvk8kr3f0q";
|
||||||
|
};
|
||||||
|
|
||||||
|
semibold = pkgs.fetchurl {
|
||||||
|
url = "https://c.s-microsoft.com/static/fonts/segoe-ui/west-european/semibold/latest.ttf";
|
||||||
|
sha256 = "0whxgk9q4j9pd3k462m0dyr39q7vk2lxla5whcckyfrks983c4nj";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
custom = {
|
||||||
|
tahoma = pkgs.stdenv.mkDerivation {
|
||||||
|
pname = "tahoma";
|
||||||
|
version = "1.0";
|
||||||
|
dontUnpack = true;
|
||||||
|
|
||||||
|
src = pkgs.fetchurl {
|
||||||
|
url = "https://www.asakiyuki.com/static/fonts/Tahoma.ttf";
|
||||||
|
sha256 = "129l1cprplci2xmxi0gnsjrvprr48xqp8kr5s9lrwcnaxvb4z4ni";
|
||||||
|
};
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
mkdir -p $out/share/fonts/truetype
|
||||||
|
cp $src $out/share/fonts/truetype/
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
|
segoe-ui = pkgs.stdenv.mkDerivation {
|
||||||
|
pname = "segoe-ui";
|
||||||
|
version = "1.0";
|
||||||
|
dontUnpack = true;
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
mkdir -p $out/share/fonts/truetype
|
||||||
|
|
||||||
|
cp ${fetch-fonts.segoe-ui.light} $out/share/fonts/truetype
|
||||||
|
cp ${fetch-fonts.segoe-ui.semilight} $out/share/fonts/truetype
|
||||||
|
cp ${fetch-fonts.segoe-ui.normal} $out/share/fonts/truetype
|
||||||
|
cp ${fetch-fonts.segoe-ui.bold} $out/share/fonts/truetype
|
||||||
|
cp ${fetch-fonts.segoe-ui.semibold} $out/share/fonts/truetype
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
};
|
||||||
|
in {
|
||||||
|
fonts.enableDefaultPackages = true;
|
||||||
|
fonts.packages = with pkgs; [
|
||||||
|
custom.tahoma
|
||||||
|
custom.segoe-ui
|
||||||
|
|
||||||
|
# Nerd fonts
|
||||||
|
nerd-fonts.sauce-code-pro
|
||||||
|
|
||||||
|
# Unicode fonts
|
||||||
|
noto-fonts
|
||||||
|
noto-fonts-cjk-sans
|
||||||
|
noto-fonts-color-emoji
|
||||||
|
liberation_ttf
|
||||||
|
fira-code
|
||||||
|
fira-code-symbols
|
||||||
|
mplus-outline-fonts.githubRelease
|
||||||
|
dina-font
|
||||||
|
proggyfonts
|
||||||
|
];
|
||||||
|
}
|
||||||
3
modules/hardware/bluetooth.nix
Normal file
3
modules/hardware/bluetooth.nix
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
{config, ...}: {
|
||||||
|
hardware.bluetooth.enable = config.device.bluetooth.enable;
|
||||||
|
}
|
||||||
5
modules/hardware/default.nix
Normal file
5
modules/hardware/default.nix
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
{...}: {
|
||||||
|
imports = [
|
||||||
|
./bluetooth.nix
|
||||||
|
];
|
||||||
|
}
|
||||||
7
modules/home-manager.nix
Normal file
7
modules/home-manager.nix
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
{...}: {
|
||||||
|
home-manager = {
|
||||||
|
useUserPackages = true;
|
||||||
|
useGlobalPkgs = true;
|
||||||
|
backupFileExtension = "bak";
|
||||||
|
};
|
||||||
|
}
|
||||||
14
modules/programs/hyprland/default.nix
Normal file
14
modules/programs/hyprland/default.nix
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
{
|
||||||
|
lib,
|
||||||
|
osconfig,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
imports = [
|
||||||
|
./settings/default.nix
|
||||||
|
];
|
||||||
|
|
||||||
|
wayland.windowManager.hyprland = lib.mkIf osconfig.device.wm.hyprland.enable {
|
||||||
|
enable = true;
|
||||||
|
xwayland.enable = true;
|
||||||
|
};
|
||||||
|
}
|
||||||
14
modules/programs/hyprland/settings/default.nix
Normal file
14
modules/programs/hyprland/settings/default.nix
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
{osconfig, ...}: {
|
||||||
|
imports = [
|
||||||
|
./key-bind.nix
|
||||||
|
./theme.nix
|
||||||
|
./exec.nix
|
||||||
|
./window-rules.nix
|
||||||
|
./input.nix
|
||||||
|
];
|
||||||
|
|
||||||
|
wayland.windowManager.hyprland.settings = {
|
||||||
|
monitorv2 = osconfig.device.wm.hyprland.monitorsv2;
|
||||||
|
monitor = osconfig.device.wm.hyprland.monitor;
|
||||||
|
};
|
||||||
|
}
|
||||||
6
modules/programs/hyprland/settings/exec.nix
Normal file
6
modules/programs/hyprland/settings/exec.nix
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
{...}: {
|
||||||
|
wayland.windowManager.hyprland.settings.exec-once = [
|
||||||
|
"quickshell"
|
||||||
|
"fcitx5"
|
||||||
|
];
|
||||||
|
}
|
||||||
13
modules/programs/hyprland/settings/input.nix
Normal file
13
modules/programs/hyprland/settings/input.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
||||||
|
{...}: {
|
||||||
|
wayland.windowManager.hyprland.settings = {
|
||||||
|
"$LAPTOP_TOUCHPAD_ENABLE" = false;
|
||||||
|
|
||||||
|
device = {
|
||||||
|
name = "gxtp5100:00-27c6:01e0-touchpad";
|
||||||
|
enabled = "$LAPTOP_TOUCHPAD_ENABLE";
|
||||||
|
natural_scroll = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
input.touchpad.natural_scroll = true;
|
||||||
|
};
|
||||||
|
}
|
||||||
82
modules/programs/hyprland/settings/key-bind.nix
Normal file
82
modules/programs/hyprland/settings/key-bind.nix
Normal file
|
|
@ -0,0 +1,82 @@
|
||||||
|
{
|
||||||
|
osconfig,
|
||||||
|
config,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
wayland.windowManager.hyprland.settings = {
|
||||||
|
bind =
|
||||||
|
[
|
||||||
|
"CTRL ALT, T, exec, ${osconfig.device.programs.terminal.name}"
|
||||||
|
|
||||||
|
"SUPER SHIFT, L, exit,"
|
||||||
|
"SUPER SHIFT, TAB, togglefloating,"
|
||||||
|
"SUPER SHIFT, S, exec, hyprshot -m region -o '${config.home.homeDirectory}/Pictures/Screenshots/' -z"
|
||||||
|
"SUPER, J, togglesplit,"
|
||||||
|
"SUPER, E, exec, dolphin"
|
||||||
|
|
||||||
|
"SUPER, C, killactive"
|
||||||
|
|
||||||
|
"SUPER SHIFT, LEFT, resizeactive, -25 0"
|
||||||
|
"SUPER SHIFT, RIGHT, resizeactive, 25 0"
|
||||||
|
"SUPER SHIFT, UP, resizeactive, 0 -25"
|
||||||
|
"SUPER SHIFT, DOWN, resizeactive, 0 25"
|
||||||
|
|
||||||
|
"SUPER, LEFT, movefocus, l"
|
||||||
|
"SUPER, RIGHT, movefocus, r"
|
||||||
|
"SUPER, UP, movefocus, u"
|
||||||
|
"SUPER, DOWN, movefocus, d"
|
||||||
|
|
||||||
|
"SUPER CTRL, LEFT, movewindow, l"
|
||||||
|
"SUPER CTRL, RIGHT, movewindow, r"
|
||||||
|
"SUPER CTRL, UP, movewindow, u"
|
||||||
|
"SUPER CTRL, DOWN, movewindow, d"
|
||||||
|
|
||||||
|
"SUPER SHIFT, h, resizeactive, -25 0"
|
||||||
|
"SUPER SHIFT, l, resizeactive, 25 0"
|
||||||
|
"SUPER SHIFT, k, resizeactive, 0 -25"
|
||||||
|
"SUPER SHIFT, j, resizeactive, 0 25"
|
||||||
|
|
||||||
|
"SUPER, h, movefocus, l"
|
||||||
|
"SUPER, l, movefocus, r"
|
||||||
|
"SUPER, k, movefocus, u"
|
||||||
|
"SUPER, j, movefocus, d"
|
||||||
|
|
||||||
|
"SUPER CTRL, h, movewindow, l"
|
||||||
|
"SUPER CTRL, l, movewindow, r"
|
||||||
|
"SUPER CTRL, k, movewindow, u"
|
||||||
|
"SUPER CTRL, j, movewindow, d"
|
||||||
|
|
||||||
|
"SUPER, TAB, workspace, e+1"
|
||||||
|
"SUPER ALT, TAB, workspace, e-1"
|
||||||
|
"SUPER, MOUSE_DOWN, workspace, e-1"
|
||||||
|
"SUPER, MOUSE_UP, workspace, e+1"
|
||||||
|
|
||||||
|
", XF86TouchpadToggle, global, asakiyuki:touchpadtoggle"
|
||||||
|
"META ALT, B, global, asakiyuki:hdrtoggle"
|
||||||
|
"ALT, SPACE, global, asakiyuki:launcher"
|
||||||
|
|
||||||
|
",XF86MonBrightnessDown, exec, brightnessctl s 5%-"
|
||||||
|
",XF86MonBrightnessUp, exec, brightnessctl s +5%"
|
||||||
|
]
|
||||||
|
++ builtins.concatLists (
|
||||||
|
builtins.genList (i: [
|
||||||
|
"SUPER, ${toString (i + 1)}, workspace,${toString (i + 1)}"
|
||||||
|
"SUPER SHIFT, ${toString (i + 1)}, movetoworkspace,${toString (i + 1)}"
|
||||||
|
])
|
||||||
|
9
|
||||||
|
)
|
||||||
|
++ [
|
||||||
|
"SUPER, 0, workspace, 10"
|
||||||
|
"SUPER SHIFT, 0, movetoworkspace, 10"
|
||||||
|
];
|
||||||
|
|
||||||
|
bindi = [
|
||||||
|
", Caps_Lock, global, asakiyuki:capslock"
|
||||||
|
];
|
||||||
|
|
||||||
|
bindm = [
|
||||||
|
"SUPER, mouse:272, movewindow"
|
||||||
|
"SUPER, mouse:273, resizewindow"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
58
modules/programs/hyprland/settings/theme.nix
Normal file
58
modules/programs/hyprland/settings/theme.nix
Normal file
|
|
@ -0,0 +1,58 @@
|
||||||
|
{...}: {
|
||||||
|
wayland.windowManager.hyprland.settings = {
|
||||||
|
general = {
|
||||||
|
gaps_in = 3;
|
||||||
|
gaps_out = 8;
|
||||||
|
border_size = 1;
|
||||||
|
"col.active_border" = "rgb(cdd6f4)";
|
||||||
|
"col.inactive_border" = "rgb(7f849c)";
|
||||||
|
allow_tearing = true;
|
||||||
|
resize_on_border = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
decoration = {
|
||||||
|
rounding = 13;
|
||||||
|
rounding_power = 10;
|
||||||
|
active_opacity = 1;
|
||||||
|
inactive_opacity = 1;
|
||||||
|
|
||||||
|
blur = {
|
||||||
|
enabled = true;
|
||||||
|
size = 2;
|
||||||
|
passes = 5;
|
||||||
|
vibrancy = 3;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
animations = {
|
||||||
|
enabled = "yes";
|
||||||
|
|
||||||
|
bezier = [
|
||||||
|
"overshot, 0.05, 0.9, 0.1, 1.1"
|
||||||
|
"md3_decel, 0.05, 0.7, 0.1, 1"
|
||||||
|
];
|
||||||
|
|
||||||
|
animation = [
|
||||||
|
"windows, 1, 3, overshot, popin 60%"
|
||||||
|
"border, 1, 10, default"
|
||||||
|
"fade, 1, 2, default"
|
||||||
|
"workspaces, 1, 3.5, overshot, slidefade 15%"
|
||||||
|
"specialWorkspace, 1, 3, md3_decel, slidevert"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
dwindle = {
|
||||||
|
pseudotile = true;
|
||||||
|
preserve_split = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
master = {
|
||||||
|
new_status = "master";
|
||||||
|
};
|
||||||
|
|
||||||
|
misc = {
|
||||||
|
force_default_wallpaper = 1;
|
||||||
|
disable_hyprland_logo = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
20
modules/programs/hyprland/settings/window-rules.nix
Normal file
20
modules/programs/hyprland/settings/window-rules.nix
Normal file
|
|
@ -0,0 +1,20 @@
|
||||||
|
{...}: {
|
||||||
|
wayland.windowManager.hyprland.settings.windowrule = [
|
||||||
|
"float, class:(clipse)"
|
||||||
|
"size 622 652, class:(clipse)"
|
||||||
|
"stayfocused, class:(clipse)"
|
||||||
|
|
||||||
|
"suppressevent maximize, class:.*"
|
||||||
|
"nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0"
|
||||||
|
|
||||||
|
"opacity 0.0 override, class:^(xwaylandvideobridge)$"
|
||||||
|
"noanim, class:^(xwaylandvideobridge)$"
|
||||||
|
"noinitialfocus, class:^(xwaylandvideobridge)$"
|
||||||
|
"maxsize 1 1, class:^(xwaylandvideobridge)$"
|
||||||
|
"noblur, class:^(xwaylandvideobridge)$"
|
||||||
|
"nofocus, class:^(xwaylandvideobridge)$"
|
||||||
|
];
|
||||||
|
wayland.windowManager.hyprland.settings.windowrulev2 = [
|
||||||
|
"tile, class:^(Chromium)$"
|
||||||
|
];
|
||||||
|
}
|
||||||
51
modules/programs/nixcord/default.nix
Normal file
51
modules/programs/nixcord/default.nix
Normal file
|
|
@ -0,0 +1,51 @@
|
||||||
|
{
|
||||||
|
lib,
|
||||||
|
libs,
|
||||||
|
osconfig,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
programs.nixcord = lib.mkIf osconfig.device.programs.nixcord.enable {
|
||||||
|
enable = true;
|
||||||
|
discord = {
|
||||||
|
enable = true;
|
||||||
|
vencord.enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
quickCss = builtins.readFile (libs.root "/assets/discord/style.css");
|
||||||
|
|
||||||
|
config = {
|
||||||
|
useQuickCss = true;
|
||||||
|
enableReactDevtools = true;
|
||||||
|
themeLinks = ["https://catppuccin.github.io/discord/dist/catppuccin-mocha-blue.theme.css"];
|
||||||
|
|
||||||
|
plugins = {
|
||||||
|
BlurNSFW.enable = true;
|
||||||
|
volumeBooster.enable = true;
|
||||||
|
ClearURLs.enable = true;
|
||||||
|
copyEmojiMarkdown.enable = true;
|
||||||
|
youtubeAdblock.enable = true;
|
||||||
|
experiments.enable = true;
|
||||||
|
fixCodeblockGap.enable = true;
|
||||||
|
fixImagesQuality.enable = true;
|
||||||
|
fixSpotifyEmbeds.enable = true;
|
||||||
|
fixYoutubeEmbeds.enable = true;
|
||||||
|
gameActivityToggle.enable = true;
|
||||||
|
imageZoom.enable = true;
|
||||||
|
memberCount.enable = true;
|
||||||
|
mentionAvatars.enable = true;
|
||||||
|
noDevtoolsWarning.enable = true;
|
||||||
|
noF1.enable = true;
|
||||||
|
openInApp.enable = true;
|
||||||
|
voiceDownload.enable = true;
|
||||||
|
validUser.enable = true;
|
||||||
|
translate.enable = true;
|
||||||
|
whoReacted.enable = true;
|
||||||
|
|
||||||
|
fakeNitro = {
|
||||||
|
enable = true;
|
||||||
|
enableEmojiBypass = false;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
13
modules/programs/nixvim/_nixvim.nix
Normal file
13
modules/programs/nixvim/_nixvim.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
||||||
|
{...}: {
|
||||||
|
programs.nixvim.imports = [
|
||||||
|
./default.nix
|
||||||
|
./extra-packages.nix
|
||||||
|
|
||||||
|
./keymaps/_keymaps.nix
|
||||||
|
|
||||||
|
./plugins/_plugins.nix
|
||||||
|
./plugins/_extraPlugins.nix
|
||||||
|
|
||||||
|
./lua/_lua.nix
|
||||||
|
];
|
||||||
|
}
|
||||||
18
modules/programs/nixvim/default.nix
Normal file
18
modules/programs/nixvim/default.nix
Normal file
|
|
@ -0,0 +1,18 @@
|
||||||
|
{...}: {
|
||||||
|
enable = true;
|
||||||
|
vimdiffAlias = true;
|
||||||
|
colorschemes.catppuccin.enable = true;
|
||||||
|
|
||||||
|
opts = {
|
||||||
|
number = true;
|
||||||
|
relativenumber = true;
|
||||||
|
|
||||||
|
tabstop = 2;
|
||||||
|
shiftwidth = 2;
|
||||||
|
softtabstop = 2;
|
||||||
|
smartindent = true;
|
||||||
|
expandtab = true;
|
||||||
|
|
||||||
|
clipboard = "unnamedplus";
|
||||||
|
};
|
||||||
|
}
|
||||||
5
modules/programs/nixvim/extra-packages.nix
Normal file
5
modules/programs/nixvim/extra-packages.nix
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
{pkgs, ...}: {
|
||||||
|
extraPackages = with pkgs; [
|
||||||
|
nodePackages.prettier
|
||||||
|
];
|
||||||
|
}
|
||||||
26
modules/programs/nixvim/keymaps/_default.nix
Normal file
26
modules/programs/nixvim/keymaps/_default.nix
Normal file
|
|
@ -0,0 +1,26 @@
|
||||||
|
[
|
||||||
|
{
|
||||||
|
mode = "i";
|
||||||
|
key = "<A-h>";
|
||||||
|
action = "<Left>";
|
||||||
|
options.silent = true;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
mode = "i";
|
||||||
|
key = "<A-j>";
|
||||||
|
action = "<Down>";
|
||||||
|
options.silent = true;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
mode = "i";
|
||||||
|
key = "<A-k>";
|
||||||
|
action = "<Up>";
|
||||||
|
options.silent = true;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
mode = "i";
|
||||||
|
key = "<A-l>";
|
||||||
|
action = "<Right>";
|
||||||
|
options.silent = true;
|
||||||
|
}
|
||||||
|
]
|
||||||
9
modules/programs/nixvim/keymaps/_keymaps.nix
Normal file
9
modules/programs/nixvim/keymaps/_keymaps.nix
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
{...}: {
|
||||||
|
globals.mapleader = " ";
|
||||||
|
keymaps =
|
||||||
|
[]
|
||||||
|
++ (import ./_default.nix)
|
||||||
|
++ (import ./barbar.nix)
|
||||||
|
++ (import ./toggleterm.nix)
|
||||||
|
++ (import ./nvim-tree-toggle.nix);
|
||||||
|
}
|
||||||
39
modules/programs/nixvim/keymaps/barbar.nix
Normal file
39
modules/programs/nixvim/keymaps/barbar.nix
Normal file
|
|
@ -0,0 +1,39 @@
|
||||||
|
[
|
||||||
|
{
|
||||||
|
mode = "n";
|
||||||
|
key = "<A-,>";
|
||||||
|
action = "<cmd>BufferPrevious<CR>";
|
||||||
|
options.silent = true;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
mode = "n";
|
||||||
|
key = "<A-.>";
|
||||||
|
action = "<cmd>BufferNext<CR>";
|
||||||
|
options.silent = true;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
mode = "n";
|
||||||
|
key = "<A-<>";
|
||||||
|
action = "<cmd>BufferMovePrevious<CR>";
|
||||||
|
options.silent = true;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
mode = "n";
|
||||||
|
key = "<A->>";
|
||||||
|
action = "<cmd>BufferMoveNext<CR>";
|
||||||
|
options.silent = true;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
mode = "n";
|
||||||
|
key = "<A-c>";
|
||||||
|
action = "<Cmd>BufferClose<CR>";
|
||||||
|
options.silent = true;
|
||||||
|
}
|
||||||
|
]
|
||||||
|
++ (builtins.genList (i: {
|
||||||
|
mode = "n";
|
||||||
|
key = "<A-${toString (i + 1)}>";
|
||||||
|
action = "<cmd>BufferGoto ${toString (i + 1)}<CR>";
|
||||||
|
options.silent = true;
|
||||||
|
})
|
||||||
|
9)
|
||||||
8
modules/programs/nixvim/keymaps/nvim-tree-toggle.nix
Normal file
8
modules/programs/nixvim/keymaps/nvim-tree-toggle.nix
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
[
|
||||||
|
{
|
||||||
|
mode = "n";
|
||||||
|
key = "<C-b>";
|
||||||
|
action = "<cmd>NvimTreeToggle<CR>";
|
||||||
|
options.silent = true;
|
||||||
|
}
|
||||||
|
]
|
||||||
64
modules/programs/nixvim/keymaps/toggleterm.nix
Normal file
64
modules/programs/nixvim/keymaps/toggleterm.nix
Normal file
|
|
@ -0,0 +1,64 @@
|
||||||
|
[
|
||||||
|
{
|
||||||
|
mode = "t";
|
||||||
|
key = "<esc>";
|
||||||
|
action = "<C-\\><C-n>";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
mode = "t";
|
||||||
|
key = "jk";
|
||||||
|
action = "<C-\\><C-n>";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
mode = "t";
|
||||||
|
key = "<C-w>";
|
||||||
|
action = "<C-\\><C-n><C-w>";
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
mode = "t";
|
||||||
|
key = "<C-l>";
|
||||||
|
action = "<Cmd>wincmd l<CR>";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
mode = "t";
|
||||||
|
key = "<C-k>";
|
||||||
|
action = "<Cmd>wincmd k<CR>";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
mode = "t";
|
||||||
|
key = "<C-j>";
|
||||||
|
action = "<Cmd>wincmd j<CR>";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
mode = "t";
|
||||||
|
key = "<C-h>";
|
||||||
|
action = "<Cmd>wincmd h<CR>";
|
||||||
|
}
|
||||||
|
]
|
||||||
|
++ builtins.concatLists (
|
||||||
|
builtins.genList (i: [
|
||||||
|
{
|
||||||
|
mode = "n";
|
||||||
|
key = "<leader>th${toString (i + 1)}";
|
||||||
|
action = ":${toString (i + 1)}ToggleTerm direction=horizontal<CR>";
|
||||||
|
options.silent = true;
|
||||||
|
options.noremap = true;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
mode = "n";
|
||||||
|
key = "<leader>tv${toString (i + 1)}";
|
||||||
|
action = ":${toString (i + 1)}ToggleTerm direction=vertical<CR>";
|
||||||
|
options.silent = true;
|
||||||
|
options.noremap = true;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
mode = "n";
|
||||||
|
key = "<leader>tf${toString (i + 1)}";
|
||||||
|
action = ":${toString (i + 1)}ToggleTerm direction=float<CR>";
|
||||||
|
options.silent = true;
|
||||||
|
options.noremap = true;
|
||||||
|
}
|
||||||
|
])
|
||||||
|
9
|
||||||
|
)
|
||||||
2
modules/programs/nixvim/lua/_lua.nix
Normal file
2
modules/programs/nixvim/lua/_lua.nix
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
{...}: {
|
||||||
|
}
|
||||||
13
modules/programs/nixvim/plugins/_extraPlugins.nix
Normal file
13
modules/programs/nixvim/plugins/_extraPlugins.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
||||||
|
{pkgs, ...}: let
|
||||||
|
EXTRA_PLUGINS = [
|
||||||
|
./extras/neocord.nix
|
||||||
|
./extras/mini-icons.nix
|
||||||
|
];
|
||||||
|
|
||||||
|
LUA = [
|
||||||
|
./lua/neocord.lua
|
||||||
|
];
|
||||||
|
in {
|
||||||
|
extraPlugins = map (path: import path {plugins = pkgs.vimPlugins;}) EXTRA_PLUGINS;
|
||||||
|
extraConfigLua = builtins.concatStringsSep "\n" (map builtins.readFile LUA);
|
||||||
|
}
|
||||||
32
modules/programs/nixvim/plugins/_plugins.nix
Normal file
32
modules/programs/nixvim/plugins/_plugins.nix
Normal file
|
|
@ -0,0 +1,32 @@
|
||||||
|
{...} @ inputs: {
|
||||||
|
plugins = {
|
||||||
|
nvim-tree = import ./nvimtree.nix inputs;
|
||||||
|
lsp = import ./lsp.nix inputs;
|
||||||
|
lspkind = import ./lspkind.nix inputs;
|
||||||
|
conform-nvim = import ./conform-nvim.nix inputs;
|
||||||
|
which-key = import ./which-key.nix inputs;
|
||||||
|
lint = import ./lint.nix inputs;
|
||||||
|
|
||||||
|
cmp = import ./cmp.nix inputs;
|
||||||
|
cmp-nvim-lsp.enable = true;
|
||||||
|
cmp-buffer.enable = true;
|
||||||
|
cmp-path.enable = true;
|
||||||
|
cmp_luasnip.enable = true;
|
||||||
|
|
||||||
|
web-devicons.enable = true;
|
||||||
|
lz-n.enable = true;
|
||||||
|
treesitter.enable = true;
|
||||||
|
lualine.enable = true;
|
||||||
|
neoscroll.enable = true;
|
||||||
|
image.enable = true;
|
||||||
|
nvim-autopairs.enable = true;
|
||||||
|
bufferline.enable = true;
|
||||||
|
luasnip.enable = true;
|
||||||
|
friendly-snippets.enable = true;
|
||||||
|
indent-blankline.enable = true;
|
||||||
|
barbar.enable = true;
|
||||||
|
toggleterm.enable = true;
|
||||||
|
auto-save.enable = true;
|
||||||
|
visual-multi.enable = true;
|
||||||
|
};
|
||||||
|
}
|
||||||
25
modules/programs/nixvim/plugins/cmp.nix
Normal file
25
modules/programs/nixvim/plugins/cmp.nix
Normal file
|
|
@ -0,0 +1,25 @@
|
||||||
|
{...}: {
|
||||||
|
enable = true;
|
||||||
|
autoEnableSources = true;
|
||||||
|
|
||||||
|
settings = {
|
||||||
|
sources = [
|
||||||
|
{name = "nvim_lsp";}
|
||||||
|
{name = "path";}
|
||||||
|
{name = "luasnip";}
|
||||||
|
{name = "buffer";}
|
||||||
|
];
|
||||||
|
|
||||||
|
mapping = {
|
||||||
|
"<C-Space>" = "cmp.mapping.complete()";
|
||||||
|
"<C-d>" = "cmp.mapping.scroll_docs(-4)";
|
||||||
|
"<C-f>" = "cmp.mapping.scroll_docs(4)";
|
||||||
|
"<C-e>" = "cmp.mapping.abort()";
|
||||||
|
"<CR>" = "cmp.mapping.confirm({ select = true })";
|
||||||
|
"<Tab>" = "cmp.mapping(cmp.mapping.select_next_item(), {'i', 's'})";
|
||||||
|
"<S-Tab>" = "cmp.mapping(cmp.mapping.select_prev_item(), {'i', 's'})";
|
||||||
|
};
|
||||||
|
|
||||||
|
formatting.fields = ["kind" "abbr" "menu"];
|
||||||
|
};
|
||||||
|
}
|
||||||
19
modules/programs/nixvim/plugins/conform-nvim.nix
Normal file
19
modules/programs/nixvim/plugins/conform-nvim.nix
Normal file
|
|
@ -0,0 +1,19 @@
|
||||||
|
{...}: {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
formatters_by_ft = {
|
||||||
|
javascript = ["prettier"];
|
||||||
|
typescript = ["prettier"];
|
||||||
|
json = ["prettier"];
|
||||||
|
css = ["prettier"];
|
||||||
|
html = ["prettier"];
|
||||||
|
nix = ["nixfmt"];
|
||||||
|
php = ["php_cs_fixer"];
|
||||||
|
};
|
||||||
|
|
||||||
|
format_on_save = {
|
||||||
|
timeout_ms = 500;
|
||||||
|
lsp_fallback = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
3
modules/programs/nixvim/plugins/extras/mini-icons.nix
Normal file
3
modules/programs/nixvim/plugins/extras/mini-icons.nix
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
{plugins, ...}: {
|
||||||
|
plugin = plugins.mini-icons;
|
||||||
|
}
|
||||||
3
modules/programs/nixvim/plugins/extras/neocord.nix
Normal file
3
modules/programs/nixvim/plugins/extras/neocord.nix
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
{plugins, ...}: {
|
||||||
|
plugin = plugins.neocord;
|
||||||
|
}
|
||||||
5
modules/programs/nixvim/plugins/lint.nix
Normal file
5
modules/programs/nixvim/plugins/lint.nix
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
{...}: {
|
||||||
|
enable = true;
|
||||||
|
lintersByFt = {
|
||||||
|
};
|
||||||
|
}
|
||||||
11
modules/programs/nixvim/plugins/lsp.nix
Normal file
11
modules/programs/nixvim/plugins/lsp.nix
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
{...}: {
|
||||||
|
enable = true;
|
||||||
|
servers = {
|
||||||
|
phpactor.enable = true;
|
||||||
|
nil_ls.enable = true;
|
||||||
|
pyright.enable = true;
|
||||||
|
ts_ls.enable = true;
|
||||||
|
html.enable = true;
|
||||||
|
cssls.enable = true;
|
||||||
|
};
|
||||||
|
}
|
||||||
4
modules/programs/nixvim/plugins/lspkind.nix
Normal file
4
modules/programs/nixvim/plugins/lspkind.nix
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
{...}: {
|
||||||
|
enable = true;
|
||||||
|
cmp.enable = true;
|
||||||
|
}
|
||||||
24
modules/programs/nixvim/plugins/lua/neocord.lua
Normal file
24
modules/programs/nixvim/plugins/lua/neocord.lua
Normal file
|
|
@ -0,0 +1,24 @@
|
||||||
|
require("neocord").setup({
|
||||||
|
-- General options
|
||||||
|
logo= "auto", -- "auto" or url
|
||||||
|
logo_tooltip= nil,-- nil or string
|
||||||
|
main_image= "language", -- "language" or "logo"
|
||||||
|
client_id = "1157438221865717891",-- Use your own Discord application client id (not recommended)
|
||||||
|
log_level = nil,-- Log messages at or above this level (one of the following: "debug", "info", "warn", "error")
|
||||||
|
debounce_timeout= 10, -- Number of seconds to debounce events (or calls to `:lua package.loaded.presence:update(<filename>, true)`)
|
||||||
|
blacklist = {}, -- A list of strings or Lua patterns that disable Rich Presence if the current file name, path, or workspace matches
|
||||||
|
file_assets = {}, -- Custom file asset definitions keyed by file names and extensions (see default config at `lua/presence/file_assets.lua` for reference)
|
||||||
|
show_time = true, -- Show the timer
|
||||||
|
global_timer= false,-- if set true, timer won't update when any event are triggered
|
||||||
|
buttons = nil,-- A list of buttons (objects with label and url attributes) or a function returning such list.
|
||||||
|
|
||||||
|
-- Rich Presence text options
|
||||||
|
editing_text= "Editing %s", -- Format string rendered when an editable file is loaded in the buffer (either string or function(filename: string): string)
|
||||||
|
file_explorer_text= "Browsing %s",-- Format string rendered when browsing a file explorer (either string or function(file_explorer_name: string): string)
|
||||||
|
git_commit_text = "Committing changes", -- Format string rendered when committing changes in git (either string or function(filename: string): string)
|
||||||
|
plugin_manager_text = "Managing plugins", -- Format string rendered when managing plugins (either string or function(plugin_manager_name: string): string)
|
||||||
|
reading_text= "Reading %s", -- Format string rendered when a read-only or unmodifiable file is loaded in the buffer (either string or function(filename: string): string)
|
||||||
|
workspace_text= "Working on %s",-- Format string rendered when in a git repository (either string or function(project_name: string|nil, filename: string): string)
|
||||||
|
line_number_text= "Line %s out of %s",-- Format string rendered when `enable_line_number` is set to true (either string or function(line_number: number, line_count: number): string)
|
||||||
|
terminal_text = "Using Terminal", -- Format string rendered when in terminal mode.
|
||||||
|
})
|
||||||
5
modules/programs/nixvim/plugins/nvimtree.nix
Normal file
5
modules/programs/nixvim/plugins/nvimtree.nix
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
{...}: {
|
||||||
|
enable = true;
|
||||||
|
openOnSetupFile = true;
|
||||||
|
settings.auto_reload_on_write = true;
|
||||||
|
}
|
||||||
6
modules/programs/nixvim/plugins/which-key.nix
Normal file
6
modules/programs/nixvim/plugins/which-key.nix
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
{...}: {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
preset = "modern";
|
||||||
|
};
|
||||||
|
}
|
||||||
7
modules/services/adguardhome.nix
Normal file
7
modules/services/adguardhome.nix
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
{...}: {
|
||||||
|
services.adguardhome = {
|
||||||
|
enable = true;
|
||||||
|
port = 34778;
|
||||||
|
openFirewall = true;
|
||||||
|
};
|
||||||
|
}
|
||||||
Some files were not shown because too many files have changed in this diff Show more
Reference in a new issue