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,
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;

View file

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