2019-10-09 00:55:35 +02:00
|
|
|
{ config, pkgs, ...}:
|
|
|
|
{
|
|
|
|
imports = [
|
|
|
|
<nixpkgs/nixos/modules/profiles/minimal.nix>
|
|
|
|
<nixpkgs/nixos/modules/profiles/qemu-guest.nix>
|
|
|
|
./mod-seafile-server.nix
|
|
|
|
];
|
|
|
|
|
|
|
|
nixpkgs.overlays = [
|
2019-10-21 22:46:10 +02:00
|
|
|
(import ./default.nix)
|
2019-10-09 00:55:35 +02:00
|
|
|
];
|
|
|
|
|
|
|
|
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";
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|