grimm-nixos-laptop/modules/users.nix

60 lines
1.2 KiB
Nix

{lib, config, pkgs, ...}: {
users.users.grimmauld = {
isNormalUser = true;
shell = pkgs.xonsh;
description = "grimmauld";
extraGroups = [ "networkmanager" "wheel" "input" "video" "lp" "scanner" "libvirtd" "pipewire" ];
packages = with pkgs; [
webcord
discord
heroic
plasma-browser-integration
pdfarranger
kwrited
hyfetch
gparted
element-desktop
nmap
ghidra
# firefox
kcalc
rmview
krita
kicad
spicetify-cli
prusa-slicer
freecad
openscad
prismlauncher
# blender
wootility
# (callPackage ./theseus-modrinth.nix {})
# osu-lazer-bin
(pkgs.symlinkJoin {
name = "osu";
paths = [
(pkgs.writeShellScriptBin "osu!" ''
exec nice -n -19 gamemoderun primerun ${pkgs.osu-lazer-bin}/bin/'osu!'
'')
pkgs.osu-lazer-bin
];
})
];
};
environment.systemPackages = with pkgs; [ pinentry-qt ];
programs.firefox = {
enable = true;
nativeMessagingHosts.packages = with pkgs; [ passff-host ];
};
programs.steam = {
enable = true;
gamescopeSession.enable = true;
gamescopeSession.env = { DRI_PRIME = "1"; };
};
services.udev.packages = [ pkgs.wooting-udev-rules ];
}