32 lines
688 B
Nix
32 lines
688 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 ./default.nix)
|
|
];
|
|
|
|
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";
|
|
};
|
|
|
|
}
|