nixos-config/nixos/machines/cream/configuration.nix

98 lines
1.8 KiB
Nix
Raw Normal View History

2023-02-13 18:40:56 +01:00
{ config, pkgs, lib, ... }: {
imports = [
2023-02-17 00:41:22 +01:00
../../components
2023-02-13 18:40:56 +01:00
../../system/desktop
../../system/server/netdata.nix
./hardware-configuration.nix
./packages.nix
./syncthing.nix
./tinc.nix
2023-02-20 13:45:06 +01:00
./cups.nix
2023-02-13 18:40:56 +01:00
#./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
./borg.nix
2023-02-13 18:40:56 +01:00
];
2023-02-17 00:41:22 +01:00
components.gui.enable = true;
2023-02-13 18:40:56 +01:00
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.video.enable = false;
2023-02-17 11:45:09 +01:00
programs.custom.steam.enable = true;
2023-02-13 18:40:56 +01:00
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-17 11:45:09 +01:00
enable = true;
2023-02-13 18:40:56 +01:00
};
2023-02-17 11:45:09 +01:00
system.stateVersion = "22.11";
2023-02-13 18:40:56 +01:00
}