mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-09 23:22:57 +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
|
.luarc.json
|
||||||
private/**
|
private/**
|
||||||
!private/**.age
|
!private/**.age
|
||||||
|
!private/**.sha512
|
||||||
|
@ -22,8 +22,7 @@ nixpkgs.lib.nixosSystem {
|
|||||||
};
|
};
|
||||||
wallpaper = "${wallpapers}/gruvbox/road.jpg";
|
wallpaper = "${wallpapers}/gruvbox/road.jpg";
|
||||||
gtk.theme.name = nixpkgs.lib.mkDefault "Adwaita-dark";
|
gtk.theme.name = nixpkgs.lib.mkDefault "Adwaita-dark";
|
||||||
passwordHash =
|
passwordHash = nixpkgs.lib.fileContents ../../private/password.sha512;
|
||||||
"$6$PZYiMGmJIIHAepTM$Wx5EqTQ5GApzXx58nvi8azh16pdxrN6Qrv1wunDlzveOgawitWzcIxuj76X9V868fsPi/NOIEO8yVXqwzS9UF.";
|
|
||||||
}
|
}
|
||||||
|
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
|
@ -28,7 +28,6 @@ nixpkgs.lib.nixosSystem {
|
|||||||
giteaServer = "git.masu.rs";
|
giteaServer = "git.masu.rs";
|
||||||
|
|
||||||
# Disable passwords, only use SSH key
|
# Disable passwords, only use SSH key
|
||||||
passwordHash = null;
|
|
||||||
publicKey =
|
publicKey =
|
||||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIB+AbmjGEwITk5CK9y7+Rg27Fokgj9QEjgc9wST6MA3s";
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIB+AbmjGEwITk5CK9y7+Rg27Fokgj9QEjgc9wST6MA3s";
|
||||||
|
|
||||||
|
@ -17,8 +17,7 @@ nixpkgs.lib.nixosSystem {
|
|||||||
identityFile = "/home/${globals.user}/.ssh/id_ed25519";
|
identityFile = "/home/${globals.user}/.ssh/id_ed25519";
|
||||||
gui.enable = false;
|
gui.enable = false;
|
||||||
colorscheme = (import ../../modules/colorscheme/gruvbox);
|
colorscheme = (import ../../modules/colorscheme/gruvbox);
|
||||||
passwordHash =
|
passwordHash = nixpkgs.lib.fileContents ../../private/password.sha512;
|
||||||
"$6$PZYiMGmJIIHAepTM$Wx5EqTQ5GApzXx58nvi8azh16pdxrN6Qrv1wunDlzveOgawitWzcIxuj76X9V868fsPi/NOIEO8yVXqwzS9UF.";
|
|
||||||
wsl = {
|
wsl = {
|
||||||
enable = true;
|
enable = true;
|
||||||
automountPath = "/mnt";
|
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