tami-nix-infra/hosts/tami-mac/configuration.nix
2023-05-15 23:44:59 +03:00

66 lines
1.5 KiB
Nix

{ pkgs, ... }:
{
networking = {
hostName = "tami-mac";
networkmanager.enable = true;
};
time.timeZone = "Asia/Jerusalem";
services.pipewire = {
enable = true;
pulse.enable = true;
alsa.enable = true;
alsa.support32Bit = true;
};
hardware.pulseaudio.enable = false;
sound.enable = false;
system.stateVersion = "23.05";
programs.vim.defaultEditor = true;
users = {
mutableUsers = false;
users."tami" = {
isNormalUser = true;
hashedPassword = "$y$j9T$BUWA7o2/xFFY6g/B9somr1$rveo/ttShW7jd835kf2pE9vAfDIXj/Hii3B5c9GyCjA";
openssh.authorizedKeys.keys = [
# Kranzes/Ilan
"sk-ssh-ed25519@openssh.com AAAAGnNrLXNzaC1lZDI1NTE5QG9wZW5zc2guY29tAAAAIBF2qWuvMCuJMlc6+ehyU0V/asmfAlT5/GLhUQqbpQ/bAAAABHNzaDo="
"sk-ssh-ed25519@openssh.com AAAAGnNrLXNzaC1lZDI1NTE5QG9wZW5zc2guY29tAAAAIEVpaQ0K0Fzz0Hu48pqKiI25lr9ASwXR1yzYbeErBX/2AAAABHNzaDo="
];
extraGroups = [ "wheel" "networkmanager" ];
uid = 1000;
packages = with pkgs; [
firefox
git
wget
];
};
};
services.xserver = {
enable = true;
desktopManager.plasma5.enable = true;
displayManager = {
defaultSession = "plasmawayland";
lightdm.enable = true;
autoLogin.user = "tami";
};
};
programs.dconf.enable = true;
programs.xwayland.enable = true;
hardware.opengl = {
enable = true;
driSupport = true;
driSupport32Bit = true;
};
programs.adb.enable = true;
}