diff options
author | Emile <git@emile.space> | 2024-07-21 17:57:38 +0200 |
---|---|---|
committer | Emile <git@emile.space> | 2024-07-21 17:57:38 +0200 |
commit | c135343f4141ca14d393a6aa98912852fcf53f67 (patch) | |
tree | f226481e5d840acd7e13f6ba75302508e0b2d2b6 /nix/hosts | |
parent | 7818ec8da2550fdd33feb0996961e31b3b276ece (diff) |
(pi1): build instructions
Diffstat (limited to 'nix/hosts')
-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" ]; }; }; |