From 369336f9245b2b1a679242f9d55b09b40cc17530 Mon Sep 17 00:00:00 2001 From: buffet Date: Sat, 13 Aug 2022 16:06:03 +0000 Subject: [PATCH] Set password, add todos --- fanya.nix | 8 ++++++-- impermanence.nix | 3 +++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/fanya.nix b/fanya.nix index 6227793..804923b 100644 --- a/fanya.nix +++ b/fanya.nix @@ -2,7 +2,9 @@ pkgs, home-manager, ... -}: { +}: let + password = "$6$FHwMlUwmRdAsPqS4$4XND0L0EEVf2Mhc/tvo6y3ZLIrMTOlsIZrG3w69EeXvtVZhdeNyoDOkPNIe.GBB8.PrchuUKDacqbvcvyuPkt0"; +in { imports = [ home-manager.nixosModule ./impermanence.nix @@ -61,9 +63,11 @@ "sway" "wheel" ]; - initialPassword = "foo"; + hashedPassword = password; }; + users.users.root.hashedPassword = password; + # TODO: borgbackup hardware.bluetooth.enable = true; virtualisation.libvirtd.enable = true; diff --git a/impermanence.nix b/impermanence.nix index 0e71fcc..668e3c9 100644 --- a/impermanence.nix +++ b/impermanence.nix @@ -8,6 +8,9 @@ "${impermanence}/nixos.nix" ]; + # TODO: chromium persistent + # TODO: brightness persistent + environment.persistence."/persist/system" = { directories = [ "/etc/NetworkManager/system-connections"