From 100d37bbf51545fd8c258059e3c947d9ce51fd60 Mon Sep 17 00:00:00 2001 From: tzlil Date: Sat, 4 Feb 2023 14:09:03 +0200 Subject: changed password age to hash, add disko configuration for use with nixos-anywhere --- profiles/gentoo.nix | 2 +- profiles/user.nix | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'profiles') diff --git a/profiles/gentoo.nix b/profiles/gentoo.nix index 67f7e78..6747ba6 100644 --- a/profiles/gentoo.nix +++ b/profiles/gentoo.nix @@ -3,7 +3,7 @@ { imports = []; config = { - nativeStdenv = prev.stdenvAdapters.withCFlags [ "-O3" "-pipe" "-mcpu=apple-m1" ] + nativeStdenv = prev.stdenvAdapters.withCFlags [ "-O3" "-pipe" "-march=native" ] (prev.overrideCC prev.llvmPackages_latest.stdenv (prev.wrapCCWith rec { cc = prev.llvmPackages_latest.clang-unwrapped; diff --git a/profiles/user.nix b/profiles/user.nix index 6aa8262..514d303 100644 --- a/profiles/user.nix +++ b/profiles/user.nix @@ -25,7 +25,8 @@ extraGroups = ["wheel"]; packages = [pkgs.git]; shell = pkgs.fish; - passwordFile = config.age.secrets.password.path; + hashedPassword = "$6$FAQYKz3OCtRNOP7h$XsApvP.r./Jv5MRI1idDI9BMnA26xxEvXFlE61Zls.QA3EK2x76XsetdpxSlgViylnRwRuq5XQMc3GeAJ7tum1"; + # passwordFile = config.age.secrets.password.path; openssh.authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMDyzrs9sbstv3KFK5FV8qYlSknnEy8Cn+qch4dJLmHA" ]; -- cgit 1.4.1