nixos-config/configs/sterni/configuration.nix

84 lines
1.6 KiB
Nix
Raw Normal View History

2019-12-20 05:54:26 +01:00
{ config, pkgs, lib, ... }: {
2019-10-24 02:20:38 +02:00
imports = [
<system/desktop>
./hardware-configuration.nix
./packages.nix
./syncthing.nix
./tinc.nix
#./wifi-access-point.nix
2020-01-04 05:57:37 +01:00
#./wireshark.nix
2019-10-24 02:20:38 +02:00
];
2019-12-20 05:54:26 +01:00
networking.hostName = "sterni";
2019-10-24 02:20:38 +02:00
2019-12-20 05:54:26 +01:00
system.custom.wifi.interfaces = [ "wlp3s0" ];
2019-10-24 02:20:38 +02:00
security.wrappers = {
2019-12-20 05:54:26 +01:00
pmount.source = "${pkgs.pmount}/bin/pmount";
pumount.source = "${pkgs.pmount}/bin/pumount";
2019-10-24 02:20:38 +02:00
};
# keybase
2019-12-12 06:04:31 +01:00
services.keybase.enable = false;
services.kbfs.enable = false;
2019-10-24 02:20:38 +02:00
2021-05-26 19:20:08 +02:00
programs.custom.steam.enable = true;
2019-10-24 02:20:38 +02:00
programs.custom.video.enable = false;
services.printing.enable = true;
# fonts
# -----
2019-12-20 05:54:26 +01:00
programs.custom.urxvt.fontSize = 12;
programs.custom.xterm.fontSize = 12;
2019-10-24 02:20:38 +02:00
system.custom.fonts.dpi = 100;
virtualisation = {
docker.enable = false;
virtualbox = {
2019-12-20 05:54:26 +01:00
host.enable = false;
guest.x11 = false;
2019-10-24 02:20:38 +02:00
guest.enable = false;
};
};
configuration.desktop = {
width = 1366;
height = 768;
};
2019-12-02 23:56:29 +01:00
custom.samba-share = {
2019-10-24 02:20:38 +02:00
enable = false;
2019-12-02 23:56:29 +01:00
folders = {
2019-12-15 09:21:51 +01:00
#public = "/home/palo/movies";
share = "/home/share";
2019-12-17 00:44:32 +01:00
#syncthing = "/mnt/syncthing";
2019-12-15 09:21:51 +01:00
#movies = "/mnt/syncthing/movies";
#series = "/mnt/syncthing/series";
2019-12-02 23:56:29 +01:00
};
2019-10-24 02:20:38 +02:00
};
2019-12-03 03:30:33 +01:00
# enable this to use sidequest
programs.adb.enable = true;
2020-12-30 01:18:37 +01:00
users.users.mainUser.extraGroups = [ "adbusers" "video" ];
# for congress and streaming
hardware.opengl = {
enable = true;
2021-05-15 11:27:34 +02:00
extraPackages = [ pkgs.vaapiIntel ];
2021-03-10 19:27:43 +01:00
driSupport = true;
2020-12-30 01:18:37 +01:00
driSupport32Bit = true;
};
nixpkgs.config.packageOverrides = pkgs: {
vaapiIntel = pkgs.vaapiIntel.override { enableHybridCodec = true; };
};
2019-12-03 03:30:33 +01:00
2019-10-24 02:20:38 +02:00
}