dotfiles/users/stitchynyan/default.nix
2024-07-13 08:00:58 +00:00

61 lines
1.3 KiB
Nix

{ config, pkgs, lib, ... }:
{
imports = [ ../default.nix ];
nixpkgs.config.allowUnfreePredicate = pkg:
builtins.elem ( lib.getName pkg) [
"cudatoolkit"
"nvidia-settings"
"nvidia-x11"
"osu-lazer"
"steam"
"steam-original"
"steam-run"
];
programs = {
firefox.enable = true;
hyprland.enable = true;
openvpn3.enable = true;
steam = {
enable = true;
remotePlay.openFirewall = true;
};
};
security.pam.services.swaylock = {};
services = {
avahi = {
enable = config.stitchyconf.form == "pc";
nssmdns4 = true;
openFirewall = true;
};
blueman.enable = true;
gnome.gnome-keyring.enable = true;
pipewire = {
alsa.enable = true;
enable = true;
pulse.enable = true;
};
printing.enable = true;
usbmuxd.enable = true;
xserver.enable = true;
};
users.users.stitchynyan = {
description = "Personal user";
extraGroups = [ "audio" "dialout" "docker" "kvm" "libvirtd" "networkmanager" "wheel" ];
home = "/home/stitchynyan";
initialHashedPassword = "$y$j9T$rvySCWHYE4AO4A9J0Vf20.$x5hpBNsOWovQFtNfFUIt17OAH5MJFwFBGjxbaEIagJ3";
isNormalUser = true;
shell = pkgs.zsh;
};
i18n.inputMethod = {
enabled = "fcitx5";
fcitx5.addons = [
pkgs.fcitx5-mozc
];
};
}