Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions common/pam_u2f.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,7 @@
appId = "pam://bureautix-exemple";
origin = "pam://bureautix-exemple";
};

# Accounts authenticate with their FIDO2 key, none of them has a password.
users.allowNoPasswordLogin = true;
}
4 changes: 2 additions & 2 deletions common/superadmins.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
keys = [ ];
};

# password is `nixos`
users.users.root.hashedPassword = "$y$j9T$1aoCSeVE6c0STJ0MLSVjK/$jNxZFMVj..HMf5/l14b6I4VufioAr/cNp29ea1S4C4D";
# root has no password, remote access goes through the SSH keys above.
users.users.root.hashedPassword = "!";
}
4 changes: 2 additions & 2 deletions inventory/users/abelard.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
securix.self.user = {
email = "abelard@example.com";
username = "abelard";
# password is `test`
hashedPassword = "$y$j9T$zk4xGLyshz7RzqnMX6M8O0$AybRelILMkQSWcQZV4s.ykRNi/UlgaCUaDwdee0n7N2";
# Generated with pamu2fcfg --appid pam://bureautix-exemple --origin pam://bureautix-exemple --nouser
u2f_keys = [ ];
defaultLoginShell = pkgs.zsh;
};
}
4 changes: 2 additions & 2 deletions inventory/users/alice.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
securix.self.user = {
email = "alice@example.com";
username = "alice";
# password is `test`
hashedPassword = "$y$j9T$zk4xGLyshz7RzqnMX6M8O0$AybRelILMkQSWcQZV4s.ykRNi/UlgaCUaDwdee0n7N2";
# Generated with pamu2fcfg --appid pam://bureautix-exemple --origin pam://bureautix-exemple --nouser
u2f_keys = [ ];
defaultLoginShell = pkgs.zsh;
};
}
4 changes: 2 additions & 2 deletions inventory/users/bob.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
securix.self.user = {
email = "bob@example.com";
username = "bob";
# password is `test`
hashedPassword = "$y$j9T$zk4xGLyshz7RzqnMX6M8O0$AybRelILMkQSWcQZV4s.ykRNi/UlgaCUaDwdee0n7N2";
# Generated with pamu2fcfg --appid pam://bureautix-exemple --origin pam://bureautix-exemple --nouser
u2f_keys = [ ];
defaultLoginShell = pkgs.zsh;
};
}
4 changes: 2 additions & 2 deletions inventory/users/heloise.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
securix.self.user = {
email = "heloise@example.com";
username = "heloise";
# password is `test`
hashedPassword = "$y$j9T$zk4xGLyshz7RzqnMX6M8O0$AybRelILMkQSWcQZV4s.ykRNi/UlgaCUaDwdee0n7N2";
# Generated with pamu2fcfg --appid pam://bureautix-exemple --origin pam://bureautix-exemple --nouser
u2f_keys = [ ];
defaultLoginShell = pkgs.zsh;
};
}