33 lines
705 B
Nix
33 lines
705 B
Nix
|
{ 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;
|
||
|
};
|
||
|
};
|
||
|
}
|