ark/users/patriot/default.nix

33 lines
705 B
Nix
Raw Normal View History

2020-11-21 23:54:07 +03:00
{ config, pkgs, ... }: {
imports = [ ./home.nix ];
users.users.patriot = {
isNormalUser = true;
createHome = true;
home = "/home/patriot";
extraGroups = [ "wheel" "adbusers" "dialout" "docker" ];
shell = pkgs.zsh;
hashedPassword =
"$6$spzqhAyJfhHy$iHgLBlhjGn1l8PnbjJdWTn1GPvcjMqYNKUzdCe/7IrX6sHNgETSr/Nfpdmq9FCXLhrAfwHOd/q/8SvfeIeNX4/";
};
xdg.portal = {
enable = true;
gtkUsePortal = true;
extraPortals = with pkgs; [
xdg-desktop-portal
xdg-desktop-portal-gtk
xdg-desktop-portal-wlr
];
};
programs = {
adb.enable = true;
steam.enable = true;
java = {
enable = true;
package = pkgs.jre8;
};
};
}