nixos-seafile-overlay/seafile-test.nix
Trolli Schmittlauch 764edc371c first draft of seafile-server module + test VM
test vm can be built using
`NIXOS_CONFIG="$(pwd)/seafile-test.nix" nixos-rebuild build-vm --show-trace`
2019-10-09 00:56:51 +02:00

32 lines
726 B
Nix

{ config, pkgs, ...}:
{
imports = [
<nixpkgs/nixos/modules/profiles/minimal.nix>
<nixpkgs/nixos/modules/profiles/qemu-guest.nix>
./mod-seafile-server.nix
];
nixpkgs.overlays = [
(import /home/spiollinux/nixconfigs/home/ov/seafile-overlay)
];
i18n.consoleKeyMap = "de";
users.mutableUsers = false;
users.users.test = {
isNormalUser = true;
extraGroups = [ "wheel" ];
#hashedPassword = "$6$SZCzE/xB$Hr9sfsJ7xAcBCoptG39cxxQk8RZfldDjjGpSngOvn9Ufex5dHBEbdncXRZnfrGATsGcYPvLi7m4wIu.f8tY9B.";
password = "";
home = "/home/test";
createHome = true;
};
# Seafile
services.seafile-server = {
enable = true;
#autorun = false;
domainName = "localhost";
};
}