summary refs log tree commit diff
path: root/profiles
diff options
context:
space:
mode:
authortzlil <tzlils@protonmail.com>2023-02-04 14:09:03 +0200
committertzlil <tzlils@protonmail.com>2023-02-04 14:09:03 +0200
commit100d37bbf51545fd8c258059e3c947d9ce51fd60 (patch)
treed85ec25a71666002be1b02066efbc16c0c0e7177 /profiles
parentd9317de584c66b068a336889aa9adc3ac3837e5e (diff)
changed password age to hash, add disko configuration for use with nixos-anywhere
Diffstat (limited to 'profiles')
-rw-r--r--profiles/gentoo.nix2
-rw-r--r--profiles/user.nix3
2 files changed, 3 insertions, 2 deletions
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"
       ];