use niv and add device elias-e525
This commit is contained in:
parent
8fd7ece12c
commit
2e74a2172c
22 changed files with 572 additions and 20 deletions
16
nix/os/devices/elias-e525/user.nix
Normal file
16
nix/os/devices/elias-e525/user.nix
Normal file
|
@ -0,0 +1,16 @@
|
|||
{ config
|
||||
, pkgs
|
||||
, ... }:
|
||||
|
||||
let
|
||||
passwords = import ../../../variables/passwords.crypt.nix;
|
||||
keys = import ../../../variables/keys.nix;
|
||||
inherit (import ../../lib/default.nix { }) mkUser;
|
||||
|
||||
in {
|
||||
users.extraUsers.elias = mkUser {
|
||||
uid = 1001;
|
||||
openssh.authorizedKeys.keys = keys.users.steveej.openssh;
|
||||
hashedPassword = passwords.users.elias;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue