2023-02-13 18:40:56 +01:00
|
|
|
{ config, pkgs, lib, ... }: {
|
|
|
|
|
|
|
|
imports = [
|
|
|
|
|
|
|
|
../../system/desktop
|
|
|
|
../../system/server/netdata.nix
|
|
|
|
|
|
|
|
./hardware-configuration.nix
|
|
|
|
./packages.nix
|
|
|
|
./syncthing.nix
|
|
|
|
./tinc.nix
|
|
|
|
|
|
|
|
#./wifi-access-point.nix
|
|
|
|
#./wireshark.nix
|
|
|
|
#./scanner.nix
|
2023-02-16 13:52:15 +01:00
|
|
|
./qemu.nix
|
2023-02-13 18:40:56 +01:00
|
|
|
./wireguard.nix
|
|
|
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
|
|
services.nginx.enable = true;
|
|
|
|
|
|
|
|
networking.hostName = "cream";
|
|
|
|
|
|
|
|
system.custom.wifi.interfaces = [ "wlp166s0" ];
|
|
|
|
|
|
|
|
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";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
programs.custom.steam.enable = true;
|
|
|
|
programs.custom.video.enable = false;
|
|
|
|
|
|
|
|
services.printing.enable = true;
|
|
|
|
|
|
|
|
# fonts
|
|
|
|
# -----
|
2023-02-16 13:52:15 +01:00
|
|
|
programs.custom.urxvt.fontSize = 16;
|
|
|
|
programs.custom.urxvt.fontType = "vector";
|
|
|
|
programs.custom.xterm.fontSize = 16;
|
|
|
|
# todo : add xterm fontType
|
2023-02-16 21:43:28 +01:00
|
|
|
# programs.custom.xterm.fontType = "vector";
|
2023-02-13 18:40:56 +01:00
|
|
|
|
|
|
|
virtualisation = {
|
|
|
|
docker.enable = true;
|
|
|
|
podman.enable = true;
|
|
|
|
virtualbox = {
|
|
|
|
host.enable = false;
|
|
|
|
guest.x11 = false;
|
|
|
|
guest.enable = false;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
configuration.desktop = {
|
|
|
|
width = 2256;
|
|
|
|
height = 1504;
|
|
|
|
};
|
|
|
|
|
|
|
|
services.xserver.desktopManager.gnome.enable = true;
|
2023-02-16 21:43:28 +01:00
|
|
|
#services.xserver.displayManager.lightdm.enable = false;
|
|
|
|
#services.xserver.displayManager.sddm.enable = true;
|
2023-02-13 18:40:56 +01:00
|
|
|
|
|
|
|
custom.samba-share = {
|
|
|
|
enable = false;
|
|
|
|
folders = {
|
|
|
|
share = "/home/share";
|
|
|
|
video = "/home/video-material";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
# for congress and streaming
|
|
|
|
hardware.opengl = {
|
2023-02-16 21:43:28 +01:00
|
|
|
enable = true; # todo I actually want opengl
|
2023-02-16 13:52:15 +01:00
|
|
|
#driSupport = true;
|
|
|
|
#driSupport32Bit = true;
|
2023-02-13 18:40:56 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
system.stateVersion = "22.11"; # Did you read the comment?
|
|
|
|
|
|
|
|
}
|