nixos-config/nixos/configs/sternchen/configuration.nix

110 lines
2.4 KiB
Nix
Raw Normal View History

2021-03-05 08:22:35 +01:00
{ config, pkgs, lib, ... }: {
imports = [
2021-09-27 18:53:45 +02:00
../../system/desktop
2021-03-05 08:22:35 +01:00
./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
];
2021-11-18 21:10:30 +01:00
home-manager.users.mainUser.home.git-pull.enable = false;
2021-11-18 11:39:19 +01:00
sops.defaultSopsFile = ../../secrets/sternchen.yaml;
2021-03-05 08:22:35 +01:00
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";
2021-03-18 21:12:43 +01:00
services.xserver.desktopManager.pantheon.enable = false;
services.xserver.desktopManager.xfce.enable = false;
2021-11-18 20:47:06 +01:00
services.xserver.desktopManager.gnome.enable = false;
2021-03-06 05:59:24 +01:00
2021-03-18 21:12:43 +01:00
services.xserver.desktopManager.cinnamon.enable = true;
services.xserver.desktopManager.lxqt.enable = true;
services.xserver.desktopManager.mate.enable = true;
services.xserver.desktopManager.plasma5.enable = true;
services.xserver.desktopManager.plasma5.phononBackend = "vlc";
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
}