2021-03-05 08:22:35 +01:00
|
|
|
{ config, pkgs, lib, ... }: {
|
|
|
|
|
|
|
|
imports = [
|
|
|
|
|
|
|
|
<system/desktop>
|
|
|
|
./hardware-configuration.nix
|
|
|
|
|
|
|
|
./packages.nix
|
2021-03-10 19:27:43 +01:00
|
|
|
./syncthing.nix
|
2021-03-05 08:22:35 +01:00
|
|
|
./tinc.nix
|
|
|
|
|
|
|
|
];
|
|
|
|
|
|
|
|
networking.hostName = "sternchen";
|
|
|
|
|
|
|
|
system.custom.mainUser.userName = "tina";
|
|
|
|
|
|
|
|
system.custom.wifi.interfaces = [ "wlp3s0" ];
|
|
|
|
|
|
|
|
security.wrappers = {
|
|
|
|
pmount.source = "${pkgs.pmount}/bin/pmount";
|
|
|
|
pumount.source = "${pkgs.pmount}/bin/pumount";
|
|
|
|
};
|
|
|
|
|
|
|
|
programs.custom.steam.enable = false;
|
2021-03-05 16:01:24 +01:00
|
|
|
programs.custom.video.enable = true;
|
2021-03-05 08:22:35 +01:00
|
|
|
|
2021-03-06 05:59:24 +01:00
|
|
|
# keyboard fiddling
|
|
|
|
i18n.defaultLocale = "de_DE.UTF-8";
|
|
|
|
console.keyMap = "de";
|
|
|
|
services.xserver.layout = "de,us";
|
2021-03-05 17:42:00 +01:00
|
|
|
|
2021-03-06 05:59:24 +01:00
|
|
|
system.custom.suspend.enable = false;
|
2021-03-05 08:22:35 +01:00
|
|
|
services.printing.enable = true;
|
|
|
|
|
|
|
|
# fonts
|
|
|
|
# -----
|
|
|
|
programs.custom.urxvt.fontSize = 12;
|
|
|
|
programs.custom.xterm.fontSize = 12;
|
|
|
|
system.custom.fonts.dpi = 100;
|
|
|
|
|
2021-03-06 05:59:24 +01:00
|
|
|
# x11
|
|
|
|
# ---
|
2021-03-05 08:22:35 +01:00
|
|
|
configuration.desktop = {
|
|
|
|
width = 1366;
|
|
|
|
height = 768;
|
|
|
|
};
|
2021-03-06 05:59:24 +01:00
|
|
|
# for congress and streaming
|
|
|
|
hardware.opengl = {
|
|
|
|
enable = true;
|
|
|
|
extraPackages = [ pkgs.vaapiIntel ];
|
2021-03-15 08:28:27 +01:00
|
|
|
driSupport = true;
|
2021-03-06 05:59:24 +01:00
|
|
|
driSupport32Bit = true;
|
|
|
|
};
|
|
|
|
nixpkgs.config.packageOverrides = pkgs: {
|
|
|
|
vaapiIntel = pkgs.vaapiIntel.override { enableHybridCodec = true; };
|
|
|
|
};
|
2021-03-05 08:22:35 +01:00
|
|
|
|
2021-03-06 05:59:24 +01:00
|
|
|
services.xserver.displayManager.defaultSession = "plasma5";
|
|
|
|
services.xserver.desktopManager.pantheon.enable = true;
|
|
|
|
services.xserver.desktopManager.plasma5.enable = true;
|
|
|
|
services.xserver.desktopManager.xfce.enable = true;
|
2021-03-10 19:27:43 +01:00
|
|
|
services.xserver.desktopManager.gnome3.enable = false;
|
2021-03-06 05:59:24 +01:00
|
|
|
|
|
|
|
# stuff
|
|
|
|
# -----
|
2021-03-05 08:22:35 +01:00
|
|
|
custom.samba-share = {
|
|
|
|
enable = false;
|
|
|
|
folders = {
|
|
|
|
#public = "/home/palo/movies";
|
|
|
|
share = "/home/share";
|
|
|
|
#syncthing = "/mnt/syncthing";
|
|
|
|
#movies = "/mnt/syncthing/movies";
|
|
|
|
#series = "/mnt/syncthing/series";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
# enable this to use sidequest
|
|
|
|
programs.adb.enable = false;
|
|
|
|
users.users.mainUser.extraGroups = [ "adbusers" "video" ];
|
|
|
|
|
2021-03-06 05:59:24 +01:00
|
|
|
virtualisation = {
|
|
|
|
docker.enable = false;
|
2021-03-05 08:22:35 +01:00
|
|
|
|
2021-03-06 05:59:24 +01:00
|
|
|
virtualbox = {
|
|
|
|
host.enable = false;
|
|
|
|
guest.x11 = false;
|
|
|
|
guest.enable = false;
|
|
|
|
};
|
|
|
|
};
|
2021-03-05 16:01:24 +01:00
|
|
|
|
2021-03-06 05:59:24 +01:00
|
|
|
# keybase
|
|
|
|
services.keybase.enable = false;
|
|
|
|
services.kbfs.enable = false;
|
2021-03-05 16:01:24 +01:00
|
|
|
|
2021-03-05 08:22:35 +01:00
|
|
|
}
|
|
|
|
|