dotfiles/users/stitchynyan/default.nix

55 lines
1.2 KiB
Nix
Raw Normal View History

2024-02-01 20:25:35 -08:00
{ config, pkgs, lib, ... }:
{
imports = [ ../default.nix ];
2024-02-01 20:25:35 -08:00
nixpkgs.config.allowUnfreePredicate = pkg:
builtins.elem ( lib.getName pkg) [
"osu-lazer"
2024-02-25 20:52:05 -08:00
"steam"
"steam-original"
2024-02-29 16:07:01 -08:00
"steam-run"
"nvidia-x11"
"nvidia-settings"
"cudatoolkit"
2024-02-01 20:25:35 -08:00
];
programs = {
firefox.enable = true;
hyprland.enable = true;
openvpn3.enable = true;
steam = {
enable = true;
remotePlay.openFirewall = true;
};
};
services = {
avahi = {
2024-04-19 14:09:00 -07:00
enable = config.stitchyconf.form == "pc";
nssmdns4 = true;
openFirewall = true;
};
blueman.enable = true;
gnome.gnome-keyring.enable = true;
pipewire = {
enable = true;
pulse.enable = true;
alsa.enable = true;
};
printing.enable = true;
usbmuxd.enable = true;
xserver.enable = true;
};
security.pam.services.swaylock = {};
2024-02-01 20:25:35 -08:00
users.users.stitchynyan = {
isNormalUser = true;
shell = pkgs.zsh;
home = "/home/stitchynyan";
description = "Personal user";
2024-04-19 14:09:00 -07:00
extraGroups = [ "wheel" "networkmanager" "kvm" "libvirtd" "audio" "dialout" ];
2024-02-01 20:25:35 -08:00
initialHashedPassword = "$y$j9T$rvySCWHYE4AO4A9J0Vf20.$x5hpBNsOWovQFtNfFUIt17OAH5MJFwFBGjxbaEIagJ3";
};
}