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;
|
|
|
|
};
|
|
|
|
};
|
2021-01-17 17:25:54 +03:00
|
|
|
|
|
|
|
/*services = {
|
|
|
|
xserver = {
|
|
|
|
enable = true;
|
|
|
|
desktopManager.plasma5.enable = true;
|
|
|
|
displayManager = {
|
|
|
|
autoLogin = {
|
|
|
|
enable = true;
|
|
|
|
user = "patriot";
|
|
|
|
};
|
|
|
|
sddm.enable = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
environment.systemPackages = [ pkgs.kde-gtk-config ];*/
|
2020-11-21 23:54:07 +03:00
|
|
|
}
|