38 lines
562 B
Nix
38 lines
562 B
Nix
|
{ pkgs, user, ... }:
|
||
|
|
||
|
let
|
||
|
user = "price";
|
||
|
in
|
||
|
{
|
||
|
programs = {
|
||
|
zsh.enable = true;
|
||
|
};
|
||
|
|
||
|
nixpkgs.config.allowUnfree = true;
|
||
|
|
||
|
users.users = {
|
||
|
root.initialPassword = "pass";
|
||
|
"${user}" = {
|
||
|
initialPassword = "pass";
|
||
|
shell = pkgs.zsh;
|
||
|
isNormalUser = true;
|
||
|
description = "${user}";
|
||
|
extraGroups = [
|
||
|
"wheel"
|
||
|
"docker"
|
||
|
"nix-users"
|
||
|
"libvirt"
|
||
|
"log"
|
||
|
];
|
||
|
};
|
||
|
};
|
||
|
|
||
|
environment.systemPackages = with pkgs; [
|
||
|
ungoogled-chromium
|
||
|
wezterm
|
||
|
yamllint
|
||
|
stylua
|
||
|
eza
|
||
|
];
|
||
|
}
|