about summary refs log tree commit diff
path: root/nix/users/fcuny/nixos.nix
blob: a6c302f423397fcdc0ab6f184baa8d65ffff02fb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ pkgs, ... }:
{
  # add ~/.local/bin to PATH
  environment.localBinInPath = true;

  # we're using fish as our shell
  programs.fish.enable = true;

  users.users.fcuny = {
    isNormalUser = true;
    home = "/home/fcuny";
    extraGroups = [
      "docker"
      "wheel"
      "podman"
    ];
    shell = pkgs.fish;
    hashedPassword = "$6$U4GoqhuHgdr.h0JP$C/BKslQfOpPJ5lUzrTeQh6i859R/jEKYSF9MaRhWYo5VG6aCDKsvb5xKSifH4nQt6okJixG9ceFh..Mnt93Jt/";
    openssh.authorizedKeys.keys = [
      # key `nixos` in 1password
      "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINBkozy+X96u5ciX766bJ/AyQ3xm1tXZTIr5+4PVFZFi"
    ];
  };
}