mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 07:53:55 -05:00
Aly Raffauf
5d86d8d8ed
Some checks are pending
git-mirror / gitlab-sync (push) Waiting to run
nix-build / default-build (push) Waiting to run
nix-build / fallarbor-build (push) Waiting to run
nix-build / lavaridge-build (push) Waiting to run
nix-build / mauville-build (push) Waiting to run
nix-build / pacifidlog-build (push) Waiting to run
nix-build / petalburg-build (push) Waiting to run
nix-build / rustboro-build (push) Waiting to run
nix-build / slateport-build (push) Waiting to run
nix-check / fmt-check (push) Waiting to run
nix-check / eval-check (push) Waiting to run
* userModules: drop brawly and wallace * nix fmt * syncthing: add norman
35 lines
862 B
Nix
35 lines
862 B
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}: {
|
|
imports = [./syncthing.nix];
|
|
|
|
config = lib.mkIf config.ar.users.aly.enable {
|
|
users.users.aly = {
|
|
description = "Aly Raffauf";
|
|
extraGroups = config.ar.users.defaultGroups;
|
|
hashedPassword = config.ar.users.aly.password;
|
|
isNormalUser = true;
|
|
|
|
openssh.authorizedKeys = {
|
|
keys = [
|
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGcJBb7+ZxkDdk06A0csNsbgT9kARUN185M8k3Lq7E/d u0_a336@localhost" # termux on winona
|
|
];
|
|
|
|
keyFiles = [
|
|
../../secrets/publicKeys/aly_lavaridge.pub
|
|
../../secrets/publicKeys/aly_mauville.pub
|
|
../../secrets/publicKeys/aly_mossdeep.pub
|
|
../../secrets/publicKeys/aly_petalburg.pub
|
|
../../secrets/publicKeys/aly_rustboro.pub
|
|
];
|
|
};
|
|
|
|
shell = pkgs.zsh;
|
|
uid = 1000;
|
|
};
|
|
};
|
|
}
|