nixnew/systems/msi/default.nix

48 lines
1 KiB
Nix

{ config, pkgs, ... }: {
imports = [
./hardware.nix
./hyprland
./mcontrolcenter.nix
];
services.timesyncd.enable = true;
services.sshd.enable = true;
system.stateVersion = "23.11";
networking.hostName = "msi";
time.timeZone = "America/Vancouver";
programs.noisetorch.enable = true;
home-manager.users.${config.main-user} = {
home.packages = with pkgs; [
osu-lazer-bin
];
services.blueman-applet.enable = true;
};
networking = {
firewall.allowedTCPPorts = [
40921 # bittorrent
49775 # slsk
];
#nat.externalInterface = [ "wlp4s0" ];
};
users.users.${config.main-user}.extraGroups = [ "docker" ];
virtualisation.docker.enable = true;
boot.extraModulePackages = with config.boot.kernelPackages; [
v4l2loopback
];
boot.extraModprobeConfig = ''
options v4l2loopback devices=1 video_nr=1 card_label="OBS Cam" exclusive_caps=1
'';
boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
hardware.bluetooth.enable = true;
services.blueman.enable = true;
}