misc general changes / nixpkgs break fixes

This commit is contained in:
outfoxxed 2025-01-06 00:39:41 -08:00
parent 4b90113a54
commit a5b19fc918
Signed by: outfoxxed
GPG key ID: 4C88A185FB89301E
15 changed files with 272 additions and 67 deletions

View file

@ -1,12 +1,48 @@
{ pkgs, ... }: {
{ config, pkgs, ... }: {
imports = [
./hardware.nix
./mullvad.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;
}