| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
Unfortunately, we can't just explicitely override the zsh package and
refer to it in systemPackages, so we need to override it using
nixpkgs.config.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
It's currently only BeeHive, but our goal is to dissolve labernix step
by step until nothing is left.
Also, we're now no longer namespace the pkgs with vuizvui directly in
the package list. Before it wasn't even namespaced correctly (except for
inside pkgs/ directly) and we did override the packages using the dirty
approach in overrides/.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
|
|
|
|
|
|
|
|
|
| |
Similar to callMachine, we now have callTest. The latter uses
make-test.nix, so we don't need to import the file explicitly anymore
and can just write our VM test by using either an attrset or a lambda
function which also gets our own packages in a vuizvui namespace.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
|
|
|
|
|
|
|
| |
We're going to write much more tests and don't want to clutter up the
tests/ directory.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
|
|
|
|
|
|
|
|
|
|
| |
I want to have a useful zsh configuration on all of my machines, so
let's not only enable it for the workstation profile.
Also, this removes a redundant zsh reference in the systemPackages of
the base profile.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
|
|
|
|
|
|
|
|
|
|
| |
Gets rid of my own crap in the vuizvui pkgs namespace and makes it
easier for other users to selectively use my Vim configuration.
It's still not as fleshed out as I wish it would be, but let's do that
later if needed.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This means, we don't have that lib directory anymore and also we're not
doing text substitution on the kernel config but instead override the
original attributes.
However, this needs to be refactored even further, so we can use the
NixOS kernel system, which allows for certain modules to require
specific kernel features. That way we can automatically create a kernel
config from the list of required features and we only need to set a
specific base config instead of specifying the *full* kernel config.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
|
|
|
|
|
|
|
|
| |
On upstream nixpkgs we have "system" and "hardware" but in our case the
amount of modules should be rather small, so it doesn't make sense to
separate those categories.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
|
|
|
|
|
|
|
|
| |
Thus we now got rid of the cfgfiles directory, especially because the
Synergy server config file is rather small, so inlining makes sense
here.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
|
|
|
|
|
|
|
|
| |
Now we no longer pollute the repository root with Gajim (for example in
cfgfiles/) and it's also easier to enable/disable my personal Gajim
config among my own machines.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
|
|
|
|
|
|
|
|
| |
Using "import ../machines" is a bit ugly here, so we might want to
integrate this into make-test.nix, but other than that it should work
nevertheless.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
|
|
|
|
|
|
|
|
|
|
|
| |
So far I'm not quite sure whether mailserver really belongs to labnet,
so I'm leaving it at the labernix subtree. Maybe it even makes sense to
just make it a profile until we have it on a real machine.
We no longer need common.nix for these machines, because it is already
done via callMachine.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
|
|
|
|
|
|
|
|
|
| |
Using package.nix as a module would mean that we would need to check for
the workstation profile in there again, so let's just make it a list and
import it from the default.nix where we only once check whether the
profile is enabled.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
|
|
|
|
|
|
|
| |
We already have abstracted the injection of the module list in labernix,
so we can reuse this with only minor changes.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
|
|
|
|
|
|
|
|
| |
The profile is now a directory with a default.nix, which makes it more
managable without shovelling the whole packages.nix into the profile
module.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Both files are specific to my machines only and need to be generalized
in order to be useful for anyone else.
Moving these files has a few other censequences, such that we now need
to automatically import the module-list.nix in callMachine.
Speaking of module-list.nix, the file is now alphabetically sorted.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
|
|
|
|
| |
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
|
|
|
|
|
|
|
|
| |
So far the modules were still using the old naming scheme of
vuizvui.name where name is the corresponding module name directly
instead of the category.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
|
|
|
|
|
|
|
| |
Some modules might be generic enough to be included in modules/
directly, but for now, let's just get them out of the way.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
|
|
|
|
| |
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
|
|
|
|
|
|
| |
They're no longer just my own configs, so let's state that accordingly.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
|
|
|
|
| |
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
|
|
|
|
| |
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
|
|
|
|
|
|
| |
Whoops, forgot about this one in 2b8256b.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
|
|
|
|
|
|
|
|
|
|
|
| |
Introduces callMachine in machines/default.nix, which returns an
attribute set containing the (input) configuration and also a build
attribute containing the output configuration and thus also the builds.
However, we still have references to ../../common-workstation.nix which
we need to refactor very soon.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
|
|
|
|
| |
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This is the first step of generalizing the configurations into a big
repository where people can track their NixOS configurations and write
modules.
In the next few steps I'm going to gradually refactor everything in
labernix/ into the main tree and factor out personal stuff into separate
namespaces.
Also, this will involve a license change from APACHE-2.0 to GPL-3.0.
|
| |
| |
| |
| |
| |
| |
| |
| | |
This currently is just a dummy module for now with a big fat TODO, but
at least we now have a homogenous module namespace starting with
"labernix." and categorized by services/config/tasks/whatnot.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
|
| |
| |
| |
| |
| |
| |
| |
| | |
I shouldn't be wondering why it doesn't find the module options if we
prepare the override but don't actually use it. So this also fixes a few
other errors related to that we're now actually using our own modules.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
|
| |
| |
| |
| | |
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
|
| |
| |
| |
| |
| |
| |
| |
| | |
We're going not only to modify all VM test nodes, but also inject the
updated pkgs into the tests own arguments, so we can refer to them even
outside of testing machine configuration modules.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
|
| |
| |
| |
| |
| |
| |
| |
| | |
We now have "pkgs.labernix" available for every machine. Also, we're
deactivating the packet filter by default, so we can use it whenever we
_really_ need it.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
We're going to add this as common modules for all machines in the
repository, so we can define own options easily and without the need to
refer to the modules directly.
Also, we can easily create a manual for labernix specific modules.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
|
| |
| |
| |
| |
| |
| | |
This includes pull request muesli/beehive#49 from @Profpatsch.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
|
| |
| |
| |
| |
| |
| |
| | |
We want to be easily able to fetch the store paths and to monitor build
results.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Roughly generated using go2nix, but patched a few of the examples out
and cleaned up the dependencies expression. Somehowe go2nix fetched
appstats, which did not build but somehow wasn't required in order to
build beehive.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
|
| |
| |
| |
| | |
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
|
| |
| |
| |
| | |
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
|
| |
| |
| |
| |
| |
| |
| |
| | |
We don't have a Nix package for pronterface yet and slic3r is broken
right now, so we need to investigate it after the first build from
Hydra.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Unfortunately, using builtins.readDir isn't very good idea here, because
all file references from expression files found via readDir will have
imports relative to the Nix store.
We can only work around it if we copy the whole source tree into the
store, but for the sake of simplicity it's also better if we use
explicit imports.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
|
| |
| |
| |
| |
| |
| |
| |
| | |
As these machines are not deployed yet, we need to put in dummy values,
because if we're not building VMs those attributes are expected to be
set and end up with an evaluation error.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
At the moment this is also the release Nix expression we're going to use
for Hydra. Right now, the machine expressions don't evaluate because
they're lacking hardware information. But apart from that we should get
out full system builds afterwards.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
At least, this is after I asked around who wanted to have which software
on the LabTop by default.
For repetierhost, we don't have a package yet and we're going to package
it first. Unfortunately it's proprietary software, so we may need to
patchelf :-/
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
|
| |
| |
| |
| |
| |
| |
| | |
The hardware has a US keyboard layout, so let's match it with the
configuration.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
A still unfinished version of @waaaaargh's ansible deployment:
https://github.com/waaaaargh/mailserver-ansible
The idea here is to create a NixOS profile specific to large-scole mail
server deployments. All with a 100% fleshed out Postfix configuration of
course :-)
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
|
| |
| |
| |
| |
| |
| |
| |
| | |
I found this to be a better idea rather than leaving them unlicensed, so
in the event someone likes to distribute the repository it shouldn't
raise questions about whether it's legal.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Right now, the license is only for all Nix expression files, which
means, that patches and other files are unlicensed for now. If someone
would like to redistribute them, feel free to open an issue.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Currently, this one is unfinished and I was working on it while I've
been at the Lab and don't have a clue right now where I left off.
But it's still a good idea to add it here, so someone[TM] can finish it
someday.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
|
| |
| |
| |
| |
| |
| |
| | |
If we want to make tests or modules for those machines, it makes sense
to properly namespace them.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Posted this at openlab-aux/labnetz-doku#2 already, so it's more or less
the same but with minor enhancements. For example the routes are now
specified using an attribute set and we have option declarations now.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
|