dotfiles/users/stitchynyan/default.nix

56 lines
1.3 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;
2024-04-06 20:04:05 -07:00
hyprland.enable = config.stitchyconf.form == "pc";
openvpn3.enable = config.stitchyconf.form == "pc";
steam = {
enable = config.stitchyconf.form == "pc";
remotePlay.openFirewall = true;
};
};
services = {
avahi = {
enable = false;
nssmdns4 = true;
openFirewall = true;
};
blueman.enable = true;
gnome.gnome-keyring.enable = lib.mkIf( config.stitchyconf.form == "pc") true;
pipewire = {
enable = true;
alsa.enable = true;
2024-04-06 22:30:28 -07:00
jack.enable = true;
pulse.enable = true;
};
2024-04-06 18:43:19 -07:00
printing.enable = false;
usbmuxd.enable = false;
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-03-13 18:46:44 -07:00
extraGroups = [ "wheel" "networkmanager" "kvm" "libvirtd" "audio" ];
2024-02-01 20:25:35 -08:00
initialHashedPassword = "$y$j9T$rvySCWHYE4AO4A9J0Vf20.$x5hpBNsOWovQFtNfFUIt17OAH5MJFwFBGjxbaEIagJ3";
};
}