diff options
Diffstat (limited to 'nix')
-rw-r--r-- | nix/hosts/pi1/default.nix | 14 |
1 files changed, 11 insertions, 3 deletions
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 '<nixpkgs/nixos>' -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" ]; }; }; |