Skip to content
This repository has been archived by the owner on Feb 15, 2024. It is now read-only.

Hello, I meet this case, i don't have file Laptop #50

Open
Dandeptraibodoiwa opened this issue Jan 21, 2024 · 0 comments
Open

Hello, I meet this case, i don't have file Laptop #50

Dandeptraibodoiwa opened this issue Jan 21, 2024 · 0 comments

Comments

@Dandeptraibodoiwa
Copy link

i don't have file laptop in this case
" cp /mnt/etc/nixos/hardware-configuration.nix /mnt/etc/nixos/Flakes/hosts/laptop/hardware-configuration.nix "
i have been create file laptop and " cp /mnt/etc/nixos/hardware-configuration.nix to laptop "

I'm quite confused when using this command and did it like this
_**{ inputs
, sharedModules
, homeImports
, user
, ...
}: {
flake.nixosConfigurations =
let
inherit (inputs.nixpkgs.lib) nixosSystem;
in
{
k-on = nixosSystem {
specialArgs = { inherit user; };
modules =
[
./k-on
../modules/lanzaboote.nix
# ../modules/impermanence.nix
../modules/desktop.nix
../modules/fonts.nix
../modules/virtualisation
{ home-manager.users.${user}.imports = homeImports."${user}@K-ON"; }
]
++ sharedModules;
};
minimal = nixosSystem {
specialArgs = { inherit user; };
modules =
[
./minimal
../modules/impermanence.nix
../modules/systemdboot.nix
../modules/impermanence.nix

      ] ++ sharedModules;
  };

#};
}**_

i have access into this file
"8. Username modification: edit /mnt/etc/nixos/Flakes/flake.nix to modify user variable, hostname modification: edit /mnt/etc/nixos/Flakes/hosts/system.nix to modify* The hostName value in the networking property group"
"9. Use the hash password generated by the mkpasswd {PASSWORD} -m sha-512 command to replace the value of users.users..hashedPassword in /mnt/etc/nixos/Flakes/hosts/laptop/wayland/default.nix ( there is two place needs to be displace ) "

but it empty, should i skip this step.

I have been install " nixos-install --no-root-passwd --flake .#laptop " then reboot but It is still a minimal console and and requires login. I don't know what to enter into it.

Can i install it after installing nixos minial ?
Sorry if I bother you. Looking forward to your and everyone's help.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant