Set password, add todos

This commit is contained in:
buffet 2022-08-13 16:06:03 +00:00
parent eff35bea4c
commit 369336f924
2 changed files with 9 additions and 2 deletions

View file

@ -2,7 +2,9 @@
pkgs, pkgs,
home-manager, home-manager,
... ...
}: { }: let
password = "$6$FHwMlUwmRdAsPqS4$4XND0L0EEVf2Mhc/tvo6y3ZLIrMTOlsIZrG3w69EeXvtVZhdeNyoDOkPNIe.GBB8.PrchuUKDacqbvcvyuPkt0";
in {
imports = [ imports = [
home-manager.nixosModule home-manager.nixosModule
./impermanence.nix ./impermanence.nix
@ -61,9 +63,11 @@
"sway" "sway"
"wheel" "wheel"
]; ];
initialPassword = "foo"; hashedPassword = password;
}; };
users.users.root.hashedPassword = password;
# TODO: borgbackup # TODO: borgbackup
hardware.bluetooth.enable = true; hardware.bluetooth.enable = true;
virtualisation.libvirtd.enable = true; virtualisation.libvirtd.enable = true;

View file

@ -8,6 +8,9 @@
"${impermanence}/nixos.nix" "${impermanence}/nixos.nix"
]; ];
# TODO: chromium persistent
# TODO: brightness persistent
environment.persistence."/persist/system" = { environment.persistence."/persist/system" = {
directories = [ directories = [
"/etc/NetworkManager/system-connections" "/etc/NetworkManager/system-connections"