dotfiles/users/stitchynyan/default.nix

78 lines
1.7 KiB
Nix
Raw Permalink 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) [
2024-05-04 04:50:48 -07:00
"cudatoolkit"
"nvidia-settings"
"nvidia-x11"
2024-02-01 20:25:35 -08:00
"osu-lazer"
2024-11-03 04:23:54 -08:00
"quartus-prime-lite"
"quartus-prime-lite-unwrapped"
2024-02-25 20:52:05 -08:00
"steam"
"steam-original"
2024-02-29 16:07:01 -08:00
"steam-run"
2024-11-03 04:23:54 -08:00
"steam-unwrapped"
2024-02-01 20:25:35 -08:00
];
2024-11-01 11:47:35 -07:00
nixpkgs.config.permittedInsecurePackages = [
"olm-3.2.16"
];
2024-02-01 20:25:35 -08:00
2024-08-01 02:44:24 -07:00
hardware = {
opentabletdriver.enable = true;
};
programs = {
firefox.enable = true;
hyprland.enable = true;
2024-11-03 04:23:54 -08:00
kdeconnect.enable = true;
steam = {
enable = true;
remotePlay.openFirewall = true;
};
2024-11-03 04:23:54 -08:00
wireshark.enable = true;
};
2024-05-04 04:50:48 -07:00
security.pam.services.swaylock = {};
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 = {
2024-05-04 04:50:48 -07:00
alsa.enable = true;
enable = true;
pulse.enable = true;
};
printing.enable = true;
usbmuxd.enable = true;
xserver.enable = true;
};
2024-02-01 20:25:35 -08:00
users.users.stitchynyan = {
description = "Personal user";
2024-11-01 11:47:35 -07:00
extraGroups = [ "audio" "dialout" "docker" "kvm" "libvirtd" "networkmanager" "wireshark" "wheel" ];
2024-05-04 04:50:48 -07:00
home = "/home/stitchynyan";
2024-02-01 20:25:35 -08:00
initialHashedPassword = "$y$j9T$rvySCWHYE4AO4A9J0Vf20.$x5hpBNsOWovQFtNfFUIt17OAH5MJFwFBGjxbaEIagJ3";
2024-05-04 04:50:48 -07:00
isNormalUser = true;
shell = pkgs.zsh;
2024-02-01 20:25:35 -08:00
};
2024-07-13 00:52:09 -07:00
2024-11-01 11:47:35 -07:00
i18n = {
defaultLocale = "ja_JP.UTF-8";
inputMethod = {
enable = true;
type = "fcitx5";
fcitx5.addons = with pkgs; [
fcitx5-mozc
fcitx5-nord
];
};
2024-07-13 00:52:09 -07:00
};
2024-02-01 20:25:35 -08:00
}