mirror of
https://github.com/nmasur/dotfiles
synced 2024-12-24 17:44:52 +00:00
put hashed pass in a separate file
This commit is contained in:
parent
41d289c5db
commit
07fec71ba4
1
.gitignore
vendored
1
.gitignore
vendored
@ -6,3 +6,4 @@ result
|
||||
.luarc.json
|
||||
private/**
|
||||
!private/**.age
|
||||
!private/**.sha512
|
||||
|
@ -22,8 +22,7 @@ nixpkgs.lib.nixosSystem {
|
||||
};
|
||||
wallpaper = "${wallpapers}/gruvbox/road.jpg";
|
||||
gtk.theme.name = nixpkgs.lib.mkDefault "Adwaita-dark";
|
||||
passwordHash =
|
||||
"$6$PZYiMGmJIIHAepTM$Wx5EqTQ5GApzXx58nvi8azh16pdxrN6Qrv1wunDlzveOgawitWzcIxuj76X9V868fsPi/NOIEO8yVXqwzS9UF.";
|
||||
passwordHash = nixpkgs.lib.fileContents ../../private/password.sha512;
|
||||
}
|
||||
|
||||
./hardware-configuration.nix
|
||||
|
@ -28,7 +28,6 @@ nixpkgs.lib.nixosSystem {
|
||||
giteaServer = "git.masu.rs";
|
||||
|
||||
# Disable passwords, only use SSH key
|
||||
passwordHash = null;
|
||||
publicKey =
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIB+AbmjGEwITk5CK9y7+Rg27Fokgj9QEjgc9wST6MA3s";
|
||||
|
||||
|
@ -17,8 +17,7 @@ nixpkgs.lib.nixosSystem {
|
||||
identityFile = "/home/${globals.user}/.ssh/id_ed25519";
|
||||
gui.enable = false;
|
||||
colorscheme = (import ../../modules/colorscheme/gruvbox);
|
||||
passwordHash =
|
||||
"$6$PZYiMGmJIIHAepTM$Wx5EqTQ5GApzXx58nvi8azh16pdxrN6Qrv1wunDlzveOgawitWzcIxuj76X9V868fsPi/NOIEO8yVXqwzS9UF.";
|
||||
passwordHash = nixpkgs.lib.fileContents ../../private/password.sha512;
|
||||
wsl = {
|
||||
enable = true;
|
||||
automountPath = "/mnt";
|
||||
|
1
private/password.sha512
Normal file
1
private/password.sha512
Normal file
@ -0,0 +1 @@
|
||||
$6$PZYiMGmJIIHAepTM$Wx5EqTQ5GApzXx58nvi8azh16pdxrN6Qrv1wunDlzveOgawitWzcIxuj76X9V868fsPi/NOIEO8yVXqwzS9UF.
|
Loading…
Reference in New Issue
Block a user