82 lines
1.5 KiB
Nix
82 lines
1.5 KiB
Nix
{ config, pkgs, lib, ... }: {
|
|
|
|
imports = [
|
|
|
|
../../components
|
|
../../modules
|
|
|
|
./hardware-configuration.nix
|
|
./packages.nix
|
|
./syncthing.nix
|
|
./tinc.nix
|
|
# ./trilium.nix
|
|
|
|
#./wifi-access-point.nix
|
|
#./wireshark.nix
|
|
#./qemu.nix
|
|
./wireguard.nix
|
|
|
|
];
|
|
|
|
components.gui.enable = true;
|
|
components.terminal.enable = true;
|
|
components.network.enable = true;
|
|
components.network.wifi.enable = true;
|
|
components.mainUser.enable = true;
|
|
users.users.mainUser.extraGroups = [ "adbusers" "video" ];
|
|
|
|
services.printing.enable = false;
|
|
|
|
services.nginx.enable = true;
|
|
|
|
networking.hostName = "sterni";
|
|
|
|
services.flatpak.enable = true;
|
|
|
|
security.wrappers = {
|
|
pmount = {
|
|
source = "${pkgs.pmount}/bin/pmount";
|
|
setuid = true;
|
|
owner = "root";
|
|
group = "root";
|
|
};
|
|
pumount = {
|
|
source = "${pkgs.pmount}/bin/pumount";
|
|
setuid = true;
|
|
owner = "root";
|
|
group = "root";
|
|
};
|
|
};
|
|
|
|
# still needed?
|
|
home-manager.users.mainUser.home.stateVersion = "22.11";
|
|
|
|
virtualisation = {
|
|
docker.enable = true;
|
|
podman.enable = true;
|
|
|
|
virtualbox = {
|
|
host.enable = false;
|
|
guest.x11 = false;
|
|
guest.enable = false;
|
|
};
|
|
};
|
|
|
|
services.xserver.desktopManager.gnome.enable = true;
|
|
|
|
samba-share = {
|
|
enable = false;
|
|
folders = {
|
|
share = "/home/share";
|
|
video = "/home/video-material";
|
|
};
|
|
};
|
|
|
|
# for congress and streaming
|
|
hardware.opengl = {
|
|
enable = true;
|
|
driSupport = true;
|
|
driSupport32Bit = true;
|
|
};
|
|
|
|
}
|