blob: 4d455ee080e1a86da37d024c2ebca7d9f571242f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
{ config, pkgs, ... }:
let shellAliases = {
l = "lsd -lAh";
la = "lsd -lAh";
ports = "sudo lsof -i -P -n | grep LISTEN";
gco = "git checkout";
gcob = "git checkout -b";
};
in {
programs.fish = {
inherit shellAliases;
enable = true;
};
users = {
users = {
y = {
hashedPassword = "$y$j9T$KLRxiAIFO2yLoalaeSmjg/$ZzEQbGvVmRJ6gESNxNuRchNcx0V01QpCxnJVv5pdk/B";
group = "users";
isNormalUser = true;
extraGroups = [
"systemd-journal"
"wheel"
];
createHome = true;
home = "/home/y";
isSystemUser = false;
shell = pkgs.fish;
openssh.authorizedKeys.keys =
[ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIM+qXhCHNrSZmy4HEXaFn6xAp1w2GzQBMOfVdbR3E81Q cloudboxes" ];
};
};
};
}
|