summaryrefslogtreecommitdiff
path: root/roles/base.nix
blob: 41285791b9aaee65310b073b814c535145941d63 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{ pkgs, ... }:
{
	nixpkgs.config.allowUnfree = true;

  programs.zsh.enable = true;

  users.mutableUsers = false;
  users.users.jras = {
    createHome = true;
    hashedPassword = "$6$TznUKJuLwtXUaxhf$aod7gOgTXq4sTg8IPEX3HkiZgFHWCNUl0qmJUKHYQYQG8cPFjxCfmXREZHUYtQD2/estrbuCjIqoiLQKofdel.";
    isNormalUser = true;
    extraGroups = [ "wheel" ];
    shell = pkgs.zsh;
    packages = with pkgs; [ git helix curl ];
    openssh.authorizedKeys.keys = [
      "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOpAWpymOovrrdaNh43UHNIifi7hyRjtQZl24gqprUT/ jras@tarrel"
      "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDCiljUOLUIywzNfQpAGtIXwleFeLvb7Vk+Gsvzlr9Oq jras@work"
    ];
  };
}