33 lines
683 B
Nix
33 lines
683 B
Nix
|
{ lib, pkgs, ... }:
|
||
|
{
|
||
|
nixpkgs.hostPlatform = "x86_64-linux";
|
||
|
|
||
|
boot.loader.efi.canTouchEfiVariables = true;
|
||
|
boot.loader.systemd-boot.enable = true;
|
||
|
|
||
|
users.users.test = {
|
||
|
isNormalUser = true;
|
||
|
extraGroups = [ "wheel" ];
|
||
|
initialPassword = "test";
|
||
|
};
|
||
|
|
||
|
services.xserver = {
|
||
|
enable = true;
|
||
|
displayManager = {
|
||
|
autoLogin.enable = true;
|
||
|
autoLogin.user = "test";
|
||
|
};
|
||
|
};
|
||
|
|
||
|
virtualisation.vmVariant.virtualisation = {
|
||
|
memorySize = 2048;
|
||
|
cores = 3;
|
||
|
};
|
||
|
|
||
|
environment.systemPackages = with pkgs; [ synology-drive-client ];
|
||
|
|
||
|
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
|
||
|
"synology-drive-client"
|
||
|
];
|
||
|
}
|