From c135343f4141ca14d393a6aa98912852fcf53f67 Mon Sep 17 00:00:00 2001 From: Emile Date: Sun, 21 Jul 2024 17:57:38 +0200 Subject: (pi1): build instructions --- nix/hosts/pi1/default.nix | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'nix') diff --git a/nix/hosts/pi1/default.nix b/nix/hosts/pi1/default.nix index 248b0b8..c79cfc7 100644 --- a/nix/hosts/pi1/default.nix +++ b/nix/hosts/pi1/default.nix @@ -1,6 +1,14 @@ # build the sd image for the pi using # ; nix-build '' -A config.system.build.sdImage -I nixos-config='./default.nix' +# after booting +# ; nix-channel --list +# ; nix-channel --remove nixos +# ; nix-channel --add https://channels.nixos.org/nixos-unstable nixos +# ; nix-channel --update nixos +# (this takes quite some time) +# ; nixos-rebuild switch + { lib, ... }: { @@ -9,10 +17,10 @@ ]; users.users = { - root = { + emile = { isNormalUser = true; - home = "/root"; - hashedPassword = "$y$j9T$gs6PF0Ts247/grRimfCP3.$eKq2l72lLeOrVkCSn.jf1niItuBowtf.QYaLbIHX/C0"; + hashedPassword = "$y$j9T$gKt6Iovrn.SAkMxnTCqqV1$55.sKRrjWTbe7Z6Xi17G0e3G7GbAGc65YXtX9zD5AR3"; + extraGroups = [ "wheel" ]; }; }; -- cgit 1.4.1